How can I use a third-party affiliate script with 2CO?

2Checkout.com supports almost any affiliate program that works off of a hidden image tag on the sales confirmation page.

To setup third-party affiliate script, log in to your account and click on the “Account” tab, then click on “Site Management” subcategory. From here you can fill in the string that is provided by your affiliate program as the Affiliate URL. 2Checkout.com payment routines will fill in dynamic parameters like “order number”, “order total”, “your product id”, “quantity ordered”.

The Affiliate link will only work if you have Direct Return OFF. The hidden image tag is placed on the 2Checkout confirmation page after the sale and with Direct Return ON, this page is by passed.

To have the string populated dynamically, put the following variables in the appropriate location. The payment routine will fill them in after the sale is complete:

$a_order – 2Checkout.com Order Id.
$a_total – Total Dollars Paid.
$a_product – Your product id
$a_quantity – Quantity of product id sold.

Example src string:

https://affiliate.com/sale.cgi?order=$a_order&total=$a_total&product=$a_product&quantity=$a_quantity

If the buyer bought 1 of your product id 01-Widget for $2.00, after the sale the string would become

http://affiliate.com/sale.cgi?order=123456&total=2.00&product=01-Widget&quantity=1

You need to login before leaving a comment If you do not have an account, you can register one here.

Recent Posts from the Community:

Get Payments

posted by: dspzaman

Referring URL

posted by: hipdev

SPP suggestion

posted by: brakkar
More from the community »

Spotlight Supplier

Spotlight Supplier

Feng Shui Products


Popular Tags