Knowledge Base » Suppliers » Tech Support »

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 do I get an HTTP Error 500 (Internal Server Error) on Passback?

An HTTP Error 500 (Internal Server Error) indicates that there is a problem inside of your script or the servers configuration. This error is most likely caused by a typo in the code or an invalid or illegal use of a function within the script. For the pass back to function correctly, then your script must be correctly set up.

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 2Checkout’s 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.

For assistance with debugging your scripts, we suggest that you contact your server’s administrator, webmaster, or hosting provider’s technical support staff. Due to the nature of this particular error, you may also be able to receive assistance from other suppliers of ours. The 500 error message is often due to a coding error in the script, so some of our other suppliers in our tech support forum may be able to help you find the mistake.

We have observed that this error is experienced in certain web browsers more than in others, in particular within Internet Explorer. If your return page or script does not output at least 530 characters, this can potentially cause a MIME header error. Mozilla based browsers such as Firefox seem to be able to handle these pages and will display either the real error or the small output when Internet Explorer has problems. Since this issue is an issue with the browser software itself, there is little 2Checkout can do to control this. If you are receiving this error, please try to increase the output that your return page generates to more than 530 characters or try a different web browser to see if you observe different results. Note that this is not a solution for all HTTP 500 error messages, but it is meant to be a useful step in debugging your script and has been reported as a successful step by some of our other suppliers.

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.

Can someone steal my downloadable product/service by including the demo parameter?

The ability to include ‘demo=Y’ to return to the vendor defined approved URL without placing a valid order is not a security flaw or error, it is the intended usage of this parameter. It is included in the parameter set in order to allow for vendor testing, from the start of the order process (passing the parameters to 2checkout’s purchase routine), to the end of the order process (returning to the Approved URL defined by the vendor).

It is true that if a vendor defines an approved URL that allows access to the downloadable product/service they are selling, and the vendor takes no further security precautions, someone could download the product/service by including the ‘demo=Y’ parameter.

The ability to control the demo parameter is available from inside the 2Checkout system. You can choose from the following 3 options inside of your 2Checkout account to control the use of the Demo parameter. Those choices are:

  • On: Using this setting all sales will be treated as demo, regardless of any parameter value.
  • Off: Using this setting all sales will be treated as live, regardless of any parameter value.
  • Parameter: Using this setting a demo parameter sent to the purchase routine will control the demo setting.

To access the Demo setting in your account you will need to log in to your account and then click the Account tab. On the Account page click the Site Management sub-tab. After you have selected the Demo setting that best fit’s your current need and then click the blue Save Changes button at the bottom of the page.

It is not recommended to provide a downloadable product/service to a customer immediately after a sale completes by means of a return to the Approved URL. It is recommended to allow the fraud review process to complete before providing your customer with the product/service.

We realize that some vendors may not wish to wait for the fraud review process to complete before providing their customer with a downloadable product/service. For such vendors, the MD5 hash is provided to help verify the authenticity of a sale. We intentionally break the hash code that is passed back if the ‘demo=Y’ parameter is used. You can compare the value of the hash we pass back with the value of what the hash should be (this needs to be calculated on your end). This will allow you to determine whether or not to provide the customer with the downloadable product/service. It should be noted that when using this method to provide a downloadable product/service immediately, you do run the risk of having your product/service stolen by someone placing a fraudulent order with a stolen credit card.

For full details on using the MD5 hash please refer to the article How do I use the MD5 Hash?

If you choose to provide a downloadable product/service immediately after a sale using the Approved URL, and do not check the MD5 key which is passed to the Approved URL to verify the validity of the sale before providing a customer with a product, then you are accepting the risk that your product may be taken without being paid for by someone who includes the ‘demo=Y’ parameter.

Do you offer payment forms in Spanish?

2Checkout offers both of our purchase routine in both Latin and European Spanish as well as 13 other languages.

To access the Spanish versions of our purchase routine your customer can either select their preferred language at the top of the purchase routine page or you may pass“lang=es_la” for Latin Spanish or “lang=es_ib” for European Spanish with the sale parameters. (The previous Spanish parameter “lang=sp” will still direct to the Latin Spanish routine for the time being.)

Example purchase link using the “lang” parameter:

https://www.2checkout.com/checkout/purchase?sid=XXXXXX&quantity=1&product_id=4&lang=es_la

Example purchase button using the “lang” parameter:

<form action='https://www.2checkout.com/checkout/purchase' method='post'><input type='hidden' name='sid' value='XXXXXX'><input type='hidden' name='product_id' value='1'><input type='hidden' name='quantity' value='1'>
<input type='hidden' name='demo' value='Y'>
<input type='hidden' name='lang' value='es_la'>
<input type='submit' name='Buy from 2CO'>
</form>

Please note that you must insert your own Seller ID number to use the above examples. They will not work as is.

Related articles:
Do you offer any languages other than English?
TUTORIAL: Creating 2Checkout Purchase Links

How do I cancel or Refund a Recurring Sale?

To issue a partial or full refund on a recurring sale, you will need to login to your account at https://www.2checkout.com/va/. From here you can click on the “Sales” tab near the top of your account homepage and then select the “List” sub-tab. You can then click on either the sale number you wish to cancel/refund under the sale list or use the “Sale Search” form to search for an order.

To refund the entire sale, click on “Refund Sale” on the top left of the sales details page. To issue a refund for an individual installment, you will need to click on the “Refund” link listed under the refund column for the invoice. There will be an invoice entry for every installment. When issuing a refund you will be required to select a reason for the refund, enter a comment and click on submit refund. To cancel the recurring billing click on the “Stop This Recurring” link listed by the product name.

Please note: The refund option may not be displayed on a sale based on the following criteria:

  • Your username does not have authorization to issue refunds (basic editing access).
  • The sale is over 60 days old.
  • The invoice has no balance left to refund.
  • For a line item refund, the line item has already been refunded.
  • For a line item refund, the line item amount is more than the
    remaining balance on the invoice (this can happen on an invoice with one
    line item and a coupon or on an invoice with a partial refund)
    .
  • It’s an online check order that has not been deposited.

Please feel free to contact us directly for refund assistance.

If you are a customer who has a recurring service that is billed through 2Checkout.com you will wish to contact 2Checkout.com directly by clicking here.

How do I update or change my credit card information?

If your current credit card is going to expire, or you have canceled your credit card, it will be necessary for you to wait and receive a notice from us informing you that your credit card is failing to bill. Once you receive this notification, a link will be included. You may click on the link to update your credit card information. Your order will not be canceled and you will receive a reminder notice every 7 days.

If you are requesting to update your credit card information to a different card, it will be necessary for you to contact us directly at 1-877-294-0273, so that we may obtain further information from you.

Can you help me with the Free Membership Client Lite?

The Membership Client Lite is provided Free to 2Checkout Vendors by http://lite.membershipclientpro.com.

For support on the membership script, you need to contact the maker, who provides the script free for vendors to use. You can contact them at Lite@MembershipClientPro.com

How can I do a Demo order to see what the buyers will see?

Demo mode is enabled on a per transaction basis, using the demo parameter, or it can be turned on or off from within your account. The Account Demo Settings located in the accounts Site Management page allows you to select one of three options to control demo mode.

  • On: Using this setting all sales will be treated as demo, regardless of any parameter value.
  • Off: Using this setting all sales will be treated as live, regardless of any parameter value.
  • Parameter: Using this setting a demo parameter sent to the purchase routine will control the demo setting.

Demo sales allow you to see the purchase process as a customer would. No card will be billed during a demo purchase, but you must fill in all fields as you would for a live purchase. The only visual difference you should see is a note along the top of the purchase pages that reads “This is a demo sale. No charges will be levied, no payments made.”. Confirmation emails will also be sent for demo mode as they would for a live sale so that you can see the entire process. Confirmation emails for demo sales will indicate that they were demo sales as well, but will look the same as a live confirmation email otherwise.

To put your account in demo mode and make a test purchase you can select “On” for your Account Demo Settings option. If you choose the “Parameter” setting you would need to pass in parameter named “demo” with a value of capital “Y”. Demo mode will be enabled for every sale that includes this parameter and value. You do not need to pass in “N” to disable demo mode as it is disabled by default. You should either pass this in for a demo sale, or do not pass it in at all.

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=”demo” value=”Y”>

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 enable demo mode by adding this parameter to your links, such as this :

&demo=Y

If you are using a third party shopping cart, it may have an option within its setup pages or configuration options to enable this for you. If so, please use the method the cart provides for you.

IMPORTANT NOTES : The value of the demo parameter MUST
be a CAPITAL “Y”. Don’t forget to remove this parameter when you have concluded testing and wish to make your sales live again. When using the Demo feature for testing purposes, please be certain to clear the cookies in your browser between tests to ensure the new account settings have been applied. For more information on clearing the cookies please click here.

Why is Demo Mode still ON?

To ensure that your 2CO account is out of Demo Mode, you need to completely remove any instance of demo=Y, demo= or input type=hidden name=demo value=Y. When using the Demo feature for testing purposes, please be certain to clear the cookies in your browser between tests to ensure the new account settings have been applied. For more information on clearing the cookies please click here.

The demo mode is also controlled by an account level setting inside of your 2Checkout account. Log into your account and access the Site Management page and be sure you have not selected for all sales to be demo sales with the Account Demo Setting option.

If you are still having problems, please submit a tech support ticket and a representative will be glad to assist you.

Page 15 of 20« First...«1314151617»...Last »

Recent Posts from the Community:

API Beta

posted by: cliff

session destroy

posted by: rojan

Payment request

posted by: shoj
More from the community »

Spotlight Supplier

Spotlight Supplier

Sell Downloads Guide

Spotlight Product

Spotlight Product

Professional Banner Design


Popular Tags