Integrating brantree sdk

talb
Contributor
Contributor

Hi,

 

I'm trying to integrate paypal Express Checkout with braintree sdk to my nodejs server side (the client side will be integrated in the future) and I want to test my integration.

I have faciltator sandbox business user that I created to check the integration.

 

according to the integration docs, the connect should be like :

let gateway = braintree.connect({
accessToken: <faciltator_access_token>
});

Now, I success on connection with braintree.connect, but I need nonce to transaction.sale operaion. how can I generate nonce without client?

 

moreover, I tried with "fake-valid-nonce" which works for brantree sandbox user. but on paypal sandobox user I get : Payment instrument type is not accepted by this merchant account. (maybe the problem is with the sandbox account configurations?)

 

 

So, there is a way to test my server side without a client genereated nonce for paypal sandbox user?

 

Thanks in advance!

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.