We have a PP IPN script running for years, but for our new Affiliate software we need a few tweaks, I am stuck at one point. I'll explain briefly:
There's a javascript code snipped that we can put on the thank you page to process an order, that works wonders, but I soon realized that customers only get to such thank you page if they decide to press "go back to store" when they have completed payment. Obviously not everybody clicks this link over at PP, so we are missing sales in our affiliate software.
Now there's 2 ways to register sales if I understood it right.
1.) the javascript one, that looks like this:
<script id="pap_x2s6df8d" src="http://www/affiliate/scripts/sale.js" type="text/javascript"></script>
<script type="text/javascript"><!--
var TotalCost="XXXXXX.XX";
var OrderID="XXXXXX";
var ProductID="XXXXXX";
papSale();
--></script>
And
2.)
http://www/affiliate/scripts/sale.php?TotalCost=xxxxxx&OrderID=xxxxxx&ProductID=XXXXXX
Now I am not sure if that second works, I tried and the varaibles came up empty.
Is there a way to have that first code in an IPN, or is that a definate no-go?
Thanks,
Paul.