From 9e7d502d86e16b81bf407745380ca240f814577a Mon Sep 17 00:00:00 2001 From: Dinwy Date: Fri, 7 Jun 2024 14:17:31 +0900 Subject: [PATCH] Add missing customer name and email --- src/app/code/Komoju/Payments/Controller/HostedPage/Redirect.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/code/Komoju/Payments/Controller/HostedPage/Redirect.php b/src/app/code/Komoju/Payments/Controller/HostedPage/Redirect.php index c1469c3d8..228f1fa74 100644 --- a/src/app/code/Komoju/Payments/Controller/HostedPage/Redirect.php +++ b/src/app/code/Komoju/Payments/Controller/HostedPage/Redirect.php @@ -125,7 +125,9 @@ private function createHostedPageUrl() 'return_url' => $returnUrl, 'default_locale' => $this->config->getKomojuLocale(), 'payment_types' => [$paymentMethod], + 'email' => $order->getCustomerEmail(), 'payment_data' => [ + 'name' => $order->getCustomerName(), 'amount' => $order->getGrandTotal(), 'currency' => $currencyCode, 'external_order_num' => $externalOrderNum,