mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-26 20:54:21 +01:00
bug fix stripe 3D payment
This commit is contained in:
parent
6dd2fcdec3
commit
b5ab52dd64
@ -14,7 +14,7 @@ export default class StripeAPI {
|
||||
}
|
||||
|
||||
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,
|
||||
cart_items: cartItems
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user