Closed (fixed)
Project:
SagePay Form Integration for Drupal Commerce
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Apr 2012 at 10:40 UTC
Updated:
14 Jan 2013 at 15:00 UTC
Sometimes when you use percentage discounts in modules like Commerce Coupon then the amount decimal isn't to 2 digits after the dot. Therefore SagePay just rejects the payment.
This patch just corrects that, however I'm using GBP, I'm not sure if it would work well with other currencies.
I also noticed your files aren't encoded as UTF-8 which is throwing up a few issues and should probably be changed.
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| patch_commit_ca63737903ae.patch | 1.72 KB | jdelaune |
Comments
Comment #1
ikos commentedHi,
This is in the latest dev release.
Please have a look and I'll roll a full 1.0 release soon.
kind regards
Richard
Comment #2
ikos commented