Home Integration Methods Avactis

Avactis

This integration menu uses Avactis interface for setting up the integration with Post Affiliate Pro.
1
Click tracking integration
First of all, you have to insert the click tracking code to your shop footer code. Navigate to Page manager, select a page you want to integrate with the click tracking code (all banner target pages) and click the edit link in the low Copyright section. Add the click tracking code into the "Block content" and click the Save button. Then click the lower "Save changes" button too.
2
Sale tracking in Avactis hosted version
Navigate to Page manager and select "order_placed.php" to be edited. Click "edit" link in center_column section for Last Placed Order block.
Add the following code right before "?>":
Save your work and that's it.
3
Avactis with PayPal
In case you want to directly integrate PayPal which you use as a payment gateway in your Avactis, you have to do some special steps and also, it is only possible with Owned version of Avactis. The problem is you have to modify some files.

First, you have to add the 'custom' field and the tracking script into your paypal form - you can do it in file
/avactis-themes/_your_theme_/checkout/checkout-sequence/default/confirmation_redirect_to_payment_gateway.tpl.html

IPN redirect code (cURL) goes to /avactis-system/modules/payment_module_paypal_cc/payment_module_paypal_cc_api.php
Use the codes form original PayPal integration method - it is the same.