I am trying to integrate Actinic V7 with the myaffiliateprogram.com affiliate system and am almost there...
I can get the image call that sends details to their system working in order04.html and using the variable NETQUOTEVAR:NUMERICORDERTOTALCGI for the amount posts it correctly with a decimal point. I have even edited Orderscript.pl to make it use the net amount before postage.
It all works fine as long as I am only using a single currency display. A soon as I display Pounds and Dollars as I want to, it stops writing the transactions to the affiliate programme.
Using ACTINICORDERTOTAL instead picks up only the Sterling amount and posts it, but it is x 100 in pence and I would need to convert it to pounds and pence with a decimal point.
I have had a look at orderscript.pl to try to change formatting so that NUMERICORDERTOTALCGI only uses the Pounds part of the price but it is a bit beyond my expertise!
If anyone has come across this or has any ideas they would be much appreciated.
I can get the image call that sends details to their system working in order04.html and using the variable NETQUOTEVAR:NUMERICORDERTOTALCGI for the amount posts it correctly with a decimal point. I have even edited Orderscript.pl to make it use the net amount before postage.
It all works fine as long as I am only using a single currency display. A soon as I display Pounds and Dollars as I want to, it stops writing the transactions to the affiliate programme.
Using ACTINICORDERTOTAL instead picks up only the Sterling amount and posts it, but it is x 100 in pence and I would need to convert it to pounds and pence with a decimal point.
I have had a look at orderscript.pl to try to change formatting so that NUMERICORDERTOTALCGI only uses the Pounds part of the price but it is a bit beyond my expertise!
If anyone has come across this or has any ideas they would be much appreciated.
Comment