1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-04-07 22:54:11 +02:00

Merge branch 'dev' for release 6.3.46

This commit is contained in:
Du Peng 2025-03-31 12:37:31 +02:00
commit 29827d1cda
3 changed files with 8 additions and 2 deletions

View File

@ -2,6 +2,10 @@
## Next release
## v6.3.46 2025 March 31
- Fix a bug: unable to cancel stripe subscription canceled
## v6.3.45 2025 March 31
- Fix a bug: unable to cancel stripe subscription canceled

View File

@ -47,7 +47,9 @@ class Stripe::Service < Payment::Service
stp_subscription = payment_schedule.gateway_subscription.retrieve
Stripe::Subscription.delete(stp_subscription.id, {}, api_key: stripe_key) if stp_subscription.status != 'canceled'
return true if stp_subscription.status == 'canceled'
res = Stripe::Subscription.delete(stp_subscription.id, {}, api_key: stripe_key)
res.status == 'canceled'
end

View File

@ -1,6 +1,6 @@
{
"name": "fab-manager",
"version": "6.3.45",
"version": "6.3.46",
"description": "Fab-manager is the FabLab management solution. It provides a comprehensive, web-based, open-source tool to simplify your administrative tasks and your marker's projects.",
"keywords": [
"fablab",