You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
PaymentCardTextField prompts the user to enter a zip / postal code, which is great. However, the onChange() callback doesn't seem to surface this field. (Or I'm looking in the wrong place).
Environment
tipsi-stripe version: 9.0.0
iOS or Android: iOS
OS version: 11.0+
React-Native version: 0.63.3
Code To Reproduce Issue (Good To Have)
classAddCardFormContainerextendsComponent{handleOnChange=(event)=>{console.info("Looking at event: ",event);};render(){return(<PaymentCardTextFieldonChange={this.handleOnChange}/>);}}
Once all the fields are entered, even the zip code, this outputs something like:
Earlier version of PaymentCardTextField didn't require the zipCode, I'd suggest rolling back. This issue is referenced here: #641 and it was labeled with Won't fix.
Personally, I would love a prop on the component to hide/disable the zipCode field as the UI fitting all these fields into the horizontal input is getting cumbersome and crowded. With the zipCode field hidden at first, it's often completely overlooked and the user is left confused.
Closing this ticket, so that new users don't think this project is still active.
Stripe does not want you using this, and you will find pain if you do; Please migrate to the official @stripe/stripe-react-native package, for your user's safety, and your developer's sanity!
The problem
PaymentCardTextField
prompts the user to enter a zip / postal code, which is great. However, theonChange()
callback doesn't seem to surface this field. (Or I'm looking in the wrong place).Environment
tipsi-stripe
version: 9.0.0Code To Reproduce Issue (Good To Have)
Once all the fields are entered, even the zip code, this outputs something like:
Is there a way to get this postalCode out of AddCardFormContainer? Thanks in advance.
The text was updated successfully, but these errors were encountered: