From 79cbc4fe5594b05122ec19e6795de18496d2bfa0 Mon Sep 17 00:00:00 2001
From: Thomas Steen Rasmussen
Date: Wed, 9 Nov 2016 23:56:44 +0100
Subject: [PATCH] disable credit card payment for now
---
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 303fb15d..4737fa4d 100644
--- a/shop/templates/order_detail.html
+++ b/shop/templates/order_detail.html
@@ -92,7 +92,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" %}
{% bootstrap_button " Cash" button_type="submit" button_class="btn-primary" name="payment_method" value="cash" %}
diff --git a/shop/urls.py b/shop/urls.py
index ff6e3b88..704cd7ea 100644
--- a/shop/urls.py
+++ b/shop/urls.py
@@ -11,9 +11,9 @@ urlpatterns = [
url(r'orders/(?P[0-9]+)/invoice/$', DownloadInvoiceView.as_view(), name='download_invoice'),
url(r'orders/(?P[0-9]+)/mark_as_paid/$', OrderMarkAsPaidView.as_view(), name='mark_order_as_paid'),
- 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'),