PAYEE_ACCOUNT_RESTRICTED
-
Hello,
I have the following error, I don’t know how to solve it
2022-02-26T22:14:01+00:00 DEBUG POST https://api.paypal.com/v2/checkout/orders
Request Body: {“intent”:”AUTHORIZE”,”purchase_units”:[{“reference_id”:”default”,”amount”:{“currency_code”:”EUR”,”value”:”70.00″,”breakdown”:{“item_total”:{“currency_code”:”EUR”,”value”:”70.00″},”shipping”:{“currency_code”:”EUR”,”value”:”0.00″},”tax_total”:{“currency_code”:”EUR”,”value”:”0.00″}}},”description”:””,”items”:[{“name”:”Pack Mensual”,”unit_amount”:{“currency_code”:”EUR”,”value”:”70.00″},”quantity”:1,”description”:””,”sku”:””,”category”:”DIGITAL_GOODS”,”tax”:{“currency_code”:”EUR”,”value”:”0.00″}}],”payee”:{“merchant_id”:”MTL959MYBLQSE”}}],”application_context”:{“user_action”:”CONTINUE”,”shipping_preference”:”NO_SHIPPING”,”landing_page”:”LOGIN”,”locale”:”en-US”,”brand_name”:”Maximo Fitness”,”return_url”:”https:\/\/www.maximofitness.vip\/es\/?wc-ajax=ppc-return-url”,”cancel_url”:”https:\/\/www.maximofitness.vip\/es\/finalizar-compra\/”},”payer”:{“name”:{“given_name”:”Borja”,”surname”:”Hern\u00e1ndez”},”email_address”:”[email protected]”,”address”:{“country_code”:”ES”,”address_line_1″:”Paseo de la Estaci\u00f3n 6 1C”,”address_line_2″:””,”admin_area_1″:”M”,”admin_area_2″:”Alcal\u00e1 de Henares”,”postal_code”:”28807″},”phone”:{“phone_type”:”HOME”,”phone_number”:{“national_number”:”676834786″}}},”payment_method”:{“payee_preferred”:”UNRESTRICTED”,”payer_selected”:”PAYPAL”}}
Response Debug ID: 881c781364818
Response: Array
(
[code] => 422
[message] => Unprocessable Entity
)Response Body: {"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='default'/payee","location":"body","issue":"PAYEE_ACCOUNT_RESTRICTED","description":"The merchant account is restricted."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"881c781364818","links":[{"href":"https://developer.paypal.com/docs/api/orders/v2/#error-PAYEE_ACCOUNT_RESTRICTED","rel":"information_link","method":"GET"}]}
2022-02-26T22:14:01+00:00 WARNING Failed to create order. PayPal API response: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-PAYEE_ACCOUNT_RESTRICTED
2022-02-26T22:14:01+00:00 ERROR Order creation failed: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-PAYEE_ACCOUNT_RESTRICTED
2022-02-26T22:14:01+00:00 ERROR Order creation failed: [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-PAYEE_ACCOUNT_RESTRICTED
- The topic ‘PAYEE_ACCOUNT_RESTRICTED’ is closed to new replies.