Include Link in Polling Budget#6341
Merged
jkelle-stripe merged 1 commit intomasterfrom Apr 29, 2026
Merged
Conversation
e13b78d to
d6742bc
Compare
d6742bc to
c0a15e8
Compare
Collaborator
|
@jkelle-stripe does this change have any impact on Link payments that don't require "next actions"? |
Contributor
Author
@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). |
c0a15e8 to
3912d01
Compare
3912d01 to
720a9d8
Compare
mats-stripe
approved these changes
Apr 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 thereturn_urlstrictly after the the payment intent succeeds. This results in the web view closing and the payment intent state remaining atconfirmwithout 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
linktypes, we work around this bug and will readdress once this bug is resolved.Demos
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