Payment method not registered

45 views
Skip to first unread message

Lumír Jasiok

unread,
Oct 20, 2016, 5:15:47 PM10/20/16
to django-oscar
Hi,

I am trying to simply add two payment methods into checkout process, cash on delivery and bank transfer.

When I had only one payment method, forked the checkout app and implemented PaymentDetailsView class into checkout/views.py, I could see in the Dashboard record for new order (for example cash-on-delivery). That was fine.

But when I want more than one new payment methods, I had to create two new apps (am I right?) (cash_on_delivery, bank_transfer) and implement PaymentDetailsView into the apps views. Now I can't see any record in Payment tab of Dashboard oder detail. So I don't know which payment method was used. What am I doing wrong, what's missing?

Example implementation of cash_on_delivery/templates/cash_on_delivery/payment_details.html

https://gist.github.com/jas02/f80dea3427d178ee3079c8a857baa606

cash_on_delivery/templates/cash_on_delivery/preview.html


https://gist.github.com/jas02/457950ce2c7a2b1fbd1945c957898a7e

cash_on_delivery/views.py


https://gist.github.com/jas02/b9128b236c94285c49bdf3ed726b9339

Thanks for any help.

Lumir
Reply all
Reply to author
Forward
0 new messages