We have an affiliate program set up to credit referrals to our site that result in paid links purchases.
In order to call the affiliate script to credit the affiliate, I need to insert code into the "Thank You" page after a link has been paid for, i.e., payment_success.html.
This code needs to be able to access the amount that was paid (i.e., "amount").
Is the "amount" passed to this template or is there a way to ensure that it is so that I can properly credit affiliates?
Thanks.
In order to call the affiliate script to credit the affiliate, I need to insert code into the "Thank You" page after a link has been paid for, i.e., payment_success.html.
This code needs to be able to access the amount that was paid (i.e., "amount").
Is the "amount" passed to this template or is there a way to ensure that it is so that I can properly credit affiliates?
Thanks.