cancel
Showing results for 
Search instead for 
Did you mean: 

UNAUTHORIZED_PAYMENT

Member

UNAUTHORIZED_PAYMENT

Hi,

 

I have issues with Direct Credit Card processing via REST API, so..

 
Given:

  • PayPal Pro account
  • PayPal REST API
  • Live mode
  • Location - US

Request:

POST https://api.paypal.com/v1/payments/payment
(with correct Auth Token)
{
    "intent": "authorize",
    "payer": {
    "payment_method": "credit_card",
    "funding_instruments": [
        {
            "credit_card_token": {
                "credit_card_id": "CARD-XXXXXXXXXX",
                "payer_id": "57ecbbed656c78519a28382c"
            }
        }]
        },
        "transactions": [
            {
                "amount": {
                    "total": "1.00",
                    "currency": "EUR"
                },
            "description": "This is the payment transaction description."
        }
    ]
}


Response:

{
    "name": "UNAUTHORIZED_PAYMENT",
    "message": "Unauthorized payment.",
    "information_link": "https://developer.paypal.com/docs/api/payments/#errors",
    "debug_id": "de45420a91ac2"
}


What's wrong with that?

Also, in legacy topics often can see "Enable Direct Credit Card processing" option, which is not exists on my dashboard.

Please help -)
 

 

1 REPLY 1
New Community Member

Re: UNAUTHORIZED_PAYMENT

Any updates? I am having same issue