use a paymenttype independent order.get_cancel_url everywhere
This commit is contained in:
parent
283f4013a9
commit
a53811b4c1
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue