Skip to content

fix(payments): Success page displays latest invoice details on a previous subscription#20748

Draft
xlisachan wants to merge 1 commit into
mainfrom
PAY-3111
Draft

fix(payments): Success page displays latest invoice details on a previous subscription#20748
xlisachan wants to merge 1 commit into
mainfrom
PAY-3111

Conversation

@xlisachan

Copy link
Copy Markdown
Contributor

Because

  • Prices change when refreshing the success page for a subscription that has been upgraded.

This pull request

  • For Stripe customers, retrieve the latest invoice for the subscription based on the PaymentIntent
  • For PayPal customers, retrieve the latest invoice for the subscription based on a given timestamp since there's no PaymentIntent available for PayPal

Issue that this pull request solves

Closes: PAY-3111

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.

@xlisachan xlisachan force-pushed the PAY-3111 branch 2 times, most recently from 6a0fe57 to d15ef7e Compare June 16, 2026 20:41
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