Open anandology opened 12 years ago
You can start with purchase order module as the base.
Documentation for creating custom payment modules is available at http://www.satchmoproject.com/docs/dev/custom-payment.html.
Since we decided to just change the templates instead of writing a new payment module, copied satchmo templates to kstore
kstore/templates/shop/checkout/purchaseorder/confirm.html - Step 3, confirm html kstore/templates/shop/checkout/success.html - Step 4, Success html
kstore/templates/shop/email/_order_detail_table.html & kstore/templates/shop/email/_order_detail.txt are the templates of email sent after Step 3
how to go about configuration of bank account details, write in a template file or settings ??
2011/12/17 ashok raavi reply@reply.github.com:
Since we decided to just change the templates instead of writing a new payment module, copied satchmo templates to kstore
kstore/templates/shop/checkout/purchaseorder/confirm.html - Step 3, confirm html kstore/templates/shop/checkout/success.html - Step 4, Success html
kstore/templates/shop/email/_order_detail_table.html & kstore/templates/shop/email/_order_detail.txt are the templates of email sent after Step 3
how to go about configuration of bank account details, write in a template file or settings ??
Can you read it from settings.py? Adding it to setting UI is too much now.
reading account details from settings, https://github.com/kottapalli-in/kstore/commit/f8655b7757da77a4a722888a164c19a17fee1630
Create an offline payment module. This will be similar to purchase order module except that it will show the bank account info to the customer after confirming the checkout.
The offline payments module will have the following steps in the checkout.
The email sent out on purchase will be similar to step#3 and will contain bank account details.
The configuration should ask for textarea for bank account details.
If it works well, we can submit this as a plugin to Satchamo project.