8000 SI: INVALID_PARAMETER_SYNTAX PayPal Payments Pro · Issue #479 · HotcakesCommerce/hotcakes-commerce-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
SI: INVALID_PARAMETER_SYNTAX PayPal Payments Pro #479
Closed
@gnossosp

Description

@gnossosp

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0