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

Bail to web-based Link when needed #4435

Draft
wants to merge 15 commits into
base: davidme/fix-concurrent-assertions
Choose a base branch
from

Conversation

davidme-stripe
Copy link
Contributor

Summary

Motivation

Testing

Changelog

tillh-stripe and others added 15 commits December 20, 2024 14:17
## Summary
<!-- Simple summary of what was changed. -->

This pull request fixes a snapshot issue introduced in
#4363.

## Motivation
<!-- Why are you making this change? If it's for fixing a bug, if
possible, please include a code snippet or example project that
demonstrates the issue. -->

## Testing
<!-- How was the code tested? Be as specific as possible. -->

## Changelog
<!-- Is this a notable change that affects users? If so, add a line to
`CHANGELOG.md` and prefix the line with one of the following:
    - [Added] for new features.
    - [Changed] for changes in existing functionality.
    - [Deprecated] for soon-to-be removed features.
    - [Removed] for now removed features.
    - [Fixed] for any bug fixes.
    - [Security] in case of vulnerabilities.
-->
## Summary
<!-- Simple summary of what was changed. -->

This pull request removes the space before the last4 again for bank and
SEPA.

## Motivation
<!-- Why are you making this change? If it's for fixing a bug, if
possible, please include a code snippet or example project that
demonstrates the issue. -->

## Testing
<!-- How was the code tested? Be as specific as possible. -->

## Changelog
<!-- Is this a notable change that affects users? If so, add a line to
`CHANGELOG.md` and prefix the line with one of the following:
    - [Added] for new features.
    - [Changed] for changes in existing functionality.
    - [Deprecated] for soon-to-be removed features.
    - [Removed] for now removed features.
    - [Fixed] for any bug fixes.
    - [Security] in case of vulnerabilities.
-->
…public key override. (#4379)

## Summary
- Ensures the financial connection integration uses the public key
override.
- Updates implementation to make it more testable.
## Summary
- Grabs the latest Swish and Revolut Pay assets
![Simulator Screenshot - iOS 18 - 2024-12-23 at 09 09
23](https://github.com/user-attachments/assets/0e391464-38ee-49c3-9e69-3e8ad1492a10)
<!-- How was the code tested? Be as specific as possible. -->
![Simulator Screenshot - iOS 18 - 2024-12-23 at 09 09
35](https://github.com/user-attachments/assets/500daf4d-b512-49ae-85c0-4826c77e9672)
![Simulator Screenshot - iOS 18 - 2024-12-23 at 09 09
37](https://github.com/user-attachments/assets/3181727c-40b4-41f1-87f2-29ddb4c4a996)
![Simulator Screenshot - iOS 18 - 2024-12-23 at 09 09
18](https://github.com/user-attachments/assets/6248d320-7269-442b-8846-01836a869501)


## Motivation
https://jira.corp.stripe.com/browse/RUN_MOBILESDK-3758

## Testing
- Manual

## Changelog
N/A
## Summary
<!-- Simple summary of what was changed. -->
Error text now 11pt (caption2)
8px after form instead of 4
## Motivation
<!-- Why are you making this change? If it's for fixing a bug, if
possible, please include a code snippet or example project that
demonstrates the issue. -->
https://jira.corp.stripe.com/browse/MOBILESDK-2884
## Testing
<!-- How was the code tested? Be as specific as possible. -->

![test_UpdatePaymentMethodViewControllerExpiredCard@3x](https://github.com/user-attachments/assets/e4acb6f7-6f79-480e-a7b2-f28d713eefcc)

## Changelog
<!-- Is this a notable change that affects users? If so, add a line to
`CHANGELOG.md` and prefix the line with one of the following:
    - [Added] for new features.
    - [Changed] for changes in existing functionality.
    - [Deprecated] for soon-to-be removed features.
    - [Removed] for now removed features.
    - [Fixed] for any bug fixes.
    - [Security] in case of vulnerabilities.
-->
## Summary
<!-- Simple summary of what was changed. -->
Remove button border width matches selectedBorderWidth, font matches
Save button.
## Motivation
<!-- Why are you making this change? If it's for fixing a bug, if
possible, please include a code snippet or example project that
demonstrates the issue. -->
https://jira.corp.stripe.com/browse/MOBILESDK-2882
## Testing
<!-- How was the code tested? Be as specific as possible. -->

![test_UpdatePaymentMethodViewControllerLightMode@3x](https://github.com/user-attachments/assets/c0ec03e5-b73b-4802-8800-f915ff5b8ffc)

## Changelog
<!-- Is this a notable change that affects users? If so, add a line to
`CHANGELOG.md` and prefix the line with one of the following:
    - [Added] for new features.
    - [Changed] for changes in existing functionality.
    - [Deprecated] for soon-to-be removed features.
    - [Removed] for now removed features.
    - [Fixed] for any bug fixes.
    - [Security] in case of vulnerabilities.
-->
…omatic (#4424)

## Summary
See title

## Motivation
It's the default API now so our playground should match.
…4373)

## Summary
<!-- Simple summary of what was changed. -->
Added a translucent mask over componentBackground color to make a
disabled appearance
## Motivation
<!-- Why are you making this change? If it's for fixing a bug, if
possible, please include a code snippet or example project that
demonstrates the issue. -->
https://jira.corp.stripe.com/browse/MOBILESDK-2880
## Testing
<!-- How was the code tested? Be as specific as possible. -->

![test_UpdatePaymentMethodViewControllerLightMode@3x](https://github.com/user-attachments/assets/ebdc0cbe-9d04-491c-b022-50701b6c3514)

![test_UpdatePaymentMethodViewControllerUSBankAccountDarkMode@3x](https://github.com/user-attachments/assets/f001b1ac-24db-47f1-bc91-8df89d158744)

![test_UpdatePaymentMethodViewControllerSEPADebitAppearance@3x](https://github.com/user-attachments/assets/88d8bf54-725b-480c-873e-1cda19660ec5)



## Changelog
<!-- Is this a notable change that affects users? If so, add a line to
`CHANGELOG.md` and prefix the line with one of the following:
    - [Added] for new features.
    - [Changed] for changes in existing functionality.
    - [Deprecated] for soon-to-be removed features.
    - [Removed] for now removed features.
    - [Fixed] for any bug fixes.
    - [Security] in case of vulnerabilities.
-->
## Summary
If the Link button is set to show the user's email address, then the
user logs out, the button would be blank. This is because we forgot to
unset `isHidden` on the payWithLink logo view when updating the UI.

## Testing
Manually in PS Example, and added a snapshot test.
## Summary
When the signup view appears, select the email field if it isn't already
populated.<

## Testing
In PS Example
Copy link

🚨 New dead code detected in this PR:

FinancialConnectionsPresenter.swift:21 warning: Parameter 'presentingViewController' is unused
PayWithLinkViewController-SignUpViewController.swift:244 warning: Parameter 'attestionError' is unused
PayWithLinkViewController-SignUpViewModel.swift:23 warning: Parameter 'attestionError' is unused
PayWithNativeLinkController.swift:126 warning: Parameter 'payWithLinkWebController' is unused

Please remove the dead code before merging.

If this is intentional, you can bypass this check by adding the label skip dead code check to this PR.

ℹ️ If this comment appears to be left in error, double check that the flagged code is actually used and/or make sure your branch is up-to-date with master.

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.

6 participants