UNPROCESSABLE_ENTITY. COMPLIANCE_VIOLATION error 422
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using sanbox to test paypal card payments with woocommerce paypal payments plugin in wordpress. When I check the error logs in my developer account I get 422 error "The requested action could not be performed, semantically incorrect, or failed business validation". Event type "POST /v2/checkout/orders/08T93710AA8717544/capture". The response I get is : { "additional_properties": {}, "body": { "name": "UNPROCESSABLE_ENTITY", "details": [ { "issue": "COMPLIANCE_VIOLATION", "description": "Transaction cannot be processed due to a possible compliance violation. To get more information about the transaction, call Customer Support." } ], "message": "The requested action could not be performed, semantically incorrect, or failed business validation.", "debug_id": "f8374787a38ad", "links": [ { "href": "https://developer.paypal.com/docs/api/orders/v2/#error-COMPLIANCE_VIOLATION", "rel": "information_link", "method": "GET" } ] }, "duration_time": "xxxxxx", "header": { "APPLICATION_ID": "APP-80W284485P519543T", "Access-Control-Expose-Headers": "xxxxxx", "BORDER-IP": "xxxxxx", "CALLER_ACCT_NUM": "HTYQJ9MBNFXXW", "Date": "Sun, 08 Se[Removed. Phone #s not permitted]GMT", "Keep-Alive": "xxxxxx", "PROCESSING-IP": "xxxxxx", "SERVER_INFO": "xxxxxx", "Server-Timing": "xxxxxx", "paypal-debug-id": "f8374787a38ad" }, "status": 422 }. Can anyone please help me figure out what the problem is?
- Labels:
-
Receiving Money
-
Recurring Payments
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for reaching out to our Paypal community.
I found out that the problem happened because your account shows the seller is from 'AL' (Albania). PayPal can’t work with some countries, like Albania, because of regulatory reasons.
This means , Paypal transactions cannot be processed nor can any balance be maintained in the Paypal accounts from these locations. This brings Albania under the category of 'PayPal Zero Countries' where no financial transactions can be facilitated for any reason.
Thank you so much for your patience and understanding.
Best regards,
Robbin Gandhi
PayPal, Inc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @Grendalf ,
Thank you for posting to the PayPal Sandbox Community. Since the account you are testing is a Sandbox Account, I manually enabled auto sweep. This should resolve the issue that you have been facing with sandbox. Going forward you should be able to test payment processing without issues.
The sandbox account is in a region that requires auto sweep to be enabled, so whenever its disabled you receive that exact error message. Once you move to live, make certain that you click on the notification bell in the live account and a card or bank so you can setup auto sweep. That will ensure that you do not face this issue in your live PayPal Account.
Thank you,
Jennifer
MTS
PayPal
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Paypal Error on WooCommerce for credit card payments in Argentina in REST APIs
- Paypal Error on WooCommerce for credit card payments in Argentina in REST APIs
- Receiving APPROVED Webhooks for Order, but capture leads to 404 or ORDER_NOT_APPROVED in REST APIs
- OXXO payment source error PAYEE_COUNTRY_NOT_SUPPORTED_FOR_PAYMENT_SOURCE error in production in REST APIs