-
Notifications
You must be signed in to change notification settings - Fork 995
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
Show checkbox for sepa based payment methods to set allow_redisplay #4503
base: master
Are you sure you want to change the base?
Conversation
61ebf8d
to
553de95
Compare
dc175c4
to
e7e31ea
Compare
eeffed4
to
e7c2c53
Compare
@@ -30,7 +30,7 @@ class PaymentSheetVerticalUITests: PaymentSheetUITestCase { | |||
settings.mode = .setup | |||
settings.customerMode = .new | |||
settings.currency = .eur | |||
settings.customerKeyType = .legacy // TODO: Change to customerSessions when adding save checkbox for SEPA |
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 also see a TODO like this in PaymentSheetStandardLPMUIOneTests.testSEPADebitPaymentMethod_PaymentSheet. Should we update that one too?
format: STPLocalizedString( | ||
"Save this account for future %@ payments", | ||
"Prompt next to checkbox to save bank account." | ||
), |
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 see this string and comment hardcoded twice in this file, should we move it to String.Localized?
Summary
Adds the consent checkbox for sepa based payment methods when saving and customerSession.features.payment_method_save is set to enabled.
Motivation
allow_redisplay value is not being set for sepa based payment methods
Testing
existing tests & will add additional tests.
Changelog