From ede95969310d28b5fa30d81854fcf8f98f40ebb7 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Wed, 1 Jun 2016 15:51:54 +0200 Subject: [PATCH] disable card payments until we get the final legal stuff sorted --- shop/templates/order_detail.html | 1 - shop/urls.py | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/shop/templates/order_detail.html b/shop/templates/order_detail.html index a9e8811f..403c18e1 100644 --- a/shop/templates/order_detail.html +++ b/shop/templates/order_detail.html @@ -88,7 +88,6 @@ quantities - so make sure your order is correct before proceeding!

- {% bootstrap_button " Credit card" button_type="submit" button_class="btn-primary" name="payment_method" value="credit_card" %} {% bootstrap_button " Blockchain" button_type="submit" button_class="btn-primary" name="payment_method" value="blockchain" %} {% bootstrap_button " Bank transfer" button_type="submit" button_class="btn-primary" name="payment_method" value="bank_transfer" %} diff --git a/shop/urls.py b/shop/urls.py index 8cf8f416..761beea3 100644 --- a/shop/urls.py +++ b/shop/urls.py @@ -10,9 +10,9 @@ urlpatterns = [ url(r'orders/(?P[0-9]+)/$', OrderDetailView.as_view(), name='order_detail'), url(r'orders/(?P[0-9]+)/invoice/$', DownloadInvoiceView.as_view(), name='download_invoice'), - url(r'orders/(?P[0-9]+)/pay/creditcard/$', EpayFormView.as_view(), name='epay_form'), - url(r'orders/(?P[0-9]+)/pay/creditcard/callback/$',EpayCallbackView.as_view(), name='epay_callback'), - url(r'orders/(?P[0-9]+)/pay/creditcard/thanks/$', EpayThanksView.as_view(), name='epay_thanks'), + #url(r'orders/(?P[0-9]+)/pay/creditcard/$', EpayFormView.as_view(), name='epay_form'), + #url(r'orders/(?P[0-9]+)/pay/creditcard/callback/$',EpayCallbackView.as_view(), name='epay_callback'), + #url(r'orders/(?P[0-9]+)/pay/creditcard/thanks/$', EpayThanksView.as_view(), name='epay_thanks'), url(r'orders/(?P[0-9]+)/pay/blockchain/$', CoinifyRedirectView.as_view(), name='coinify_pay'), url(r'orders/(?P[0-9]+)/pay/blockchain/callback/$', CoinifyCallbackView.as_view(), name='coinify_callback'),