diff --git a/web/app/themes/haiku-atelier-2024/page-checkout.php b/web/app/themes/haiku-atelier-2024/page-checkout.php index eb0606a8..08c07ccb 100755 --- a/web/app/themes/haiku-atelier-2024/page-checkout.php +++ b/web/app/themes/haiku-atelier-2024/page-checkout.php @@ -82,7 +82,7 @@ $commande = wc_get_order($order_id); /** @var mixed $methode_livraison */ $methode_livraison = [ "nom" => $commande->get_shipping_method(), - "cout" => $commande->get_shipping_total(), + "cout" => $commande->get_shipping_total() * 100, ]; // Sélectionne la clé API Stripe diff --git a/web/app/themes/haiku-atelier-2024/src/scripts/page-panier/scripts-page-panier-adresses.ts b/web/app/themes/haiku-atelier-2024/src/scripts/page-panier/scripts-page-panier-adresses.ts index 8bc185af..9a2fea98 100755 --- a/web/app/themes/haiku-atelier-2024/src/scripts/page-panier/scripts-page-panier-adresses.ts +++ b/web/app/themes/haiku-atelier-2024/src/scripts/page-panier/scripts-page-panier-adresses.ts @@ -301,7 +301,7 @@ export const initOrderCreationButton = (): void => { { method_id: selectedRateLS.method_id, method_title: selectedRateLS.name, - total: pipe(diviseParCent(selectedRateLS.price), String), + total: String(selectedRateLS.price), }, ], };