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.htmlhttps://gist.github.com/jas02/457950ce2c7a2b1fbd1945c957898a7e
cash_on_delivery/views.pyhttps://gist.github.com/jas02/b9128b236c94285c49bdf3ed726b9339Thanks for any help.
Lumir