Hi
In the "Zip / postal code" field in Shipping Settings, we had an extra space after the postal code numbers. This caused the Paypal to throw the exception. "9524 " instead of "9524"
Maybe the plugin should do a TRIM on the fields that are sensitive to validation by PayPal?
Nop.Core.NopException: Failed request (BadRequest): Request is not well-formed, syntactically incorrect, or violates schema.
{
"name": "INVALID_REQUEST",
"message": "Request is not well-formed, syntactically incorrect, or violates schema.",
"debug_id": "fe255adebac0a",
"details": [
{
"field": "/purchase_units/@reference_id=='default'/supplementary_data/card/level3/ships_from_postal_code",
"value": "9524 ",
"location": "body",
"issue": "must match \"^[a-zA-Z0-9_'.-]*$\"",
"description": null
}
],
"links": [
{
"title": null,
"href": "https://developer.paypal.com/docs/api/orders/v2/#error-must match \"^[a-zA-Z0-9_'.-]*$\"",
"method": null,
"rel": "information_link",
"encType": "application/json",
"mediaType": null
}
]
}