-
Notifications
You must be signed in to change notification settings - Fork 661
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
PaymentSheet set default values on form #4909
PaymentSheet set default values on form #4909
Conversation
…t method will take precedence ofver the default billing address in the PaymentSheet.Configuration
…e prepopulated values are only set on the last selected LPM
Diffuse output:
APK
MANIFEST
DEX
ARSC
|
|
||
@Before | ||
fun before() { | ||
device = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like we have a lot of duplicate code across our tests. Not in this PR, but maybe we should build a base test case class in the future? I might look into it as a part of my work (or add to the problem)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, fair point, sounds good
Summary
When using the multi-step PaymentSheet, if Card is selected when the user presses select again the fields will pre-populate. This also helps in pre-populating when using any PaymentSheet flow and moving between the returning user and adding a new payment method flows.
Testing
Changelog