-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with payments > 1000 and Windcave processor #227
Comments
@stesi561 that should be machine money formatted by the time it reaches that point in the code - I'm not sure if the
|
yes but when it leaves formatUSLocaleNumericRounded it comes back as a string with a comma in it - I assume only if you have a locale that has a thousands separator with a comma. |
Probably the function doesn't add anything as params['amount'] should be correctly formatted - however, it shouldn't add a comma - per eileenmcnaughton/nz.co.fuzion.omnipaymultiprocessor#227
@stesi561 I think this might be right civicrm/civicrm-core#23356 |
Note that Omnipay doesn't need to call |
Probably the function doesn't add anything as params['amount'] should be correctly formatted - however, it shouldn't add a comma - per eileenmcnaughton/nz.co.fuzion.omnipaymultiprocessor#227
Probably the function doesn't add anything as params['amount'] should be correctly formatted - however, it shouldn't add a comma - per eileenmcnaughton/nz.co.fuzion.omnipaymultiprocessor#227
Probably the function doesn't add anything as params['amount'] should be correctly formatted - however, it shouldn't add a comma - per eileenmcnaughton/nz.co.fuzion.omnipaymultiprocessor#227
Probably the function doesn't add anything as params['amount'] should be correctly formatted - however, it shouldn't add a comma - per eileenmcnaughton/nz.co.fuzion.omnipaymultiprocessor#227
Probably the function doesn't add anything as params['amount'] should be correctly formatted - however, it shouldn't add a comma - per eileenmcnaughton/nz.co.fuzion.omnipaymultiprocessor#227
I updated Omnipay to just access |
Eileen - Luke says you submitted a PR for a permanent fix - i assume that means to Core - any idea where this sits now? I think we are still running a patched version (r26392 for my own records) |
I think the latest Omnipay is OK without the core fix from the above? |
To replicate set up Omnipay with Windcave
Try and donate $1000
Get an annoying error about a comma.
Be puzzled as to why someone would reject your generous donation (or payment), and the source of said comma.
As per discussion on chat -> https://chat.civicrm.org/civicrm/pl/kprwsk6btfgo5kzi8t5cicmeih
It looks like Windcave doesn't like formatted strings as a value!
A work around is to replace the comma in the value before it gets sent through to Windcave, however this assumes a comma for a separator - it might be something else depending on your locale.
The text was updated successfully, but these errors were encountered: