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

Merge branch 'dev' for release 5.1.4

This commit is contained in:
Du Peng 2021-07-09 18:08:59 +02:00
commit 47cfa1077c
3 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,9 @@
# Changelog Fab-manager # Changelog Fab-manager
## v5.1.4 2021 July 9
- Fix a bug: stripe 3D Secure payment
## v5.1.3 2021 July 2 ## v5.1.3 2021 July 2
- Fix a bug: missing hour format for norwegian - Fix a bug: missing hour format for norwegian
@ -30,6 +34,10 @@
- [TODO DEPLOY] `rails db:seed` - [TODO DEPLOY] `rails db:seed`
- [TODO DEPLOY] `rails fablab:maintenance:rebuild_stylesheet` - [TODO DEPLOY] `rails fablab:maintenance:rebuild_stylesheet`
## v5.0.9 2021 July 9
- Fix a bug: stripe 3D Secure payment
## v5.0.8 2021 June 28 ## v5.0.8 2021 June 28
- Ability to run `fablab:chain:all` non interactively - Ability to run `fablab:chain:all` non interactively

View File

@ -14,7 +14,7 @@ export default class StripeAPI {
} }
static async confirmIntent (paymentMethodId: string, cartItems: ShoppingCart): Promise<PaymentConfirmation|Invoice> { static async confirmIntent (paymentMethodId: string, cartItems: ShoppingCart): Promise<PaymentConfirmation|Invoice> {
const res: AxiosResponse = await apiClient.post('/api/payments/confirm_payment', { const res: AxiosResponse = await apiClient.post(`/api/stripe/confirm_payment`, {
payment_intent_id: paymentMethodId, payment_intent_id: paymentMethodId,
cart_items: cartItems cart_items: cartItems
}); });

View File

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