Post by lukewd » Mon Jul 25, 2016 10:49 pm

Hello,

I work for a payments company and I would like to build a new third party payments extension for OpenCart. Is there a place with documentation on how to get started on this?

thanks,
Luke

Newbie

Posts

Joined
Mon Jul 25, 2016 10:39 pm

Post by straightlight » Mon Jul 25, 2016 10:52 pm

Developing payment modules requires documentation provided by the providers themselves in order for programmers to code the architecture on file. Otherwise, it isn't generically possible to build a payment extension without relying on a specific documentation provided by an online payment service.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by lukewd » Mon Jul 25, 2016 11:15 pm

Thanks @straightlight,

I do have the API integration docs for the payment methods I want to build a payment extension for. But I just need the OpenCart docs to understand how to plug them into Opencart... Any pointers please?

Newbie

Posts

Joined
Mon Jul 25, 2016 10:39 pm

Post by straightlight » Mon Jul 25, 2016 11:22 pm

lukewd wrote:Thanks @straightlight,

I do have the API integration docs for the payment methods I want to build a payment extension for. But I just need the OpenCart docs to understand how to plug them into Opencart... Any pointers please?
No problem, you can always visit the Opencart docs at: http://docs.opencart.com for more information. However, for the payment methods, it would be to create the following files that you can 'save as', under new files from the below directories:

- admin/controller/payment
- admin/language/<your_language>/payment
- admin/view/template/payment

- catalog/controller/payment
- catalog/model/payment
- catalog/language/<your_language>/payment
- catalog/view/theme/<your_theme>/template/payment

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by lukewd » Mon Jul 25, 2016 11:31 pm

Thanks straightlight,

I've looked through the docs you pointed to me several times together and can't find anything useful.

I'm intending to write a new payment extension, such as the ones listed here: http://www.opencart.com/index.php?route ... ion&path=3

In the docs, there is no guide on write a new module.

I can see pages talking about existing payment extensions here: http://docs.opencart.com/extension/payment/
And another page talking about developing modules: http://docs.opencart.com/developer/module/

But there is nothing specify to developing a payment module/extension... Am I missing something?

I'm looking for something in equivalent detail to this: http://docs.whmcs.com/Gateway_Module_Developer_Docs

Newbie

Posts

Joined
Mon Jul 25, 2016 10:39 pm

Post by straightlight » Mon Jul 25, 2016 11:39 pm

lukewd wrote:Thanks straightlight,

I've looked through the docs you pointed to me several times together and can't find anything useful.

I'm intending to write a new payment extension, such as the ones listed here: http://www.opencart.com/index.php?route ... ion&path=3

In the docs, there is no guide on write a new module.

I can see pages talking about existing payment extensions here: http://docs.opencart.com/extension/payment/
And another page talking about developing modules: http://docs.opencart.com/developer/module/

But there is nothing specify to developing a payment module/extension... Am I missing something?

I'm looking for something in equivalent detail to this: http://docs.whmcs.com/Gateway_Module_Developer_Docs
For Opencart v2.x releases, that is correct; there are no official documentation so far out there that explains officially how to do this other than looking into those folders. Only v1.5x releases has multiple steps solutions from Google you could find, at this time, unless a released extension might differ.

That is something you may suggest to provide to the Opencart Team by posting into the Website Suggestions section of the forum. :)

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 5 guests