Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Redirect to oscommerce site from Payment gateway


Recommended Posts



I am using a Hosted Payment Page with oscommerce for online credit card transactions. Thus I redirect customer to the payment gateway server and then the server redirects customer to website. But the problem is that this redirects goes to payment_process.php and the customer id is lost , and so the order still remains pending even though tranaction is valid.


I can't use $this->form_url=$url_payment_gateway as I end with a session token missing error sent from the payment gateway server.

I have used

function before_process(){

code to redirect to payment gateway page.


and left $this->form_url undefined.


I can't figure out where exactly am I going wrong. Any help shall always be aprreciated.


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.

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