Paypal - An unknown error occurred. Please try again.

Exemple of Debug log related to this error :

 

{"name":"INVALID_REQUEST","message":"Request is not well-formed, syntactically incorrect, or violates schema.","debug_id":"72cee11cd0415","details":[{"field":"/payer/address/country_code","value":"","location":"body","issue":"INVALID_STRING_LENGTH","description":"The value of a field is either too short or too long."},{"field":"/payer/address/country_code","value":"","location":"body","issue":"INVALID_PARAMETER_SYNTAX","description":"The value of a field does not conform to the expected format."}],"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"}]}

 

According to the 'Request' provided, the 'country_code' field is being sent as an empty field ("country_code":"").

The PayPal API documentation at https://developer.paypal.com/docs/api/orders/v2/#definition-country_code states that this is a required field.

Please ensure that your clients are entering a mailing address and country so that PayPal can properly verify the request.

  • 0 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

Réinstaller son serveur dédié

Bonjour,Pour réinstaller le système d'exploitation de votre serveur dédié (et non virtuel type...

Reverse DNS

Bonjour,Pour mettre en place des Reverse DNS sur une IP d'un serveur virtuel, merci d'ouvrir un...

Powered by WHMCompleteSolution