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

PaymentSheet now always shows Apple Pay as a button above the saved P… #3543

Merged
merged 3 commits into from
Apr 30, 2024

Conversation

yuki-stripe
Copy link
Collaborator

@yuki-stripe yuki-stripe commented Apr 26, 2024

…Ms list, instead of inside the list. Previously, it only showed as a button if link was also shown as a button.

Summary

Before:
image

After:
CleanShot 2024-04-26 at 16 13 46@2x

Motivation

https://jira.corp.stripe.com/browse/MOBILESDK-1539

Testing

TBD

Changelog

  • [Changed] PaymentSheet displays Apple Pay as a button when there are saved payment methods and Link isn't available instead of within the list of saved payment methods.

…Ms list, instead of inside the list. Previously, it only showed as a button if link was also shown as a button.
@yuki-stripe yuki-stripe requested review from a team as code owners April 26, 2024 23:18
@@ -37,6 +37,7 @@ class PaymentSheetSnapshotTests: STPSnapshotTestCase {
var runAgainstLiveService: Bool = false
override func setUp() {
super.setUp()
// recordMode = true
Copy link
Contributor

Choose a reason for hiding this comment

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

Note that you can rerun these by choosing the "AllStripeFrameworks-RecordMode" scheme and running the test, you don't need to add this line anymore

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oooh thanks

@yuki-stripe yuki-stripe merged commit 031ae75 into master Apr 30, 2024
3 checks passed
@yuki-stripe yuki-stripe deleted the yuki/change-ps-apple-pay-in-savedpm-list branch April 30, 2024 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants