Checkout page doesn’t redirect to payment gateway

This topic has 12 replies, 4 voices, and was last updated 1 months, 2 weeks ago ago by Andrew Mitchell

  • Avatar: YT
    YT
    Participant
    May 24, 2024 at 12:54

    Hello,

    I’ve seen some other threads for the same problem where the checkout page doesn’t redirect to the payment gateway, for e.g. this one: https://www.8theme.com/topic/payment-gateway-not-working-order-not-placing-then-how-can-we-get-money-from-customer/

    The same problem is happening with the Payfast gateway (checkout page not redirecting). It has been working on previous versions of xstore and is a recommended woo gateway. Contacted the developer of the plugin and they have not indicated any issues.

    In a similar thread I read that there’s issues with the multistep layout. I tried to set the checkout to classic and switched off advanced layout also. Doesn’t work. The checkout page still doesn’t redirect to the payment gateway. Cleared the cache and restarted the server but that didn’t help.

    Noticed also that the other customizer options don’t work for the checkout. Here’s what’s broken:
    * The prioritize email field option doesn’t move the email field up to the top
    * and the Product Link option doesn’t add a link to order summary products

    Is there a patch or any fix for these issues?

    Thank you.

    11 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 24, 2024 at 13:00

    Hello,

    Thank you for reaching out to us.

    To better understand and resolve the issues you are experiencing, we kindly request that you provide us with a detailed video demonstrating the problems. Additionally, please include the URL, temporary wp-admin, and FTP access credentials. This information will enable us to examine the situation more closely and offer a precise solution.

    Best Regards,
    8Theme’s Team

    Avatar: YT
    YT
    Participant
    May 24, 2024 at 13:23

    Hello

    Video uploaded with checkout settings in customizer and then the cart page where:
    * email priority doesn’t work
    * product links dont works
    * does not redirect to payment plugin
    * only BACS works
    Tried this on a fresh installation of wordpress/xstore. Also doesn’t work. No plugins besides those installed with demo are active.

    Can;t give access as site on localhost currently.

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 24, 2024 at 16:13

    Dear @YT,

    We hope this message finds you well. We wish to inform you that the Advanced Cart/Checkout settings available in the Theme Options do not function when your Cart/Checkout pages are constructed using Elementor Cart/Checkout widgets. Unfortunately, there is no universal code that enables us to toggle the visibility of such sections in the Theme Options based on the builder content or if their content is displayed via shortcode.

    To address this, we kindly request that you navigate to your Checkout page and select ‘Edit with Elementor’. You can do so by following this link: https://prnt.sc/Gq1Z-pLj51W0. We are confident that you will find numerous settings for the Checkout page element that should be functional, as shown here: https://prnt.sc/6gF_vx8nFaQt.

    We look forward to your response and are here to assist with any further inquiries you might have.

    Best Regards,
    Jack Richardson
    The 8Theme Team

    Avatar: YT
    YT
    Participant
    May 24, 2024 at 17:08

    Thanks Jack,

    I edited the Elementor Checkout page as you suggested but the checkout still doesn’t redirect to the payment gateway. It just goes back to the checkout page.

    That’s the real issue here otherwise I can’t accept payments.

    Thanks for your instructions. I fixed the product link in the order form. There’s no prioritize email option so I saw a code snippet in another thread which I’ll try to put the email field on top. I’ll let you know if it works.

    The higher priority is fixing the payment gateway. I’m happy to try anything you suggest. Any ideas?

    Thanks again.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 25, 2024 at 11:10

    Dear @YT,

    We are pleased to hear that you are making progress in implementing the necessary options for your needs.

    Could you kindly share with us the specific code you utilized to prioritize “The higher priority is fixing the payment gateway.”? We are considering integrating it on a global scale, or at least reviewing the code to enhance its functionality for you and others facing similar issues.

    Thank you for your cooperation.

    Best Regards,
    Jack Richardson
    8Theme’s Team

    Avatar: YT
    YT
    Participant
    May 25, 2024 at 11:21

    Hi,

    I’m more concerned about the payment gateway not working. I just tested the gateway with oceanwp theme and it works perfectly.

    Do you have a solution please?

    Thanks.

    This code is from your support thread:
    https://www.8theme.com/topic/email-field-prioritiezed-option-does-not-render-correctly-on-checkout-page/

    add_action('init', function() {
     if ( get_theme_mod('cart_checkout_advanced_email_first', false) ) {
         add_filter('woocommerce_billing_fields', function($fields) {
             if ( isset($fields['billing_email'])) {
                 $fields['billing_email']['priority'] = 2;
             }
         });
     }
    }
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 25, 2024 at 14:00

    Dear @YT,

    I hope this message finds you well.

    We have successfully installed the custom payments plugin and have encountered the issue you previously described. To resolve this, we kindly request that you replace the existing file on your system. Please navigate to the following path: et-core-plugin/app/controllers/elementor/theme-builder/woocommerce/checkout/checkout-page.php, and replace it with the file provided in the private area content.

    We would appreciate it if you could confirm the resolution of the issue after updating the file as instructed. Your feedback is crucial for us to ensure that the problem is adequately addressed.

    Thank you for your cooperation and prompt attention to this matter.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: YT
    YT
    Participant
    May 27, 2024 at 20:07

    Hey Jack,

    Your magic worked 🙂 I tested the template with a 2 other gateways also. They all work fine. Thanks a million.

    Would this fix be part of the next release? Asking because I’m not using a child theme.

    Thanks again.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 28, 2024 at 08:49

    Dear @YT,

    We are delighted to hear that you are pleased with the recent fix implemented on your website. We would like to assure you that this fix is comprehensive and will be incorporated into the upcoming theme update. Therefore, you can rest assured that the changes will be preserved.

    Best regards,
    Jack Richardson
    The 8Theme Team

    Avatar: YT
    YT
    Participant
    May 28, 2024 at 17:33

    alright, thanks again for your help.
    Closing this topic now.

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    May 28, 2024 at 17:33

    Dear YT,

    We trust our theme is enhancing your experience. Taking a brief moment to rate it with a glowing 5 stars on ThemeForest would be immensely appreciated. Your feedback holds significant value for us.

    Click here to rate now: https://themeforest.net/downloads

    Thank you sincerely for your ongoing support!

    Best Regards,
    The 8Theme Team

  • Viewing 12 results - 1 through 12 (of 12 total)

The issue related to '‘Checkout page doesn’t redirect to payment gateway’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.