diff --git a/src/Library/Economy/Payment/WalletGateway.php b/src/Library/Economy/Payment/WalletGateway.php index 58bbb1a..4167a77 100644 --- a/src/Library/Economy/Payment/WalletGateway.php +++ b/src/Library/Economy/Payment/WalletGateway.php @@ -72,7 +72,7 @@ public function handleWebhook(Request $request): Response private function getChargeTotal(GatewayCheckout $checkout): Money { $total = new Money(0, $checkout->getOrigin()->getCurrency()); - + $charges = $checkout->getCharges(); foreach ($charges as $charge) { $total = $this->money->add($charge->getMoney(), $total);