Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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.

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.

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