Cannot use live access token

tncthien
Contributor
Contributor

I use this live access token in the place as the below image.

Screen Shot 2017-08-31 at 11.13.19 AM.png

 

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.

 

 

Login to Me Too
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.