When I process the payment the page redirects to the checkout page instead of the payment gateway. for the understanding please find the error video link below:
Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand is it our theme issue or not?