Hi @vedon,
I haven’t seen this COMPLIANCE_VIOLATION
error before but it seems to be more related to the PayPal account itself.
If you were to receive this error in the live environment, you may need to add an auto-withdrawal method to the account (such as a bank account or local Visa card that supports withdrawals), among other possible reasons. You would have to contact PayPal for further support in identifying the reason for the violation.
If this is happening for you in the sandbox environment, I suggest trying it with a merchant account from a different country.
In any case, I’m not sure this error directly relates to the plugin, though the error message could be improved a bit.
You can collect more details about the error when enabling Logging in the plugin settings and then share the log with the debug ids with the PayPal Merchant Support.
I hope this helps!
Kind regards,
Niklas
原文链接:https://wordpress.org/support/topic/paypal-payments-error-the-requested-action-could-not-be-performed-semantically/