Skip to content

Update the Stripe SDK to the latest version and the Stripe API to the latest version#647

Merged
mitchelljkotler merged 20 commits into
masterfrom
update-payment-handling-stripe-lib
May 26, 2026
Merged

Update the Stripe SDK to the latest version and the Stripe API to the latest version#647
mitchelljkotler merged 20 commits into
masterfrom
update-payment-handling-stripe-lib

Conversation

@mitchelljkotler
Copy link
Copy Markdown
Member

Closes #644

This needs heavy testing on the review app to ensure new API calls function correctly

@allanlasser allanlasser temporarily deployed to squarelet-pi-update-pay-ej1wdb April 13, 2026 20:46 Inactive
@duckduckgrayduck duckduckgrayduck temporarily deployed to squarelet-pi-update-pay-jkocvg April 27, 2026 15:01 Inactive
@duckduckgrayduck
Copy link
Copy Markdown
Contributor

duckduckgrayduck commented Apr 29, 2026

Not within scope of this PR bc I think the payments frontend is on our goals to redesign shortly, one thing to note is that it is clunky that I have to remove a card on file first and then add a new card from within billing settings for it to stick. Approved PR with understanding checks will be fixed

@mitchelljkotler mitchelljkotler marked this pull request as ready for review May 11, 2026 20:20
mitchelljkotler and others added 16 commits May 20, 2026 11:49
process_overdue_invoice was calling organization.subscription_cancelled()
which always cancels the org's current subscription. When an overdue invoice
was linked to a different subscription (or had no subscription at all), this
cancelled the wrong subscription entirely.

- Change process_overdue_invoice to pass invoice.subscription explicitly
- Add optional subscription parameter to Organization.subscription_cancelled
- Skip cancellation when invoice has no linked subscription

Closes #672

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@mitchelljkotler mitchelljkotler force-pushed the update-payment-handling-stripe-lib branch from 12392b5 to eea8abf Compare May 20, 2026 17:12
@mitchelljkotler mitchelljkotler merged commit c31e1fa into master May 26, 2026
6 of 7 checks passed
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.

Update Stripe library and API versions

3 participants