1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-28 09:24:24 +01:00

(bug) unable to subscribe with a payment schedule using PayZen

This commit is contained in:
Sylvain 2023-04-05 10:19:07 +02:00
parent 6b98f21300
commit e863dda151
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
- Italian language support (credits to https://crowdin.com/profile/olazzari)
- Improved error message on payzen misconfigured currency
- Improved reporting error messages in UI, from ruby exceptions
- Fix a bug: unable to subscribe with a payment schedule using PayZen
- Fix a bug: unable to list supporting documents types for a deleted group
- Fix a bug: notification is broken when updating payzen currency
- Fix a bug: broken admin notifications if an order has been paid

View File

@ -28,7 +28,7 @@ class PayZen::Service < Payment::Service
params[:initial_amount] = payzen_amount(first_item.amount)
params[:initial_amount_number] = 1
end
pz_subscription = client.create_subscription(params)
pz_subscription = client.create_subscription(**params)
# save payment token
pgo_tok = PaymentGatewayObject.new(