react-native-payments
react-native-payments copied to clipboard
Braintree is not a supported gateway
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?
Hi @indigomelody, we'll have an update 0.8 released in a couple of days that will hopefully solve this problem for you!
Hi , any updates about this ? having the same issue while tokenizing the payment.
braintree not working at all.
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