I am attempting to use idevaffiliate with viartshop.
I am supposed to enter a line of code on the confirmation page to include a php from idevaffiliate.
I assume the order_confirmation.php page is the place to put the code as it appears to be the last page in the sales process after payment has been made
I am not sure of the proper placement of the include that should be added to the order_confirmation.php.
the code should go down one sub-directory and then up to idevaffiliate directory.
The line of code is basic (if you know exactly what you are doing):
include ("../idevaffiliate/sale.php");
Does anyone know where to place this line of code where it will be accepted and loaded properly?
Also, has anyone out there used idevaffiliate with viartshop successfully?
Last modified: 8 Nov 2006 1:23 PM
alotofthings
7 Nov 2006 9:34 PM
I spoke with a representative of idevaffiliate and he indicated to me that the correct page for the affiliate code should be order_final.php and not the order_confirmation.php page.
One thing he is still uncertain about is where the location of the finalized transaction is. (he did not go through line by line of code)
So I am supposed to ask this question differently:
Where is the finalization of the completed successful transaction located and where should the affiliate code be placed?
Instead of a sale.php include he is having me use a hidden image tag similar to:
<img border="0" src="http://www.alotofthings.com/idevaffiliate/sale.php?goods_total=XXX&order_id=XXX" width="1" height="1">
He will customize it once he knows the location of where the code should be located.
Any assistance would be greatly appeciated.
Vito
8 Nov 2006 1:23 PM
Hello,
If you want to place an image like in your example on the final page you should go to
Administration > Payment Systems > Final Checkout Page > On Success Message
and add there your image
<img border="0" src="http://www.alotofthings.com/idevaffiliate/sale.php?goods_total={goods_total}&order_id={order_id}" width="1" height="1">