Hi There,
I recently installed the contribution Gift Voucher (GV) and Discount Coupons (DC) for RC1, RC2, RC2a (v1.2). It's exactly what I need but I'm having a small issue integrating it with the SagePay Form Module (v1.20). (I have posted a message on the Discount Coupon support forum but, as yet, no-one has replied).
For some reason the discount amount, when passed to SagePay, shows as £0.00.
For example, the checkout_confirmation page shows...
Sub-Total: £7.49
Coupon (30PERCENT) -£2.25
Royal Mail 1st Class Standard: £1.62
Total: £6.86
Yet the SagePay payment pages, emails and transactions all show...
Sub-Total: £7.49
Coupon (30PERCENT) £0.00
Royal Mail 1st Class Standard: £1.62
Total: £6.86
I have tried various settings and Order Total Module sort orders - all give the same result.
The bottom line is correct so no-one is being overcharged and it shows correctly in the OSC generated email.
SagePay support say that their logs show the Coupon amount being passed to them is £0.00 so the problem is at my end but I don't know how to fix this.
Do I have to edit the payment module in anyway to present the correct negative figure?
If it helps I am also using the QTPro and UK Royal Mail & Overseas Shipping Methods contributions.
Apologies in advance but I'm a total novice when it comes to PHP!