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 PaymentMethodsActivity result and PaymentSession.handlePaymentData() logic #1820

Merged
merged 2 commits into from
Nov 13, 2019

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

PaymentMethodsActivity should use Activity.RESULT_CANCELED
when the user taps back via the toolbar or back button;
Activity.RESULT_OK otherwise.

This signals to the user what happened during in
PaymentMethodsActivity.

Motivation

Fixes #1806

Testing

Manually verified

…Data() logic

`PaymentMethodsActivity` should use `Activity.RESULT_CANCELED`
when the user taps back via the toolbar or back button;
`Activity.RESULT_OK` otherwise.

This signals to the user what happened during in
`PaymentMethodsActivity`.

Fixes #1806
@mshafrir-stripe mshafrir-stripe merged commit 06bf22e into master Nov 13, 2019
@mshafrir-stripe mshafrir-stripe deleted the fix-payment-session branch November 13, 2019 12:09
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.

Wrong behavior on select payment method.
5 participants