Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Development of own module


Rizado

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?

 

Thanks.

Link to comment
Share on other sites

  • 5 weeks later...

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

 

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

catalog/ext/modules/payment

 

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

Link to comment
Share on other sites

@@Rizado

There are two steps

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

// load the after_process function from the payment modules
  $payment_modules->after_process();

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

:blink:
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...