Skip to content

Commit

Permalink
fix: fix total send to payment gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatasoli committed Oct 21, 2024
1 parent 11c696d commit e33f3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/cart/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand Down

0 comments on commit e33f3d6

Please sign in to comment.