diff --git a/shop/epay.py b/shop/epay.py index b5234d28..50be8a8f 100644 --- a/shop/epay.py +++ b/shop/epay.py @@ -11,7 +11,7 @@ def calculate_epay_hash(order, request): amount=order.total*100, order_id=order.pk, accept_url = order.get_epay_accept_url(request), - cancel_url = order.get_epay_cancel_url(request), + cancel_url = order.get_cancel_url(request), md5_secret=settings.EPAY_MD5_SECRET, ) epay_hash = hashlib.md5(hashstring).hexdigest() diff --git a/shop/views.py b/shop/views.py index 4f706684..b5bf4b8b 100644 --- a/shop/views.py +++ b/shop/views.py @@ -332,7 +332,7 @@ class CoinifyRedirectView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureUn description='BornHack 2016 order id #%s' % order.id, callback_url=order.get_coinify_callback_url(request), return_url=order.get_coinify_thanks_url(request), - cancel_url=order.get_coinify_cancel_url(request), + cancel_url=order.get_cancel_url(request), ) # Parse response