Posted - 04/22/2025 : 05:54:47
Hi Vince,
We have integrated the new PayPal Advanced Complete Payments solution to our cart and enabled this back end on the payment provider settings. All seems to be working fine processing cards apart from the below error message that appears.
When you proceed through checkout, enter customer address information and then go to next stage to enter card details, the fields are already prefilled ( i presume to show an example of how the customer should enter their card details).
If you do not enter any cards details and just click on the "Pay By Card" button the below error message appears in a popup , which should not appear to customers:
Payment could not be captured! {"name":"INVALID_REQUEST","message":"Request is not well-formed, syntactically incorrect, or violates schema.","debug_id":"f560529ee2366","details":[{"field":"/payment_source/card/expiry","value":"-","location":"body","issue":"INVALID_PARAMETER_SYNTAX","description":"The value of a field does not conform to the expected format."},{"field":"/payment_source/card/expiry","value":"-","location":"body","issue":"INVALID_STRING_LENGTH","description":"The value of a field is either too short or too long."}],"links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_PARAMETER_SYNTAX","rel":"information_link","encType":"application/json"},{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-INVALID_STRING_LENGTH","rel":"information_link","encType":"application/json"}]}
Please can you advise on this matter and provide a fix.
Thank you
Regards
Kev
|