Closed jkblgithub closed 4 years ago
I have the same issue and I don't have any idea the reason, why is happening.
I think this lib is no longer supported. Use the paypal/braintree express checkout instead : https://developer.paypal.com/docs/accept-payments/express-checkout/ec-braintree-sdk/get-started/
@jkblgithub I can't use it, because the app where I have to integrate is in Mexico and Braintree is not available for that country.
I think this lib is no longer supported. Use the paypal/braintree express checkout instead : https://developer.paypal.com/docs/accept-payments/express-checkout/ec-braintree-sdk/get-started/
You dont need a braintree account to use it, just paypal. It’s all in the docs i linked
@jkblgithub I will need to implement extra functionality from my server side, right? because I'm using version 2 (/orders and /payments)from PayPal API, and Braintree is requesting me a clientTokenOrTokenizationKey , If I am creating a order with: https://developer.paypal.com/docs/api/orders/v2/
I will need create the order using Braintree server SDK again and get the client token and proceed to process the payment using Braintree.
Thanks,
Yes, you will need to get a token from braintree at the start of every session. We dont use orders, we simply do a transaction.sale on the server after the user got a nonce in the app after completing the paypal payment details.
Hi,
We are trying to test a sandbox transaction. We use your REST API to generate an order_id server side, which we then use to launch the checkout as follows:
Unfortunately, we get the screen as per the attached image. Could you please advise as to the possible cause?
Kind regards,
Juan