From c88038ed5958cc50087c959ae2d48764303fe33b Mon Sep 17 00:00:00 2001 From: Nathaniel Hammond Date: Wed, 20 Dec 2023 10:23:14 +0000 Subject: [PATCH] Update payment template with order key for stripe gateway --- example-templates/dist/shop/checkout/payment.twig | 1 + example-templates/src/shop/checkout/payment.twig | 1 + 2 files changed, 2 insertions(+) diff --git a/example-templates/dist/shop/checkout/payment.twig b/example-templates/dist/shop/checkout/payment.twig index 9ff0511cc7..7d4edec394 100644 --- a/example-templates/dist/shop/checkout/payment.twig +++ b/example-templates/dist/shop/checkout/payment.twig @@ -86,6 +86,7 @@ spacedAccordionItems: false } }, + order: cart, submitButtonClasses: 'cursor-pointer rounded px-4 py-2 inline-block bg-blue-500 hover:bg-blue-600 text-white hover:text-white my-2', submitButtonLabel: 'Pay', errorMessageClasses: 'bg-red-200 text-red-600 my-2 p-2 rounded', diff --git a/example-templates/src/shop/checkout/payment.twig b/example-templates/src/shop/checkout/payment.twig index fcd8859606..1c1795d193 100755 --- a/example-templates/src/shop/checkout/payment.twig +++ b/example-templates/src/shop/checkout/payment.twig @@ -86,6 +86,7 @@ spacedAccordionItems: false } }, + order: cart, submitButtonClasses: '[[classes.btn.base]] [[classes.btn.mainColor]] my-2', submitButtonLabel: 'Pay', errorMessageClasses: 'bg-red-200 text-red-600 my-2 p-2 rounded',