-
Notifications
You must be signed in to change notification settings - Fork 659
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
Fix issue where us_bank_account is present in payment sheet when financial connections sdk is not available #5215
Fix issue where us_bank_account is present in payment sheet when financial connections sdk is not available #5215
Conversation
4ec6a26
to
0c4951c
Compare
…ncial connections sdk is not available
0c4951c
to
f6581fb
Compare
Diffuse output:
APK
DEX
|
@@ -61,10 +63,20 @@ class LpmRepository @Inject constructor( | |||
} | |||
|
|||
@VisibleForTesting | |||
fun initialize(inputStream: InputStream?) { | |||
fun initialize( |
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.
You will have to remind me to do this when we read the specs from the server as well.
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.
I moved the object to the constructor instead, let me know if that changes anything
bb93b61
to
92e5745
Compare
Fix an issue where us_bank_account payment method is showing in payment sheet when the financial connections sdk is not available.
Summary
Added a check for
IsFinancialConnectionsAvailable
in LPM repository.Motivation
Make sure that the payment method is not available in payment sheet.
Testing
Can test by removing the financial connections gradle dependency in paymentsheet-example
Changelog