Page 1 of 1

Free shipping coupons doesn't work with OPC enabled

PostPosted: Tue Jul 14, 2020 9:58 pm
by loppan
Hi!

I just noticed something weird. I haven't been sending out any discount coupons for a while so I don't know for long this has been an issue.

I use AwoCoupon 3.5.9.0 together with OPC 2.0.399.090720 on VM 3.6.10.

I create a test coupon that gives 100% off on shipping

I apply it on the checkout page and it looks promising :
coupon1.png
coupon1.png (24.45 KiB) Viewed 4659 times

The total is now 129kr which is correct.

But once I'm sent to Paypal (or any other of my payment methods) the discount isn't there anymore :
coupons2.png
coupons2.png (29.99 KiB) Viewed 4659 times

It seems like the discount isn't sent over to the next step properly. Regardless of which payment method I choose.

But, percentage (on products) coupons work fine, and when I disable OPC - to my big surprise - even free shipping coupon works with standard VM checkout.

I can't remember changing any settings lately that could affect this - and even if I did then probably discounts on products wouldn't work either, I suppose.

Please advise ;).

Thanks!

Best regards

Peter

Re: Free shipping coupons doesn't work with OPC enabled

PostPosted: Fri Jul 17, 2020 1:14 pm
by admin
hello peter, are you using this configuration in awo coupons ?

Suggested Awo configuration:

Enabled Store Coupons = YES
Case sensitive coupon code = NO
Enable zero value coupon = YES
Enable negative value coupon = YES


Best regards, stan

Re: Free shipping coupons doesn't work with OPC enabled

PostPosted: Tue Jul 21, 2020 2:05 pm
by loppan
Thank you Stan! It works now, after I switched these two to ON instead of OFF :

admin wrote:Enable zero value coupon = YES
Enable negative value coupon = YES


It's confusing though because it worked with standard VM checkout. But maybe it's the standard checkout that is buggy then :D.

Thanks Stan! All good now.

Re: Free shipping coupons doesn't work with OPC enabled

PostPosted: Mon Jul 27, 2020 6:00 pm
by admin
hello, i now updated some OPC core code to support "awo coupons automatic coupons" when OPC changes quantity of the products, so that awo can re-check it's autocoupon handling within the same request before the calculation is done.
available in opc 2.0.401+

best regards, stan