Rizado Posted August 18, 2016 Share Posted August 18, 2016 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. Quote Link to comment Share on other sites More sharing options...
BrockleyJohn Posted September 17, 2016 Share Posted September 17, 2016 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. Quote 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 More sharing options...
tgely Posted September 17, 2016 Share Posted September 17, 2016 (edited) @@RizadoThere are two stepsFirst 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 fileIn this file you could recive payment server responses.A lot of payment modules use own logic response handling methods. Edited September 17, 2016 by Gergely Quote 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 More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.