1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-08 02:54:18 +01:00

Merge branch 'dev' for release 6.3.39

This commit is contained in:
Du Peng 2025-02-03 15:34:13 +01:00
commit 041e579f29
3 changed files with 7 additions and 2 deletions

View File

@ -2,6 +2,10 @@
## Next release
## v6.3.39 2025 February 3
- Fix a bug: unable to cancel a PayZen subscription
## v6.3.38 2025 January 27
- Fix a bug: unable to update product low stock alert

View File

@ -70,7 +70,8 @@ class PayZen::Service < Payment::Service
raise "Cannot cancel transaction #{t['uuid']}" unless tr_res['answer']['detailedStatus'] == 'CANCELLED'
end
rescue PayzenError => e
raise e unless e.details['errorCode'] == 'PSP_010' # ignore if no order
# ignore if no order found and Subscription already canceled.
raise e unless e.details['errorCode'] == 'PSP_010' || e.details['errorCode'] == 'PSP_1099'
end
# then, we cancel the subscription

View File

@ -1,6 +1,6 @@
{
"name": "fab-manager",
"version": "6.3.38",
"version": "6.3.39",
"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",