Closed dmamaril closed 5 years ago
Hey, sorry for the late reply and thanks for the detailed report. Your setup seems correct. Googling your issue seems to point at a misconfiguration of your paypal merchant account. I double checked our config and under https://developer.paypal.com/developer/applications/ you should see a section named 'Express Checkout via Braintree SDK - Sandbox Accounts' where your sandbox credentials are. As for merchant ID it should be in https://www.paypal.com/businessprofile/settings ..
Ultimately though I think that the best thing you can do is get in touch with PayPal support as I think they would be best suited to help.
I am facing the same issue. May i know how you solved this?
I think the problem is with the token you are using. Try to print the error you are getting you will get more info about the problem.
In my case, it was the token (merchant not found). Try to use the token from this URL Create Token
If you don't get any error by using this token then the problem is with your token, It means your Braintree account is not connected with your PayPal account.
The solution is to link PayPal with your Braintree account How to link
I was into this.. this solves the problem. Paypal Integration
For all users who still struggling to solve this issue follow the below steps:
Thanks for that :)
@trimitrtechnologies Thanks a lot for the solution. https://github.com/smarkets/react-native-paypal/issues/10#issuecomment-635281813
@riso can you please add this steps in ReadMe in setup guide ?
Hi,
Unsure how to proceed... it's likely a braintree issue, but I just want to make sure I'm covering my bases. I've triple checked my merchantId, publicKey and privateKey and ensured that they're 100% correct, however I'm receiving a
merchant not found
error still.Braintree setup
createToken method
Click handler in UI
Any help would be greatly appreciated.