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

Does this library supports 'firstdata' Gateway?

Open giriprathap opened this issue 5 years ago • 2 comments

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.

giriprathap avatar Feb 18 '20 23:02 giriprathap

The library is dead

ramisalem avatar Sep 16 '20 12:09 ramisalem

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?

martin-richter-uk avatar Feb 11 '21 16:02 martin-richter-uk