Hello there, hope you're all doing well.
I have an issue while trying to make a test checkout, the checkout page shows up the following error
ErrorException (E_ERROR)
Undefined variable: choosePaymentEventHandler (View: /home2/testing.com/themes/main/_partials/checkout/default.php) (View: /home2/testing.com/themes/main/_pages/checkout/checkout.php)
Previous exceptions
Undefined variable: choosePaymentEventHandler (View: /home2/testing.com/themes/main/_partials/checkout/default.php) (0)
Undefined variable: choosePaymentEventHandler (0)
/home2/testing.com/storage/framework/views/3b36de7fdee79b76d9a59bffcdf510b6dc01c418.php
<div
data-control="checkout"
data-choose-payment-handler="<?= $choosePaymentEventHandler; ?>"
data-partial="checkoutForm"
>
<?= partial('checkout::form'); ?>
</div><?php /**PATH /home2/testing.com/storage/system/templates/cf4/396/cf4396ded868556b1c5841e5ec49ebc2.php ENDPATH**/ ?>
Arguments
"Undefined variable: choosePaymentEventHandler (View: /home2/testing.com/themes/main/_partials/checkout/default.php) (View: /home2/testing.com/themes/main/_pages/checkout/checkout.php)
I have PayPal, Cash method, Stripe all on and with working API keys, I tested them before on my server, but recently I moved the site to a new server and I'm facing issues from time to another.
Thank you.