diff --git a/Gateway/Client/EurekaPaymentGatewayClient.php b/Gateway/Client/EurekaPaymentGatewayClient.php index a8e8c58..1933e4d 100644 --- a/Gateway/Client/EurekaPaymentGatewayClient.php +++ b/Gateway/Client/EurekaPaymentGatewayClient.php @@ -436,7 +436,6 @@ private function resolveUpdateOrderRequestMessageOptions(array $updateOrderReque private function resolveRequestOptions(array $contextOptions): array { - // TODO: Resolve CclInformation & MerchantUrls in case of CCL Score $contextResolver = (new OptionsResolver()) ->setRequired([ 'Customer', diff --git a/Resources/views/Gateway/eureka/update_order.xml.twig b/Resources/views/Gateway/eureka/update_order.xml.twig index fd0e48e..65bd61e 100644 --- a/Resources/views/Gateway/eureka/update_order.xml.twig +++ b/Resources/views/Gateway/eureka/update_order.xml.twig @@ -4,33 +4,33 @@ xmlns:cdis1="http://schemas.datacontract.org/2004/07/Cdiscount.PaymentService.Common.Message"> - - - - {{ merchant_id }} - {{ merchant_site_id }} - - - FR - EUR - 2 - FR - - - - - - - {{ token_id }} - - - 1 - - - 0 - {{ transaction.id }} - {{ transaction.metadata.scoring_token }} - - - + + + + {{ Header.Context.MerchantId }} + {{ Header.Context.MerchantSiteId }} + + + {{ Header.Localization.Country }} + {{ Header.Localization.Currency }} + {{ Header.Localization.DecimalPosition }} + {{ Header.Localization.Language }} + + + + + + + {{ Header.SecurityContext.TokenId }} + + + {{ Header.Version }} + + + {{ UpdateOrderRequestMessage.NewAmount }} + {{ UpdateOrderRequestMessage.OrderRef }} + {{ UpdateOrderRequestMessage.ScoringToken }} + + +