简体   繁体   中英

Opencart payment gateway development

Can anyone give me the tools or guidelines necessary to create a custom payment gateway? For my school assignment, I've been tasked with developing an opencart (2.3.0.2) payment gateway. I've done some research but I'm completely lost. Any help would be appreciated.

Every payment gateway in OpenCart contains his own model and controller, there are a lot of examples that can be found here and here . You'll need to take a look at this controller as well, it contains the methods to gather payment methods at the checkout.

Take a look at this codes, and table structure when you have questions about specific subjects feel free to ask.

For creating a payment gateway in opencart, you will have to create an extension/module . You can have a look at this tutorial :

Creating Payment method in Opencart

It is a three part series read it once to understand and then you can explore the documentation of opencart to create one.

Every payment gateway provides provides API key to interact with their system regarding the order queries.

Hope it helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM