UNAUTHORIZED_PAYMENT
expo
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Nov-21-2018
05:28 PM
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
aadilkeshwani
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar-13-2019
03:27 AM
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.