jeveux Posted June 15, 2010 Posted June 15, 2010 Hi there, I am developing a custom payment module for osCommerce, and now I'm at the final stage of completing the order, returning back to the website in the case of successful transaction. Is there a simple way in OSC to code the clearing of the shopping basket, putting all orders in all proper tables with a certain 'payment_method' value? This is what happens on return from the merchant in the case of successful transaction. I have tried to redirect to checkout_success.php?osCsid=SID_number_here , but it only gives me a "Checkout Successful" page with the possibility to subscribe to some products ("Please notify me of updates to the products...") from the shopping basket. When I click "Continue", nothing happens. Shopping basket still contains the same products, and the "Orders" page doesn't list this order. Of course I could do it manually, following all OSC logics and using functions I have studied so far, but I believe there must be some simple way, because it's such a common case! Thanks in advance. 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.