Skip to content

Include Link in Polling Budget#6341

Merged
jkelle-stripe merged 1 commit intomasterfrom
jkelle/polling-link
Apr 29, 2026
Merged

Include Link in Polling Budget#6341
jkelle-stripe merged 1 commit intomasterfrom
jkelle/polling-link

Conversation

@jkelle-stripe
Copy link
Copy Markdown
Contributor

@jkelle-stripe jkelle-stripe commented Apr 15, 2026

Summary

Adds Link in Payment Method Mode to the Polling Budget of 5 seconds.

Motivation

When Link is in Payment Method Mode and using a payment method that supports next_action_type: redirect_to_url (eg. Pix in this example), the backend currently does call the return_url strictly after the the payment intent succeeds. This results in the web view closing and the payment intent state remaining at confirm without an opportunity to refetch status.

This is a bug in the backend implementation for Pix, but won't be addressed prior to our intended release of Link LPMs on mobile. By adding Payment Method Mode polling for link types, we work around this bug and will readdress once this bug is resolved.

Demos

Before After
Simulator.Screen.Recording.-.iPhone.17.Pro.Max.-.2026-04-16.at.10.50.03.mov
Simulator.Screen.Recording.-.iPhone.17.Pro.Max.-.2026-04-16.at.10.51.16.mov

@jkelle-stripe jkelle-stripe changed the title Include Link in Polling Include Link in Polling Budget Apr 16, 2026
@jkelle-stripe jkelle-stripe marked this pull request as ready for review April 16, 2026 15:26
@jkelle-stripe jkelle-stripe requested review from a team as code owners April 16, 2026 15:26
@mats-stripe
Copy link
Copy Markdown
Collaborator

@jkelle-stripe does this change have any impact on Link payments that don't require "next actions"?

@jkelle-stripe
Copy link
Copy Markdown
Contributor Author

does this change have any impact on Link payments that don't require "next actions"?

@mats-stripe Good question. This polling budget is only used here which isn't reached for Card, Card w/ 3DS, or Bank txns. Let me know if I'm missing other payment method scenarios though (besides the LPMs of course).

@jkelle-stripe jkelle-stripe merged commit f0bf622 into master Apr 29, 2026
7 checks passed
@jkelle-stripe jkelle-stripe deleted the jkelle/polling-link branch April 29, 2026 13:17
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