I've installed the latest Pro version over a Free version on my localhost test site. When running a test on a 10% off coupon for a $68 item, I'm getting a discount amount of $7.41. I've applied the coupon while just viewing the cart, so no tax or shipping calculations have taken place yet. Can you assist me with this? Suggest somewhere to look?
[Resolved] Discount incorrect after upgrading from Free to Pro
- I found a way to fix this, although it required a change to your code. I set $my_taxrate to 0 at line 127 of ps_coupon_process.php. I'm not sure why the discount is being applied to both the product price AND the tax amount. I set "Subtract payment discount before tax/shipping" in my VM configuration to true.