Can I specify the return URL ‘on the fly’?

Yes, this is possible. You may pass in a parameter called x_receipt_link_url to control where the customer is returned to on a per-sale basis. Keep in mind that this parameter will over-ride any return URL set on the Look and Feel page of your account, but it will not over-ride any return URLs that are set up on the product itself if there are any. Using this method, you could create a special button or link that would return the customer to a different page on your site than is set up on the Look and Feel page. This is useful for ‘promotional’ type sites as you can avoid having to make any configuration changes to your actual account.

If you are using buttons on your site to sell your goods through 2Checkout, you would add a single line to the button such as this:

<input type=”hidden” name=”x_receipt_link_url” value=”http://www.your-site.com/return.php”>

This must go between the opening and closing FORM tag that you see when you view your existing code.

If you are using links to sell your goods through 2Checkout, then you would add this parameter to your links to specify the return url, such as this:

&x_receipt_link_url=http://www.your-site.com/return.php

Notice that in both of the above examples, the FULL path is used for the value of this.

Important Note: For security reasons, the domain on your account and the domain that hosts the pass back page must match exactly for this to work correctly. For example, if you have http://www.your-site.com specified on your account, you could pass back to http://www.your-site.com/pages/pass.php but not to http://www.your-other-site.com/pages/pass.php.

Why do I get an HTTP Error 404 (File Not Found) on Passback?

An HTTP 404 File Not Found error indicates that the URL specified as for your script is incorrect. For the pass back to function, 2CO must be able to locate and access the script and post the variables to it.

HTTP errors are not generated specifically by 2Checkout. They are a part of the HTTP protocol and are common amongst all web servers. It is therefore beyond the realm of 2Checkouts support to provide you with specific instructions for making these changes as every server is set up differently and 2CO does not provide server administration services as part of our support plan.

To correct this issue, follow these steps:

  1. Login to your account.
  2. Under the ‘Helpful Links’ section, click on ‘Settings’ near the ‘Look and
    Feel’ section.
  3. Check the URL that is currently entered there and correct any mistakes that
    it may contain.
  4. Click ‘Save Changes’.

Why when I changed the Return Url on the Return Page but after the purchase the buyer still returns to the old link?

In the Admin under Products - Existing Products and then click Edit for your products. You will see that each product has its own return url, if you put a url in there, it will over ride the one on the Site Managment page of the Admin.

How do I mask the Return URL for the Plug N Play Cart?

1) The Return URL can be masked in live or demo mode, assuming it is turned on. To do this, the Direct Return Feature needs to be turned on, as well as the Return URL for your routine. The Direct Return can be found on the Site Managment page towards the bottom of the page under overall passback.

2) The Return page and the product listing page space to put a return link is one in the same. If you add it to one, it will also be on the other. That is just a second place to add the link. In order for the return to work, you need to put the correct return link to “YES”, as well as the Direct Return to “YES” for masked URL.

When you add your products to the Admin, you also have an option to put a return URL for each product. This will override the one on the Return page, so you can have a different return URL per product. Any product that does not have a return URL will be returned to the page on the return page.

Why when you click the confirmation button, instead of redirecting to the return URL, it redirects to a different page than I set up in the Return page?

Please make sure that the return link you set up for each product you added to our database either has NO return URL, or the one that you want the buyer to be passed back to. If the one with the product is different, then it will override the one you set up in the Return page.

Why are my buyers being returned to the wrong URL?

Please Check where you add/edit products in the Admin to see if you set up a return URL that is different than where you want the buyer to be sent to. That return will override the return URLs you set up in the Return page.

Recent Posts from the Community:

traduction

posted by: ykafouni

Changing Banks

posted by: devhip

Tell Us about You

posted by: bion
More from the community »

Now a faster, easier way to get paid – the 2CO reloadable MasterCard®.

Sign up today and receive a $10 credit on your card.


Click here to learn more.

Spotlight Supplier

Spotlight Supplier

Egyptian Gifts

Spotlight Product

Spotlight Product

Online Collaboration Software


Popular Tags