pass request to the url methods on Order

This commit is contained in:
Thomas Steen Rasmussen 2016-05-29 12:40:36 +02:00
parent 1cbd958327
commit e019b241e8

View file

@ -337,8 +337,8 @@ class CoinifyRedirectView(LoginRequiredMixin, EnsureUserOwnsOrderMixin, EnsureUn
plugin_name='BornHack 2016 webshop',
plugin_version='1.0',
description='BornHack 2016 order id #%s' % order.id,
callback_url=order.get_coinify_callback_url(),
return_url=order.get_coinify_thanks_url(),
callback_url=order.get_coinify_callback_url(request),
return_url=order.get_coinify_thanks_url(request),
)
# Parse response