-
Notifications
You must be signed in to change notification settings - Fork 269
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
[Bug] [Android] CardField onCardChange not triggering in React Native Stripe #1812
Comments
Same issue, the new architecture is being a huge problem for this library. |
Same! |
Same, is anyone trying to implement payment element instead? |
Here is a patch that works with fabric enabled app on Android: @stripe-stripe-react-native-npm-0.41.0-7a76d4dacd.patch It also includes the patch for #1732 with slight modifications. Here is the reference: |
kaushil111
pushed a commit
to kaushil111/stripe-react-native
that referenced
this issue
Jan 27, 2025
…t Native Stripe - Updated CardChangedEvent and CardFocusEvent to conform to the Fabric protocol - Updates the dispatcher in CardFieldView to Fabric compatible code - Checks the id of the view before dispatching the events in a case where the event is fired before the render is complete, thereby causing the id to be -1. This also leads to the following error > Maximum call stack size exceeded (native stack depth) No stack
4 tasks
kaushil111
added a commit
to kaushil111/stripe-react-native
that referenced
this issue
Jan 31, 2025
…ct Native Stripe - Updated CardChangedEvent and CardFocusEvent to conform to the Fabric protocol - Updates the dispatcher in CardFieldView to Fabric compatible code - Checks the id of the view before dispatching the events in a case where the event is fired before the render is complete, thereby causing the id to be -1. This also leads to the following error > Maximum call stack size exceeded (native stack depth) No stack
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
The CardField component's onCardChange callback is not triggering when entering card details. No values are being received in the callback function, making it impossible to capture and validate card information.
To Reproduce
Steps to reproduce the behavior:
Code example:
Screenshot
Expected behavior
Smartphone (please complete the following information):
Additional context
Possible Workarounds Needed
Looking for either:
The text was updated successfully, but these errors were encountered: