I'm getting the following error when attempting to create an Order in a Live Application:
{
"issue": "PAYEE_NOT_ENABLED_FOR_CARD_PROCESSING",
"description": "Payee account is not setup to be able to process card payments. Please contact PayPal customer support."
}
I did not get this error when building out the API in the Sandbox environment, I've tried to contact support multiple times, at this time I've spoken to over 5 different support representatives and bounced around between various departments but no one seems to be able to point me in the right direction as to how I can address this account restriction.
I'm sending in the following request:
curl -v -X POST https://api-m.paypal.com/v2/checkout/orders \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <Access-Token>" \
-H "PayPal-Request-Id: ######" \
-d '{
"intent": "AUTHORIZE",
"purchase_units": [
{
"reference_id": "d9f80740-38f0-11e8-b467-0ed5f89f718b",
"amount": {
"currency_code": "USD",
"value": "100.00"
}
}
],
"payment_source": {
"card": {
"number": "4111111111111111",
"expiry": "2023-02",
"billing_address": {
"postal_code": "95131",
"country_code": "US"
}
},
"stored_credential": {
"payment_initiator": "MERCHANT",
"payment_type": "ONE-TIME",
"usage": "DERIVED"
}
}
}'
The expectation is that users can enter in their card details through a Phone IVR that data gets passed off to Paypal in the form of an order for a transaction to processed. I tested the workflow in the Sandbox and it worked just fine, but for some reason it just does not work in the Live App.
CodePudding user response:
The integrate card payments documentation has a note that says:
- Before you go live, you need to complete production onboarding to be eligible to process cards with your live PayPal account.