This is to have a payment gateway integration.
- For every failed / cancelled transaction, we have to use a new order ID, just like how standard Opencart does it. For e.g. the current running order ID is 2, I submit an order and have failed payment. I submitted again and was successful. The order ID will be 4 since order ID 3 failed.
- Admin page to have settings:
- Merchant ID, Key or whatever that is required from the documentation
- Payment Mode: Live / Test (dropdown)
- Debug Mode: Enabled / Disabled (dropdown) <Logs additional information to the system log
- Min Total (The checkout total the order must reached before this payment method becomes active)
- Geo Zone (dropdown according to Geo Zone in localization)
- Status: Enabled / Disabled (dropdown)
- Sort Order
- Checkout page (add fields to allow user to key in)
- Card Type
- Name on Card
- Card Number
- Card Expiry
- CVV