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:
commit
29827d1cda
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user