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.

Just fill in the string that is provided by your affiliate program in the Seller Admin under Look and Feel. 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:

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