stripe / stripe-react-native

React Native library for Stripe.
https://stripe.dev/stripe-react-native
MIT License
1.29k stars 263 forks source link

Is .cartesBancaires as additionalEnabledApplePayNetworks already supported ? #1647

Closed huextrat closed 5 months ago

huextrat commented 7 months ago

Is your feature request related to a problem? Please describe. Is additionalEnabledApplePayNetworks already compatible with cartesBancaires network ?

https://github.com/stripe/stripe-react-native/blob/36d9d3f54d815279e3e3a1eab3b85309fcccd883/ios/ApplePayUtils.swift#L21-L24

Describe the solution you'd like Pass additionalEnabledNetworks: ["cartesBancaires"], in params of createPlatformPayPaymentMethod

tgensol commented 5 months ago

Up please @charliecruzan-stripe

charliecruzan-stripe commented 5 months ago

Hi! This is already supported, we accept any string value and then turn it into a PKPaymentNetwork in the swift layer with https://developer.apple.com/documentation/passkit_apple_pay_and_wallet/pkpaymentnetwork/2092174-init

tgensol commented 5 months ago

@charliecruzan-stripe is it .cartesBancaires or cartesBancaires ? It is not clear what we need to pass.

(But both are not working on our side)

charliecruzan-stripe commented 5 months ago

should be cartesBancaires, what version are you using?

huextrat commented 5 months ago

Hi @charliecruzan-stripe, we have tried both cartesBancaires & .cartesBancaires. Whatever value we use, we get the same result: the "cartes bancaires" network is not used when using a card compatible with this network.

We are currently using version 0.37.3: https://github.com/stripe/stripe-react-native/releases/tag/v0.37.3