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

validateExpiryDate always returns false on iOS #91

Closed
Jud-Ken-Do opened this issue Aug 11, 2021 · 2 comments
Closed

validateExpiryDate always returns false on iOS #91

Jud-Ken-Do opened this issue Aug 11, 2021 · 2 comments

Comments

@Jud-Ken-Do
Copy link

Describe the bug
On the version 1.1.0 the validateExpiryDate always returns false on iOS

To Reproduce

const date: ValidateExpiryDateOptions = {
exp_month,
exp_year
}

async validateExpiry(date: ValidateExpiryDateOptions) {
return await Stripe.validateExpiryDate(date);
}

Expected behavior
validateExpiry return false even for valid dates

Additional context
I'm aware that there is a new version, but for now I'm working using capacitor v2, is it possible to know where I can fix the swift code.
Thank you :)

@rdlabo
Copy link
Member

rdlabo commented Aug 28, 2021

I see v2's validateExpiryDate method is not be implements. ( only always return false )

@rdlabo rdlabo closed this as completed Sep 2, 2021
@rdlabo
Copy link
Member

rdlabo commented Jan 19, 2022

@Jud-Ken-Do Did you adapt this plugin for production? If yes, please tell us what app. Please help us to develop this plugin in 2022.
#145
Thanks.

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