Seyi,
I have purchased the latest versions from AWO and OPC and get it installed on latest Joomla + latest VM. I was expecting this configuration to work out of the box.
Stan from OPC did some changes and now, it seems we struggle at getting AWO working properly. Stan asked me to contact you.
We isolated the issue, we can reproduce it : whenever we use a coupon, the amounts that we display in the Paypal screen are wrong. Please see the images below. Amounts on OPC are good.
OPC cart : https://drive.google.com/file/d/0B3JHnWnMtsGaMS10WEcyUnhVZ00/view?usp=sharing
Paypal screen : https://drive.google.com/file/d/0B3JHnWnMtsGad3l1VEViaEhISUk/view?usp=sharing
Also, I tried with another coupon type (free shipping), here are the screenshots.
OPC : https://drive.google.com/file/d/0B3JHnWnMtsGaOTRmbTRHR2hJVkE/view?usp=sharing
Paypal : https://drive.google.com/file/d/0B3JHnWnMtsGaRWljYjcwRDloSUE/view?usp=sharing
Do you have a clue?
Thanks !
Nicolas
P.S. : here's the changes made by Stan, called "Awo hack" :
let me describe the "awo hack" i must had done while working on your site:
1.st modify awo core files so they support 2 calculations at a single page request. calling the same function in VM twice (getCheckoutPrices) resulted in different awo coupon calculation each time... this is a huge problem and if this won't get fixed in AWO, i will drop AWO coupon support soon. i wrote a few emails to seyi, but i am not sure if he understands how to test this.
2. per the n1 problem what i did is (when "awo hack enabled"):
- i made VM think there is NO COUPON and thus no AWO files are called from "getCheckoutPrices"
- i called AWO files manually after calling "getCheckoutPrices" in a custom "injection mode" after the VM calculation is finished (thus AWO can modify any line of the calculation)
AWO coupons set VM's coupon to a html (to support coupon deletion) but if the coupon is re-validated or re-added by any part of the system, awo does not recognize it's own coupon since it includes the html and this is not what the user had entered... to be able to support n.1 i had to reset the coupon session variable since it does not support pre-calculation for multiple shipments or payment (rounds) leading to further problems...