New Feature: Control Demo From Inside Your 2Checkout Account

The ability to control the demo parameter has been added to the 2Checkout system. You can now 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.

This feature is located on the Site Management page in your account.  After you have logged in to your account you will first need to click the Account tab, and then click the Site Management sub tab on the Account page.

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.

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.

How Do I Turn Off Demo Mode?

To ensure that you are not operating in Demo Mode, please completely remove any instance of demo=, demo=Y or input type=hidden name=demo value=Y.

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

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.

If you are still having problems after completing these checks, please submit a tech support ticket.

Why am I getting “The sale has been rejected” even when passing demo=Y ?

The likely cause is that a banned credit card is being used for a demo transaction. Demo transactions are still sent through parts of our fraud system, and will therefore get caught with this error. Make sure you are not using all 1’s for the credit card number and also make sure that it does not begin with ‘411′. Using sequential numbers can also cause this error to occur, such as using 123456789. A safe one to use for testing is ‘597910143452349′ or any other random number that fits the above criteria while still consisting of 15 or 16 digits.

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