Knowledge Base »

What routine should I post to in V2?

Customers must be redirected to 2Checkout to complete the order and provide their billing information. Suppliers will post all order details to the url below.

https://www.2checkout.com/checkout/purchase

Suppliers selling intangible products and/or using third party carts may also use the single page purchase  routine by posting to the url below.

https://www.2checkout.com/checkout/spurchase

Related articles:

Can I Integrate Your Plug n’ Play Cart into a Macromedia Flash-based website?

Yes.

Because our Plug n’ Play cart functions through the use of standard HTML forms, you can use the PNP cart in any website creation utility that supports HTML forms, including Macromedia’s Flash product.

I didn’t receive e-mail confirmation of an order. Why?

Delays of the e-mail notifications can happen for several reasons:

1). Due to high sales volume the mail server may back up. The mail queue will eventually catch itself up. The only solution is to wait for this to happen – the mail program can only send so quickly and 2CO staff does not have the ability to speed things up.

2). Your ISP or webhost’s mail server is congested and therefore our mail server cannot connect to yours and relay the message. This can happen even though you can get your mail and receive mail from other people.

3). You have any incorrect e-mail address on record in your 2CO account. Ensure that your correct e-mail address that appears on the Contact Information page in your account’s admin panel is valid. This page can be accessed from the main screen after you login to your account.

4). Spam filtering software on your machine, your host, a server between us and your host and/or your ISP is holding/deleting your confirmations or is experiencing problems. Please disable or turn off *ALL* spam filtering software to ensure that this is not the problem.

5). Your mail client is not downloading your mail, or mail handling rules configured within your client are set to not download certain mail or to move it somewhere else. Disable all mail handling rules and ensure that your mail client is functioning correctly.

Please allow up to 24 hours from the time of the order to receive a confirmation. Most confirmations should arrive instantly but not all will. If you still have not received a confirmation after 24 hours and you have checked the above, please submit a ticket.

How can I allow the customer to put in their own price?

To allow the customer to put in their own price, you can use the following snippet of HTML code. Just paste the code below onto your web site where you would like the form to appear. Please note that the New Cart Purchase Parameters have already been implemented in this example.

<form action=”https://www.2checkout.com/checkout/purchase” method=”post”>
<input type=”hidden” name=”id_type” value=”1″>
<input type=”hidden” name=”c_prod’ value=”xxxxxxx”>
<input type=”hidden” name=”c_name” value=”Sample Product”>
<input type=”hidden” name=”c_description” value=”Sample Product Description”>
<input type=”hidden” name=”c_price” value=”5.00″>
<input type=”hidden” name=”c_tangible” value=”N”>
<input type=”hidden” name=”sid” value=”xxxxxx”>
<input type=”hidden” name=”cart_order_id” value=”1234567890″>
Please Enter The Amount You Would Like To Submit $ <input type=”text” name=”total” value=”5.00″>
<input type=”submit”>
</form>

Note: Be sure to replace the value for SID with your numerical Seller ID number. You can also change cart_order_id to any alphanumeric value that you wish to reference an internal invoice number, item number, auction number or other piece of information. Other values (c_name, c_description, c_price, c_tangible, and total) may be changed at your discretion.

Where do I input the URL of the script on my site I want you to pass back to?

To specify a URL for our system to pass back to, please follow these steps:

  1. Click on the ‘Account’ tab.
  2. Click on the ‘Site Management’ sub category.
  3. Input the URL into the Approved and Pending URL boxes on this page.
  4. Click ‘Save Changes’.

If you our using our free Plug and Play shopping cart, then you may specify an Approved and Pending URL on each product individually. You should see the options for these URLs while creating a product, but to add them to existing products, click Edit next to the product you wish to add them on. Any return URLs set on the product itself will over-ride the ones that you set on the Look and Feel page.

The Approved and Pending URLs may be the same URLs if you wish, but they can also be separate URLs. We will send the customer to the Approved or Pending URL depending on what the value of the credit_card_processed parameter is. It is only either Y or K. We will set the value of this to Y if we can immediately verify the availability of funds after the sale and then send the customer to your return Approved URL. We will set it to K and return them to the Pending URL if we can not immediately verify the availability of funds, such as if the customer paid by digital check. If you put the URL to the same script in both boxes, then the script should check the value of this parameter to determine the needed course of action.

The URL you enter here must have the extension of a script. If a static HTML file is used, such as an .htm or .html file, we will still send the customer back to that page. However, we will not pass back any details of the sale with them unless it is a script. If your return URL ends in any of the following extensions, then pass back will NOT occur, but the customer will still be returned there : .htm, .html, .com, .zip, .pdf, .rar, .doc

How do I Prevent Customers from Ordering from Certain Countries?

Many suppliers use their shipping methods to restrict sales from certain countries. If you are selling intangible products you may want to restrict your yours from certain countries as well.

Restricting intangible orders from certain countries.

You may restrict orders from certain countries for intangible products by using the E-Good Country Blacklist feature in your account. This feature will restrict intangible orders to certain countries based on the billing country the customer selects in the purchase routine. If a customer enters a billing country that is restricted in E-Good Country Blacklist they will receive the following error:

Our supplier cannot currently offer these products to you based on your current location of ( COUNTRY NAME )

If you still wish to continue with your purchase please use the button provided below to go back and remove these products from your shopping cart:

* (PRODUCT NAME)

Once you have logged in to your account click the ‘Shipping’ tab and then select the ‘E-Goods’ subcategory. From here you may scroll thought the countries in your Allowed list and select the countries you wish to remove. Once you have selected the countries you wish to remove you may click on the ‘Deny’ button at the bottom of the list. This will move the country to your Denied list. If you wish to allow a country on your Denied list, you may select the country and click on the ‘Allow’ button at the bottom of the list.

Restricting shipping to certain countries.

Tangible Products: (Products set up as tangible when they were added to our database.)

2Checkout allows you to restrict the shipping of tangible products to certain countries based on the shipping country the customer selects in the purchase routine. If a customer enters a shipping country that is not supported by your shipping method they will receive the following error:

No shipping available to your country

Once you have logged in to your account click the ‘Shipping’ tab and then select the ‘List’ subcategory. From here you may click the edit icon next to the shipping method you wish to edit. This will open the shipping wizard where you will need to select ‘Custom List’ under the countries section. This will open the custom country list where you can select the check box for the country you wish to restrict. Once you have selected the countries you wish to restrict you may click on the ‘Continue’ button at the bottom of the page. You will then need to click the ‘Save’ button to save your changes and exit the shipping wizard.

Related Articles

When placing a test order, I add items to my cart, close my browser and then come back, but the items are still there. Why?

The 2Checkout purchase routine sets a cookie on the user’s computer when they begin a purchase. This cookie remembers what the customer had placed into their cart. This way, if the customer loses their Internet connection or is otherwise unable to complete their order, they are not forced the entire checkout process over when they come back to finish their order.

Because you are using the same computer, you may see items in the cart from the previous order. Your customers will not see this because they are using different computers and Customer #2’s computer will not have the cookie set by Customer #1’s computer.

Why doesn’t 2CO return to my site when I am using osCommerce?

The following information should assist you in setting up the osCommerce shopping cart software to work with our service.

There is a module that has been developed for osCommerce that is needed to work with 2Checkout. This module is absolutely necessary to be compliant with our system. You may find this module at the following URL:

http://www.osCommerce.com/community/contributions,904

It is a common problem to have the sales work in the 2CO account but not the osCommerce cart after a sale. This is because there has to be a return URL set up in your account to tell the 2CO system were to send the sale information after it is placed. osCommerce needs this information to correctly process and finish the sale on your end. This URL can be set up on the Look & Feel setting page of the 2CO Classic Sellers Area (V2). You will find this link under the Helpful Links section of your account homepage. This URL can also be setup on the new VA sellers area Site Management page.

The URL below must be in both the Pending* and Approved URL boxes. If you installed OSC to a directory other than the default directory, you will need to use that directory structure here. Be sure to replace “www.your-domain.com” with your actual domain name.

http://www.your-domain.com/catalog/pm2checkout_process.php

* The Pending URL field is no longer used and may be left blank as 2Checkout no longer accepts e-checks as a payment method.

How do I add multiple products to the PNP cart using one link?

If you have chosen to upload your products to our database (instead of using a third-party cart), you can create a single link that – when clicked – will add two or more products to the 2CO cart.

https://www.2checkout.com/checkout/purchase?sid=XXXXXX&product_id1=Y&product_id2=Z&quantity1=1&quantity2=1

Be sure to replace the Xs with your numerical seller ID, the Y with the ID of your first product and Z with the ID of your second product.

To add more than two products with one action, simply append a product_id3 and quantity3 parameter, then a product_id4 and quantity4 parameter and so on.

You can use our developers.2Checkout area to see how to use the Plug-n-Play parameter set for creating links with multiple products within one link. The Purchase Machine section will allow you to create sample purchase links using the various parameter sets.

Important Note: When you are testing parameters, please be certain to clear the cookies in your browser between tests to ensure the changes you have made are applied. For more information on clearing the cookies please click here.

How Does The Return Process Work?

After a sale, we can return the customer to a script or page on your site that you specify as the return URL. This can be done on the Look and Feel settings page of the Classic Sellers Area. This is located in the Helpful Links section of your account homepage. In the new Vendors Administration Area this information may be entered by first clicking the Account tab on your account homepage and then clicking the Site Management sub tab on your account page.

2Checkout can return the customer to an Approved or Pending URL after a sale. If we can immediately verify the availability of funds, then the customer is sent to the Approved URL. If we are not able to do this, then they will go to the Pending URL. For example, a digital check would always be sent to the Pending URL because we can not immediately verify the availability of funds. A confirmation email is sent out when the check clears, but no pass back ever occurs after the initial sale. Another way of saying this is that if the credit_card_processed parameter is “Y”, then the customer goes to the Approved URL, but if it is “K” then they will go to the Pending URL.

You may also specify the Approved and Pending URL on the product level in the Classic Sellers Area as well as the new Vendors Administration Area. Any URL set here over-rides the main ones set on the Look and Feel settings page.

The terms pass back URL and return URL generally mean the same thing and can be used interchangeably. However, pass back refers to the information or parameters that we send back to your site after a sale. Return refers to the actual process of sending the customer there. Pass back URL and return URL are the same because in this context it simply means “where do you want return/pass back to go to?”

Additionally, the x_receipt_link_url parameter can be used to specify the return URL on the fly. If you take this approach, this parameter will over-ride any URL set on the Look and Feel settings page. You may use this parameter to have a specific button or link use a return URL that is different than the ones set on the Look and Feel page. If you do this, your return script would need to check the value of the credit_card_processed parameter itself to determine what the appropriate course of action should be. Another way of saying this is that, since this parameter only allows you to specify one return URL rather than both the Approved and Pending URLs, whatever script it is returning the customer to will need to check the value of the credit_card_processed parameter to determine whether they should provide the customer with a “Thank You for Ordering! / Here is Your Download!” page, or a “You will receive more information when your payment is approved” screen.

It is also important to note that if x_receipt_link_url is used, then the return page must match the domain on the account. If the URL is saved on the Look and Feel page or the product level, then we can return them anywhere. In short, if the URL is in our database we can return them there. If not, then it must match for security reasons.

2Checkout.com will also POST the information to your return URL in all cases, regardless of whether Direct Return is enabled or disabled. It is important to note that we will not allow a mix of GET and POST in the return process. If you are trying to return the customer to “http://www.yoursite.com/your_script.php?param=value” then we actually return the customer to “http://www.yoursite.com/your_script.php” and the ‘param=value’ will be returned as POST information with the rest of the sales information that we normally pass back.

You must also have a script set up as the return URL if you wish to receive the pass back information. If you would like this information returned to you, make sure that your return URL ends in the extension of a script. If your return URL ends in any of the following extensions, then pass back will NOT occur, but the customer will still be returned there : .htm, .html, .com, .zip, .pdf, .rar, .doc

The order of precedence for return from highest to lowest is:

  1. x_receipt_link_url
  2. Product Level
  3. Look and Feel page

The x_receipt_link_url will take precedence over all other return URLs, and the Look and Feel page will be used by default if the other two are absent.

Page 26 of 31« First...«2425262728»...Last »

Recent Posts from the Community:

Get Payments

posted by: dspzaman

Referring URL

posted by: hipdev

SPP suggestion

posted by: brakkar

API Beta

posted by: cliff

session destroy

posted by: rojan
More from the community »

Spotlight Supplier

Spotlight Supplier

Feng Shui Products


Popular Tags