Skip to content

fix(payments-next): [Link] New Link default payment method is not added if "Email" and "Mobile number" fields are populated in the "Manage payment methods" page#20148

Open
elizabeth-ilina wants to merge 1 commit intomainfrom
PAY-3564-link-new-link-default-payment-method-is-not-added-if-email-and-mobile-number-fields-are-populated-in-the-manage-payment-methods-page
Open

fix(payments-next): [Link] New Link default payment method is not added if "Email" and "Mobile number" fields are populated in the "Manage payment methods" page#20148
elizabeth-ilina wants to merge 1 commit intomainfrom
PAY-3564-link-new-link-default-payment-method-is-not-added-if-email-and-mobile-number-fields-are-populated-in-the-manage-payment-methods-page

Conversation

@elizabeth-ilina
Copy link
Contributor

@elizabeth-ilina elizabeth-ilina commented Mar 5, 2026

Because

  • When user wants to save Payment method as Link, it saves as card instead.

This pull request

  • Removes setupFutureUsage: 'off_session' from StripeElementsOptions. It's also redundant, since we have mode: 'setup' there already.

Issue that this pull request solves

Closes #PAY-3564

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Any other information that is important to this pull request.

…ed if "Email" and "Mobile number" fields are populated in the "Manage payment methods" page

Because:

* When user wants to save Payment method as Link, it saves as card instead.

This commit:

* Removes setupFutureUsage: 'off_session' from StripeElementsOptions. It's also redundant, since we have mode: 'setup' there already.

Closes #[PAY-3564](https://mozilla-hub.atlassian.net/browse/PAY-3564)
@elizabeth-ilina elizabeth-ilina marked this pull request as ready for review March 5, 2026 21:38
@elizabeth-ilina elizabeth-ilina requested a review from a team as a code owner March 5, 2026 21:38
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.

1 participant