PayPal Payments Plguin always gives me an error when proceeding to checkout.

Temp20231015u
Contributor
Contributor

I created a wordpress website with woocommerce and installed PayPal Payments Plugin but every time I complete the details of my card,

there's this error happening:

 

Failed to process the payment. Please try again or contact the shop admin. [UNPROCESSABLE_ENTITY] The requested action could not be performed, semantically incorrect, or failed business validation. https://developer.paypal.com/docs/api/orders/v2/#error-COMPLIANCE_VIOLATION

 

 

How can I solve this?

Login to Me Too
1 REPLY 1

MTS_Jennifer
Moderator
Moderator

Hello @Temp20231015u 

Thank you for posting to the PayPal Sandbox Community.

Since you are receiving this particular error, it means that the sandbox account is in a region that requires Auto transfers to be enabled.

 

Here are the steps to enabling auto transfers:

  • Log into your sandbox business account at https://sandbox.paypal.com
  • On the home page in the balance tile
  • Click on Set up auto transfers
  • Fill in general information
  • Click on Turn on automatic transfer

If you do not have a test bank or card listed in your sandbox account, you can generate a test card for your sandbox account.

Here are the steps:

  • Log into the Developer Dashboard at https://developer.paypal.com
  • Click on Credit card generator
  • Scroll down to the credit card generator
  • Change the Country or Region to the same region as your Sandbox account
  • Click Generate Credit Card
  • Take note of the test card information
  • Log into your Sandbox account at https://sandbox.paypal.com
  • Click on Pay & Get Paid
  • Click on Banks and Cards
  • Click Link new Card
  • Fill in the test card information
  • Click link card

After the card is added, you should be able to enable Auto transfers. Once Auto transfers is enabled in the sandbox account, you should be able to process test transactions.

 

Thank you,

Jennifer

MTS

PayPal

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.