diff --git a/Service/PaymentSessionService.php b/Service/PaymentSessionService.php index ee7453de..f2ca25b2 100644 --- a/Service/PaymentSessionService.php +++ b/Service/PaymentSessionService.php @@ -230,6 +230,12 @@ private function buildPaymentSession(string $checkoutId, Quote $quote): PaymentS } if ($paymentSessionInput->getRequiresShipping() === true) { $paymentSessionInput->setShippingAddress($this->buildAddress($quote->getShippingAddress())); + $paymentSessionInput->setShippingTotal( + $this->buildAmount( + $quote->getShippingAddress()->getShippingAmount(), + $currency + ) + ); } return $paymentSessionInput; }