We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
According to the minFraud API documentation the Order and Shopping Cart endpoints both state "The value must be at least 0 and at most 1e14 – 1."
However it appears this library validates for at least 1 due to the following line:
v::key('amount', v::floatVal()->min(0, false), false),
Which validates from a minimum of 0 non-inclusive.
Just to clarify, is the documentation correct in stating that a 0 amount is acceptable to send through to the API?
The text was updated successfully, but these errors were encountered:
Update amount validation to match web service. Closes #78
dc324ce
Thanks for reporting this. The documentation is correct that 0 is acceptable. I have fixed the API in #80.
Sorry, something went wrong.
8b0b03f
Merge pull request #80 from maxmind/greg/fix-amount-validation
d695875
Thanks a lot of fixing that, is there any ETA on this getting into a new package version?
We just did a release. Thanks!
No branches or pull requests
According to the minFraud API documentation the Order and Shopping Cart endpoints both state "The value must be at least 0 and at most 1e14 – 1."
However it appears this library validates for at least 1 due to the following line:
Which validates from a minimum of 0 non-inclusive.
Just to clarify, is the documentation correct in stating that a 0 amount is acceptable to send through to the API?
The text was updated successfully, but these errors were encountered: