django-oscar / django-oscar-docdata

Docdata Payments Gateway integration for django-oscar
Apache License 2.0
22 stars 11 forks source link

skip own payment method view #37

Closed jedie closed 5 years ago

jedie commented 5 years ago

(from #34)

One more question: In the sandbox the payment method is asked in the "checkout wizard" ... It should be possible to move that into the docdata Payment Page, isn't it? How to do this?

You should skip this view then and I think you can ask for the menu without any default pm (then docdata will show the available options):

url = facade.get_payment_menu_url(self.request, docdata_ref)

What's about a settings variable to skip the payment method step?

maerteijn commented 5 years ago

Here you go: https://github.com/django-oscar/django-oscar-docdata/commit/7552af4984ebfe3a403e6839719ff0c2ad27d59c

jedie commented 5 years ago

Great!