Skip to content

Commit

Permalink
Add missing customer name and email
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinwy committed Jun 7, 2024
1 parent b66997c commit 9e7d502
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9e7d502

Please sign in to comment.