react-native-payments
react-native-payments copied to clipboard
Does this library supports 'firstdata' Gateway?
As per your below code in Android it only supports two gateways 'stripe', 'braintree', does this library only supports these 2 types, I am in requirement of 'firstdata' gateway which supports for Payeezy payment Gateway.
supportedGateways: IS_ANDROID ? ['stripe', 'braintree'] // On Android, Payment Gateways are supported out of the gate. : ReactNativePayments ? ReactNativePayments.supportedGateways : [],
I modified the code of yours on my local working copy to ['stripe', 'braintree', 'firstdata'] and passed parameters to the library as below
var METHOD = [ { supportedMethods: fundingSource.type, data: { merchantIdentifier: this.merchantIdentifier, countryCode: this.countryCode, currencyCode: this.currencyCode, supportedNetworks: this.supportedNetworks, paymentMethodTokenizationParameters: {} } } ];
this._paymentRequest = new PaymentRequest(METHOD, DETAILS);
This works fine for me , I am able to get the required Tokens from Google.
Can you guys please include 'firstdata' in your supported gateways in NativePayments.js line 21 : ['stripe', 'braintree', 'firstdata'] .
Thanks for your support.
The library is dead
What do you do with that token afterwards? You just send it to their endpoint?
Could you share more details how you have achieved that?