Documentation
Documentation menu

General code integration

Tracking with HTML code.

Paste this HTML code to your Thank You page where user is redirected after successfull payment. Billing system will also pass purchase amount to the Thank You page. You will need to put that amount into this linking code. Other parameters such as affiliateID and product groupID will be extracted from customer's COOKIE. This method is the EASIEST method of integration, all you need is just pasting this code to Thank You page - thats will track sales when customer visit it.

If you have fixed price for products or services you sell you can just pass static amount of purchase.

Tracking with PHP code.

You should put this PHP code to the page that will be called by billing system after purchase. That can be either Thank You page.

Tracking manually(EXPERTS ONLY!)

Paste this HTML code to your Thank You page where user is redirected after successfull payment. Billing system will also pass several parameters to the Thank You page. You will need to put that parameters into this linking code. Explanation of that values are given at the bottom of this page. This method is the EASIEST method of integration, all yu need is just pasting this code to Thank You page - thats will track sales when customer visit it.

 

Values to be passed:
txn_id (optional). Unique Transaction ID

amount (required). Indicates total amount of purchase

cur (optional). Currency Alphabetic Code (see ISO 4217)
http://en.wikipedia.org/wiki/ISO_4217
http://www.oanda.com/site/help/iso_code.shtml

country_code (optional). Country Alphabetic Code (see ISO 3166)
http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements

aff_id (optional). For all clicks our system also sends aff_id value, this value should be passed back when tracking affiliates.

group_id (optional). This value is used to pass back product group identity to calculate commision according to product group settigns.

add_info (optional). Additional information about transaction. It could be passed if you want, for example, display additional sale information to the transaction details such as code of purchased goods, or membership ID. This information will be visibile to both administrator and affiliate.

customer_id (optional). Pass this parameter if you want to pay affiliate only for the first sale made by customer. Make sure you pass correct customer id - it can be alpha-numeric format.

Copyright © 2004-2010 Soft Service Ltd. All rights reserved.