Description
Sponsorship
If this request requires additional support (e.g., such as direct email/phone/meeting/development), I have the following interest in helping to sponsor the effot via GitHub Sponsors:
- None, please continute to work for me 668D for free :P
- Absolutely, I get value out of this!
- Maybe later
- I'm already a sponsor... Woot!
Describe the bug
Payments with comma in price (1,000.00) throw format error message in sandbox.
Software Versions
- DNN: 09.13.00
- Hotcakes: 3.8.0
To Reproduce
Steps to reproduce the behavior:
Place an order in sandbox over 999.00 generates error
Expected behavior
should be able to place orders for products over 1,000.00
Actual behavior
Placing Order with prices up to 999.00 works fine $1,000.00 triggers a format error.
Screenshots
If applicable, add screenshots to help explain your problem.
Error log
Note: Debug DLL's
Please replace the current extension DLL's with the debug DLL's (if these are available with the release) and reproduce the error with the debug DLL's before pasting the error log.
Request
** "purchase_units": [
{
"amount": {
"breakdown": {
"item_total": {
"currency_code": "USD",
"value": "1,000.00"
}**
Response
{
"description": "The value of a field does not conform to the expected format.",
"field": "/purchase_units/@reference_id=='default'/amount/breakdown/item_total/value",
"issue": "INVALID_PARAMETER_SYNTAX",
"location": "body",
"value": "xxxxxx"
}
Additional context
Is there a way to strip the comma out of prices sent from hotcakes?