Open undeadborn opened 2 months ago
I've the same issue in the Android SDK: https://github.com/stripe/stripe-android/issues/9210
Same problem here! This bug was fixed on stripe-android a month ago. Please, could you take the fix to this repo to comply with the EU regulation? Thanks!
Describe the bug
Looks like co-branded cards are not working as expected on android.
If user selects any of the brands available in the dropdown, the response for
preferredNetwork
is always null.If we force a default option programmatically through the
preferredNetworks
property, the result is the same.The response is always null regardless of what we do.
I tested the functionality on iOS and it works fine there.
To Reproduce
This can be reproduced using the
example
folder from the project.Steps to reproduce the behavior:
CardField
withpreferredNetworks={[CardBrand.CartesBancaires, CardBrand.Visa]}
4000002500001001
"preferredNetwork": null
Expected behavior
The preferred network manually selected or the default provided through preferredNetworks property must be used
Screenshots
screenshot from emulator
screenshot from test server logs
Smartphone:
Additional context