I need to make implement a payment module in opencart 126.96.36.199 (latest)
The module works like paypal:
1 the shop send some informations to the provider (client name, email, order_id, transaction_id....)
2 the provider get the infos and resent them to my shop to verify info directly then if all is ok he allow payment process.
3 provider allow 2 payment mod (online and offline):
A- online: the client has already buy credit from provider and use it to pay my stuffs, all things are done at the provider i juste get confirmation of fail, and update the order_status
B- Offline: the client go to the provider site then he get a code (123456) that he present to the coffe shops who sales providers credit, when he present the code the coffe shop enter this code and found my order detail and process payment (like online) If ok i get confirmation or i gat fail and update the order_status
Always in off line before the client goes to the coffe shop he get a code (123456) i get a response that i will show to the clinet his code (123456) and show order status is pending payment.
I have all the provider script and i have allready realize 50% of the work but when i come back to the cart i have no saved order!!!