From e33f3d66a2117a39528909162dc85a7eb2e67471 Mon Sep 17 00:00:00 2001 From: Jonatas Oliveira Date: Mon, 21 Oct 2024 21:01:49 +0200 Subject: [PATCH] fix: fix total send to payment gateway --- app/cart/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cart/tasks.py b/app/cart/tasks.py index 89762e07..5dfca570 100644 --- a/app/cart/tasks.py +++ b/app/cart/tasks.py @@ -105,7 +105,7 @@ async def checkout( bootstrap.payment.create_credit_card_payment( payment_gateway=cart.gateway_provider, customer_id=cart.customer_id, - amount=cart.subtotal, + amount=cart.total, card_token=cart.card_token, installments=cart.installments, customer_email=user['email'],