Skip to content

Conversation

@StaberindeZA
Copy link
Contributor

Because

  • Retrieving upcoming invoices using customer and subscription fails for customers with a subscription set to cancel at period end.

This pull request

  • Updates query fetching an upcoming invoice to always behave as if the subscription is not set to cancel at period end.

Issue that this pull request solves

Closes: #PAY-3290

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)

image image image

Because:

- Retrieving upcoming invoices using customer and subscription fails for
  customers with a subscription set to cancel at period end.

This commit:

- Updates query fetching an upcoming invoice to always behave as if the
  subscription is not set to cancel at period end.

Closes #PAY-3290
@StaberindeZA StaberindeZA requested a review from a team as a code owner September 24, 2025 18:06
@StaberindeZA StaberindeZA merged commit af6ef24 into main Sep 24, 2025
19 checks passed
@StaberindeZA StaberindeZA deleted the pay-3290-sub-cancel-error branch September 24, 2025 19:01
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.

3 participants