naoufal / react-native-payments

Accept Payments with Apple Pay and Android Pay using the Payment Request API.
https://www.npmjs.com/package/react-native-payments
1.59k stars 412 forks source link

does supportedNetworks support chinaUnionPay? #270

Open xushaojuan opened 3 years ago

xushaojuan commented 3 years ago

I see the demo supportedMethods: ['apple-pay'], data: { merchantIdentifier: 'merchant.xxx.xxx', supportedNetworks: ['visa', 'mastercard', 'amex'], countryCode: 'CN', currencyCode: 'CNH' } but i want to know does the supportedNetworks support chinaUnionPay(chinese name 中国银联)? if can how to spell it ? I add 'chinaUnionPay' to the supportedNetworks array ,but i does not work! Looking forward to your reply!thanks!

xushaojuan commented 3 years ago

I got it.I spell it in Hump style。it cannot spell in 'chinaUnionPay'! must spell in lowercase!'chinaunionpay'! thanks!

nabilfreeman commented 3 years ago

Hi Xushaojuan, that's great news(真棒) - I'm glad you figured it out. Were you able to finish your implementation without any issues?

I would be interested in knowing about any other obstacles.