NewNo plan feeNo plan fee. Just 2.9% + $0.30 per card sale, and signing up is free.Try now →

PayPal · Decline codes

What does the PayPal COMPLIANCE_VIOLATION error mean?

Checked

PayPal's COMPLIANCE_VIOLATION error means the transaction was declined due to a compliance violation. PayPal gives no further detail, and retrying will not change the outcome. The buyer needs to use another payment method, and the merchant may need to check with PayPal if the error affects many payments.

PayPal description
Transaction is declined due to compliance violation.
Type
Hard decline
Who declined
PayPal
Retry
No
Shopper action
Use another payment method
Merchant action
Don't retry; contact PayPal if it recurs
PlatformDTC renewal (Smart retry)
Never retried; subscription cancelled at once

What PlatformDTC does

PlatformDTC treats COMPLIANCE_VIOLATION as always terminal: regardless of the store's retry setting, a renewal declined with it is cancelled immediately and never retried, recorded as an involuntary payment failure. The customer receives the subscription-ended email with a signed one-click link to manage their subscription.

Why it happens

PayPal declined for a compliance reason it doesn't disclose.

What the shopper can do

Pay with a card or another method.

What the store can do

Don't retry. If you see it often, ask PayPal what rule is being triggered.

For developers

details[0].issue = COMPLIANCE_VIOLATION. Treat it as final for that payment.

Frequently asked questions

Will COMPLIANCE_VIOLATION clear on retry?
No. PlatformDTC never retries it.
Who can explain a compliance violation?
Only PayPal; the merchant can ask through their PayPal account.

Sources

Related

Payments library