You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing out the subscription cancel functionality (in both CP and example template) this error showed up. The subscription in Stripe is successfully canceled, but not in Craft Commerce. Therefore the subscriptions are now out of sync. I've tested both immediate cancellation and by end of period. While immediate cancellation only cancels the Stripe Subscription, the one for end of period seems to work after a reload, but both show this error.
Is there a way to get Stripe and Craft Subscriptions in sync again?
Thanks a lot!
Steps to reproduce
Setup Craft 4 with Commerce Light
Add Stripe Plugin
Setup 2 Products in Stripe, each with 2 Prices (monthly/yearly)
Make 4 Plans in Craft Commerce and assign the 4 pricing variants.
Copy example Twig Templates accordion to docs.
Login as a User (any)
Subscribe to one of the plans
Try to cancel the subscription in CP or FE (the error appears in both cases)
Reload after error and compare Stripe to Commerce Subscriptions panel.
Expected behavior
Error should not get Stripe and Commerce out of sync. Either prevent both cancellations or try to sync when trying to cancel the already canceled subscription again.
Actual behavior
Subscription gets canceled in Stripe, but not Craft
Craft CMS version
4.0.3
Craft Commerce version
4.0.1
PHP version
8.1.6
Operating system and version
Linux 5.10.76-linuxkit (Craft Nitro)
Database type and version
MySQL 8.0.24
Image driver and version
No response
Installed plugins and versions
"craftcms/commerce": "4.0.1"
"craftcms/commerce-stripe": "3.0.0"
"verbb/formie": "2.0.0-beta.10"
The text was updated successfully, but these errors were encountered:
What happened?
Description
While testing out the subscription cancel functionality (in both CP and example template) this error showed up. The subscription in Stripe is successfully canceled, but not in Craft Commerce. Therefore the subscriptions are now out of sync. I've tested both immediate cancellation and by end of period. While immediate cancellation only cancels the Stripe Subscription, the one for end of period seems to work after a reload, but both show this error.
Is there a way to get Stripe and Craft Subscriptions in sync again?
Thanks a lot!
Steps to reproduce
Expected behavior
Actual behavior
Craft CMS version
4.0.3
Craft Commerce version
4.0.1
PHP version
8.1.6
Operating system and version
Linux 5.10.76-linuxkit (Craft Nitro)
Database type and version
MySQL 8.0.24
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: