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

Update StripeIntentResult's Status logic #1275

Merged
merged 2 commits into from
Jul 31, 2019
Merged

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

  • Only explicitly set status for 3DS2 result, remove elsewhere
    (i.e. PaymentAuthWebViewActivity, PaymentRelayStarter)
  • When status is UNKNOWN or not explicitly set,
    determine the status based on the StripeIntent's state

Motivation

Fixes #1271

Testing

Tested manually on both 3DS2 & 3DS1

- Only explicitly set status for 3DS2 result, remove elsewhere
  `PaymentAuthWebViewActivity`, `PaymentRelayStarter`
- When status is `UNKNOWN` or not explicitly set,
  determine the status based on the StripeIntent's state

Fixes #1271
@mshafrir-stripe mshafrir-stripe merged commit 70b3ede into master Jul 31, 2019
@mshafrir-stripe mshafrir-stripe deleted the init-status branch July 31, 2019 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect status for failed 3DS1
4 participants