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

Fixes and testing for merchant-initiated repair flows #4522

Merged
merged 2 commits into from
Feb 3, 2025

Conversation

tillh-stripe
Copy link
Collaborator

@tillh-stripe tillh-stripe commented Jan 31, 2025

Summary

This pull request includes fixes for merchant-initiated repair flows in Financial Connections. We also now allow testing these flows from the playground by entering a customer and authorization ID.

Motivation

Testing

Changelog

Copy link

emerge-tools bot commented Jan 31, 2025

2 builds increased size, 6 builds had no size change

Name Version Download Change Install Change Approval
StripeSize
com.stripe.StripeSize
1.0 (1) 2.1 MB ⬆️ 6 B 6.9 MB - N/A
StripePaymentsSize
com.stripe.StripePaymentsSize
1.0 (1) 1.2 MB - 4.2 MB - N/A
StripePaymentsUISize
com.stripe.StripePaymentsUISize
1.0 (1) 1.9 MB ⬇️ 8 B 6.4 MB - N/A
StripePaymentSheetSize
com.stripe.StripePaymentSheetSize
1.0 (1) 3.8 MB - 11.1 MB - N/A
StripeIdentitySize
com.stripe.StripeIdentitySize
1.0 (1) 1.4 MB - 4.4 MB - N/A
StripeApplePaySize
com.stripe.StripeApplePaySize
1.0 (1) 488.9 kB - 1.7 MB - N/A
StripeFinancialConnectionsSize
com.stripe.StripeFinancialConnectionsSize
1.0 (1) 1.5 MB ⬆️ 1.9 kB (0.13%) 4.8 MB ⬆️ 3.9 kB (0.08%) N/A
StripeConnectSize
com.stripe.StripeConnectSize
1.0 (1) 1.7 MB ⬆️ 1.6 kB (0.1%) 5.4 MB ⬆️ 3.9 kB (0.07%) N/A

StripeSize 1.0 (1)
com.stripe.StripeSize

No changes to report

StripePaymentsSize 1.0 (1)
com.stripe.StripePaymentsSize

No changes to report

StripePaymentsUISize 1.0 (1)
com.stripe.StripePaymentsUISize

No changes to report

StripePaymentSheetSize 1.0 (1)
com.stripe.StripePaymentSheetSize

No changes to report

StripeIdentitySize 1.0 (1)
com.stripe.StripeIdentitySize

No changes to report

StripeApplePaySize 1.0 (1)
com.stripe.StripeApplePaySize

No changes to report

StripeFinancialConnectionsSize 1.0 (1)
com.stripe.StripeFinancialConnectionsSize

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 3.9 kB (0.08%)
Total download size change: ⬆️ 1.9 kB (0.13%)

Largest size changes

Item Install Size Change
📝 StripeFinancialConnections.NativeFlowController.pushPane(paramete... ⬆️ 3.1 kB
🗑 StripeFinancialConnections.NativeFlowController.pushPane(paramete... ⬇️ -1.6 kB
StripeFinancialConnections.PartnerAuthViewController.createdAuthS... ⬆️ 1.4 kB
Other ⬆️ 1.1 kB
View Treemap

Image of diff

StripeConnectSize 1.0 (1)
com.stripe.StripeConnectSize

⚖️ Compare build
⏱️ Analyze build performance

Total install size change: ⬆️ 3.9 kB (0.07%)
Total download size change: ⬆️ 1.6 kB (0.1%)

Largest size changes

Item Install Size Change
📝 StripeFinancialConnections.NativeFlowController.pushPane(paramete... ⬆️ 3.1 kB
🗑 StripeFinancialConnections.NativeFlowController.pushPane(paramete... ⬇️ -1.6 kB
StripeFinancialConnections.PartnerAuthViewController.createdAuthS... ⬆️ 1.4 kB
Other ⬆️ 1.1 kB
View Treemap

Image of diff


🛸 Powered by Emerge Tools

@tillh-stripe tillh-stripe force-pushed the tillh/fc-repair-flow branch 3 times, most recently from 2e5dd8c to 94eb9fb Compare January 31, 2025 21:34
@tillh-stripe tillh-stripe marked this pull request as ready for review February 3, 2025 13:51
@tillh-stripe tillh-stripe requested review from a team as code owners February 3, 2025 13:51
mats-stripe
mats-stripe previously approved these changes Feb 3, 2025
Copy link
Collaborator

@mats-stripe mats-stripe left a comment

Choose a reason for hiding this comment

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

LGTM - just some questions / suggestions

setNavigationControllerViewControllers([paneViewController], animated: animated)
} else if removeCurrent, let paneViewController {
let viewControllers = Array(navigationController.viewControllers.dropLast())
setNavigationControllerViewControllers(viewControllers + [paneViewController], animated: animated)
Copy link
Collaborator

Choose a reason for hiding this comment

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

In this scenario, is there a back button on the current pane? If so, pressing it would skip the immediately previous pane the user saw and go back two panes. Would this UX feel disjointed at all?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yep, that’s what will happen and is in line with the behavior on Web.

Add placeholder hints in text fields
@tillh-stripe tillh-stripe merged commit 8c6dd20 into master Feb 3, 2025
6 checks passed
@tillh-stripe tillh-stripe deleted the tillh/fc-repair-flow branch February 3, 2025 22:19
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