Cannot use live access token
tncthien
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Aug-30-2017
09:42 PM
I use this live access token in the place as the below image.
And this code on Nodejs to init braintree SDK.
this.braintree = braintree.connect({ accessToken: 'abc-xyz' })
after that, run this to generate the token for the client app
this.braintree.clientToken.generate({}, (err, response) => err ? reject(err) : resolve(response) )
When I use mobile SDK on android to authorize, it always shows this error
{"errorName":"AUTHORIZATION_ERROR","errorMessage":"Authorization error --- REFUSED_MARK_REF_TXN_NOT_ENABLED:This merchant account is not permitted to create Merchant Initiated Billing Agreement","debugId":"ca0f02187fe1e, ca0f02187fe1e","paypalHttpStatus":403}}
But everything is ok when I use the sandbox access token.
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Getting errors when integrating standard checkout with my web site. Probably a beginner problem. in SDKs
- Change the button from Sandbox to Production in REST APIs
- Cannot verify sandbox account with email verification in Sandbox Environment
- When I do PayPal capture Order, I keep on getting Invalid Request Connection in REST APIs
- How to integrate paypal smart buttons on cart page? in REST APIs