Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onChangeCard is not working with react native 0.76 newArc #1801

Open
eman747 opened this issue Dec 23, 2024 · 1 comment
Open

onChangeCard is not working with react native 0.76 newArc #1801

eman747 opened this issue Dec 23, 2024 · 1 comment

Comments

@eman747
Copy link

eman747 commented Dec 23, 2024

"@stripe/stripe-react-native": "^0.40.0",

<CardField
postalCodeEnabled={false}
dangerouslyGetFullCardDetails={true}
placeholders={{number: '4242 4242 4242 4242'}}
cardStyle={styles.cardStyle}
style={styles.fieldStyle}
onCardChange={cardDetails => setCardDetails(cardDetails)}
/>
if i console cardDetails nothing prints. Please provide a fix it for both android and IOS
IOS crashed on cardfield newArch

@eman747 eman747 closed this as completed Dec 23, 2024
@eman747 eman747 reopened this Dec 23, 2024
@justynpollard1
Copy link

I'd suggest moving to using the new CustomerSheet Element or the PaymentElementSheet. There seems to be a number of issues with CardField with the new Arch and its a legacy component now so not sure if the the Stripe team will be fixing these issues or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants