Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

2Checkout


Dark_Blu

Recommended Posts

Ok got a response from 2CO. Below is the response.

The reason your Approved URL is not being accessed after a sale is successfully completed is because of the way that you have your return script set up. Direct Return will not work with scripts that perform any kind of immediate redirection. In this case, the script you have for your Approved URL is processing data and then redirecting immediately to another page ( http://mydomain.con/catalog/checkout_success.php ). This would be the reason why you are seeing 2Checkout's Order Confirmation page instead of being taken to your Approved URL. Removing the redirection in your return script will resolve this issue.

 

I also tested the following set as redirect URL.

( http://mydomain.con/catalog/checkout_process.php )

direct return URL = yes (does not redirect ) does not submit info to osc db.

direct return URL = no (works) see 2CO the response from 2CO above is directed to link provided.

 

If I understand all of this correctly the default 2CO module currently provided with osc must be corrected not the checkout_process.php file.

 

If somebody can submit any info that explains this it will be of great value to all 2CO vendors using osc.

Even better would be if somebody could correct this.

 

Thank you to everybody that has contributed thus far and taking time to help others. ;)

 

I'm no php programmer or wiz just a normal user trying to get my shopping cart working without error.

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.

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