react-native-payments icon indicating copy to clipboard operation
react-native-payments copied to clipboard

Braintree is not a supported gateway

Open indigomelody opened this issue 3 years ago • 4 comments

Creating a payment with Braintree returns an Braintree is not a supported gateway error.

My code is as follows;

const METHOD_DATA = [ { supportedMethods: ['apple-pay'], data: { merchantIdentifier: 'merchant.com.zebr', supportedNetworks: ['visa', 'mastercard', 'amex'], countryCode: 'GB', currencyCode: 'GBP', paymentMethodTokenizationParameters: { parameters: { gateway: 'braintree', 'braintree:tokenizationKey': 'your_tokenization_key', }, }, }, }, ];

I have tried installing the addon react-native-payments-addon-braintree, but it seems to break the entire build.

Any ideas?

indigomelody avatar Sep 04 '20 15:09 indigomelody

Hi @indigomelody, we'll have an update 0.8 released in a couple of days that will hopefully solve this problem for you!

nabilfreeman avatar Nov 16 '20 19:11 nabilfreeman

Hi , any updates about this ? having the same issue while tokenizing the payment.

GFean avatar Apr 03 '21 01:04 GFean

braintree not working at all.

henrycheung19 avatar Apr 21 '21 11:04 henrycheung19

I was able to solve this problem, since I also use react-native-dropin-ui in my project, I took some source code from there and implementations of library as well. You can see this repository forked on my github. Feel free to use it or ask some questions

GFean avatar Apr 21 '21 12:04 GFean