mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +01:00
[bug] unable to process stripe payments with 3DS authentication
This commit is contained in:
parent
ccc99e9288
commit
9b90ff0482
@ -1,5 +1,9 @@
|
|||||||
# Changelog Fab-manager
|
# Changelog Fab-manager
|
||||||
|
|
||||||
|
## v4.7.13 2020 June 11
|
||||||
|
|
||||||
|
- Fix a bug: unable to process stripe payments with 3DS authentication
|
||||||
|
|
||||||
## v4.7.12 2021 June 09
|
## v4.7.12 2021 June 09
|
||||||
|
|
||||||
- Fix a bug: unable to process stripe payments
|
- Fix a bug: unable to process stripe payments
|
||||||
|
@ -34,7 +34,7 @@ class API::PaymentsController < API::ApiController
|
|||||||
}, { api_key: Setting.get('stripe_secret_key') }
|
}, { api_key: Setting.get('stripe_secret_key') }
|
||||||
)
|
)
|
||||||
elsif params[:payment_intent_id].present?
|
elsif params[:payment_intent_id].present?
|
||||||
intent = Stripe::PaymentIntent.confirm(params[:payment_intent_id], api_key: Setting.get('stripe_secret_key'))
|
intent = Stripe::PaymentIntent.confirm(params[:payment_intent_id], {}, { api_key: Setting.get('stripe_secret_key') })
|
||||||
end
|
end
|
||||||
rescue Stripe::CardError => e
|
rescue Stripe::CardError => e
|
||||||
# Display error on client
|
# Display error on client
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "fab-manager",
|
"name": "fab-manager",
|
||||||
"version": "4.7.12",
|
"version": "4.7.13",
|
||||||
"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.",
|
"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": [
|
"keywords": [
|
||||||
"fablab",
|
"fablab",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user