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

Add Fragment support to payment confirmation/authentication flow #1289

Merged
merged 1 commit into from
Aug 2, 2019

Conversation

mshafrir-stripe
Copy link
Collaborator

Summary

  • Create AuthActivityStarter.Host class that represents an object
    that has startActivityForResult

  • Updated fragments example to demonstrate starting payment auth
    flow from a fragment and receiving the result

Motivation

Users with single-activity/multi-fragment architectures need fragment support

Testing

Added integration in Fragment Examples section of example app and tested with both 3DS2 and 3DS1

- Create `AuthActivityStarter.Host` class that represents an object
  that has `startActivityForResult`

- Updated fragments example to demonstrate starting payment auth
  flow from a fragment and receiving the result
@@ -65,7 +65,7 @@ android {

buildTypes {
debug {
minifyEnabled true
minifyEnabled false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this intentional?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah

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.

None yet

4 participants