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

[Android] With CardField when the card is completed and then uncomplete the flag does not change #237

Closed
scesbron opened this issue May 19, 2021 · 1 comment · Fixed by #245
Labels
bug Something isn't working P1 Address these issues second

Comments

@scesbron
Copy link

Describe the bug
With CardField I enter a valid card and then remove some data or change the card number to something invalid. In the card details returned by the CardField component

To Reproduce

  • Use the sample app
  • Go to the WebhookPayment screen
  • Enter valid data
  • remove some data or change the card number to something invalid
  • validate the form, the payment is ok

Expected behavior

  • When we validate the form with incorrect data the payment should not be ok

Smartphone (please complete the following information):

  • Android simulator
@scesbron
Copy link
Author

To be more precise

  • When I enter an invalid card number the last4 value stay with the value from the correct card number
  • When I remove the year the expiryYear value is updated but the complete value stay to true

@thorsten-stripe thorsten-stripe added bug Something isn't working P1 Address these issues second labels May 19, 2021
@thorsten-stripe thorsten-stripe changed the title With CardField when the card is completed and then uncomplete the flag does not change [Android] With CardField when the card is completed and then uncomplete the flag does not change May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P1 Address these issues second
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants