Not allowed to save cards with Payment Method Tokens Api in sandbox mode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to save card payment method using Payment Method Tokens Api in sandbox mode. For example i used American Express test card [removed], but when i try to create setup token of this card i get an error, see below.
name: 'NOT_AUTHORIZED',
message: 'Authorization failed due to insufficient permissions.',
debug_id: 'f72e6a41e9a4',
details: [{
issue: 'NOT_ENABLED_TO_VAULT_PAYMENT_SOURCE',
description: 'The API caller or the merchant on whose behalf the API call is initiated is not allowed to vault the given source. Please contact PayPal customer support for assistance.'
}]
I used the same card to create setup token, but with app based on US country, and it worked fine.
- Labels:
-
Payments REST APIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Sandbox testing has beaten me !! in Sandbox Environment
- Paypal express checkout, payment they error "Sorry, something went wrong. Please try again." in PayPal Payments Standard
- Change the button from Sandbox to Production in REST APIs
- Issue with Rendering Trustly Payment Button via PayPal JavaScript SDK in SDKs
- API TRANSACTION_REFUSED in Sandbox when Capturing Payment in REST APIs