I get the following error after submitting an order:
Error 508
Invalid characters in amount field. Please contact the merchant.
I have taxes enabled for VAT at 21% ->admin/store/settings/taxes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Capture1.JPG | 72.15 KB | stevoarmstrong |
| #2 | Capture2.JPG | 92.28 KB | stevoarmstrong |
Comments
Comment #1
alanburke commentedCan you explain when this error is appearing?
Perhaps post a screenshot.
Seem very odd.
Does it occur with other payment modules?
Comment #2
stevoarmstrong commentedHi Alan,
The error appears on the review order page. It works fine if you choose Northern Ireland as the shipping address, as VAT is only being added to ROI orders. I'm using ubercart's built in taxes module, and have .21 set up as a flat tax rate. I've attached 2 screen shots and you can process a test order yourself by creating a test account at http://www.salonsaversonline.ie/user/register
Cheers,
Steve
Comment #3
stevoarmstrong commentedAny progress on this? Let me know if you need any more info from me. Cheers,
Steve
Comment #4
alanburke commentedProblem confirmed.
Working on a fix now.
Comment #5
alanburke commentedCan't patch from here.
Change line 82 in the module to
$amount = round(($order->order_total*100));
Realex only wants a value in cent [no decimals allowed]
Comment #6
stevoarmstrong commentedThat fix worked a treat. Thanks very much!
Comment #8
alanburke commentedI still need to get this into the module code...
Good to see it works!
Comment #9
alanburke commentedFixed in Head now.
Comment #11
SkippyCraig commentedIf you are getting this error on the 'UC Realex Remote' gateway then you will need to to make the same fix to line 170 in that module