fix(medusa-payment-klarna, medusa-payment-stripe, medusa-payment-paypal): Totals calculation (#2381)

This commit is contained in:
Sebastian Rindom
2022-10-08 10:53:19 +02:00
committed by GitHub
parent 5f2bc975cb
commit a908a7716c
8 changed files with 157 additions and 198 deletions
@@ -135,9 +135,7 @@ class StripeProviderService extends AbstractPaymentService {
.withTransaction(this.manager_)
.retrieve(region_id)
const amount = await this.totalsService_
.withTransaction(this.manager_)
.getTotal(cart)
const amount = cart.total
const intentRequest = {
description: