Jump to content

Development of own module

Recommended Posts

Now I need to create my own payment module for linking osCommerce with our own payment server.

Mostly it's ready, but there is a problem. How server must return result of payment?

Is there documentation on the development of payment modules?



Share this post

Link to post
Share on other sites

No general documentation but lots of examples - did you manage ok?


The payment modules that come with osc have the return processing under



Have a look there for inspiration.

Contact me for work on updating existing stores - whether to Phoenix or the new osC when it's released.

Looking for a payment or shipping module? Maybe I've already done it.

Working on generalising bespoke solutions for Quickbooks integration, Easify integration and pay4later (DEKO) integration at 2.3.x

Share this post

Link to post
Share on other sites


There are two steps

First in checkout_process.php (payment module self comunication chanel)

// load the after_process function from the payment modules

Second is a callback link from the payment server. Its mostly should be in  //yourshop/ext/modules/payment/[yourpaymentmodulesdir]/return.php file

In this file you could recive payment server responses.

A lot of payment modules use own logic response handling methods.

Edited by Gergely

osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now