Guest Posted July 24, 2003 Posted July 24, 2003 Hi, I am integrating a new bank-specific payment module into oscommerce. So far, it is almost complete, payment works (payment server invoked from checkout_confirmation post) and os commerce does the job in checkout_process (called remotely from the payment server), checkout_process being called with the customer 's session id (session_name=session_id in url get parameters). When the payment is successful, checkout_process redirects to checkout_success, where the payment module is not called at all, only the order is referenced. My problem is that in the case of the specific module we are developping, the payment server needs a response code from oscommerce. I initially put the response code in the after_process() function of my payment class. after_process being called from checkout_process that redirects to checkout_success, it is unfortunately not read by the payment server, and the payment server says : payment ok but the shop site did not record the operation (no success code returned from shop site). How can I make checkout_success return that code (needs to be somewhere in the page), without modifying the standard oscommerce code, I would like to build a standard module that integrates into standard oscommerce ... Obviously I cannot modify the payment server behaviour that displays its own page after the while payment process. thanks, erwan Quote
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.
Note: Your post will require moderator approval before it will be visible.