“There was an error processing your order.” ONLY ON MOBILE

This topic has 14 replies, 3 voices, and was last updated 6 days, 4 hours ago ago by Luca Rossi

  • Avatar: krasen
    krasen
    Participant
    May 8, 2025 at 11:53

    Hello!

    I purchased the theme and will transfer my site from PrestaShop to WordPress when I finish and everything works. I am still setting up the site, and I would be happy if you could help me later to change some things in the design that I cannot find the settings for.

    I am currently getting an error when placing an order from a mobile device. I am using the AMP plugin. When placing an order, it says this: “There was an error processing your order. Please check for any charges in your payment method and review your order history before placing the order again.” – the order is placed, but the user does not understand and see this error.

    When I place an order from the desktop version, everything works and this error does not appear.

    I’ve been looking for information on the internet but I can’t find it. Please help me solve this problem.

    I have created your login details as an administrator.

    Thanks in advance!

    Content is visible for topic creator and
    support staff only.
    13 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 8, 2025 at 12:55

    Dear @krasen,

    We hope this message finds you well.

    We kindly ask that you disable the AMP plugin for the time being, as there appear to be compatibility issues with certain payment plugins. Due to the nature of these conflicts, it is currently not possible to ensure full compatibility with all plugins.

    Please note that our development team is aware of this matter and will investigate it further once it reaches the appropriate stage in their task list.

    We would also like to mention that the XStore AMP plugin is not mandatory. It was primarily designed for blog websites and simpler eCommerce setups. However, due to the limitations (https://amp.dev/) inherent in AMP-based pages, some features may not function as expected, and certain page elements may not display correctly.

    Given the specific requirements of your website, we believe it would be best to keep the AMP plugin disabled for now.

    Thank you for your understanding.

    Best regards,
    The 8Theme Team

    Avatar: krasen
    krasen
    Participant
    May 9, 2025 at 12:28

    Hello!

    Disabling the plugin is not an option for me. I bought the theme because it has AMP.

    The AMP version loads lightning fast. I played around a lot with translating everything into Bulgarian and setting everything up to simplify the ordering process. Since users are 80+% on mobile devices, I would rather remove the other plugins than AMP.

    Which plugin exactly is conflicting with AMP? WooPayments? If so, I agree to remove the credit card purchase option, but leave AMP on.

    I can also leave everything as it is, since the order is still processed, and I receive an email about the new order. The only problem is that the user gets an error and does not receive an email.

    Maybe if you help me instead of the error, to shows “Your order has been accepted. View order details (link to the order page https://zdravezavas.bg/word/my-account/orders/??????)”. And instead of the message being in red color, to be in green – this way the problem will be partially solved.

    Avatar: krasen
    krasen
    Participant
    May 9, 2025 at 12:32

    Or if you can do it for me, automatically redirect the user to the order page – https://zdravezavas.bg/word/my-account/orders/??????

    This will solve the problem for me. The user will not receive an email, but everything else will look good and work.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 9, 2025 at 15:48

    Hello, krasen

    To ensure you get the best support, we’re escalating your request to another specialist from our team, who will take a closer look at the issue.

    They will update you as soon as possible, and we’ll make sure to keep you posted. If you have any additional details that might help, feel free to reply here.

    Thank you for your cooperation!

    Best Regards,
    The 8Theme Team

    Avatar: Justin
    Luca Rossi
    Support staff
    May 12, 2025 at 16:37

    Hi @krasen,

    Can you try with this code snippet?

    /**
     * @snippet       WooCommerce: Redirect to Custom Thank you Page
     * @how-to        businessbloomer.com/woocommerce-customization
     * @author        Rodolfo Melogli, Business Bloomer
     * @compatible    WooCommerce 7
     * @community     https://businessbloomer.com/club/
     */
      
    add_action( 'woocommerce_thankyou', 'bbloomer_redirectcustom');
      
    function bbloomer_redirectcustom( $order_id ){
        $order = wc_get_order( $order_id );
        $url = 'https://zdravezavas.bg/word/my-account/orders/';
        if ( wp_is_mobile() && ! $order->has_status( 'failed' ) ) {
            wp_safe_redirect( $url );
            exit;
        }
    }

    This code should be placed under functions.php file locates in your child theme.

    Hope it helps!

    Avatar: krasen
    krasen
    Participant
    May 12, 2025 at 22:08

    Hello!

    I added this code to functions.php as you told me and placed a new order with my phone. I got the same error message and was not redirected to the order page.

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    May 13, 2025 at 12:39

    Dear @krasen,

    We kindly ask you to check once again whether you are able to complete the checkout process on the AMP version of the mobile site.

    Please let us know the outcome at your earliest convenience.

    Best regards,
    The 8Theme Team

    Avatar: krasen
    krasen
    Participant
    May 13, 2025 at 22:58

    Hello!

    Thank you for your time and help!

    I placed an order and was successfully redirected to a “Thank you” page. This is much better, but if it could redirect directly to the order numer page it would be ideal.

    Something new: I see another change that I don’t understand: When I place an order, an option appears to select “Free shipping”, even though the user shouldn’t be able to select “Free”, and this is only activated if the order is over 100 BGN.

    Did you make this change?

    Avatar: Justin
    Luca Rossi
    Support staff
    May 14, 2025 at 07:10

    Dear @krasen,

    We hope this message finds you well.

    Something new: I see another change that I don’t understand: When I place an order, an option appears to select “Free shipping”, even though the user shouldn’t be able to select “Free”, and this is only activated if the order is over 100 BGN.
    Did you make this change?

    We’ve modified it to simplify the order process during testing.

    Additionally, we are pleased to hear that you were successfully redirected to the “Thank You” page after placing an order. We agree that redirecting directly to the order number page would be an ideal improvement. However, due to limitations within the AMP (Accelerated Mobile Pages) framework, this functionality is currently restricted.

    We highly encourage you to share your suggestion on our Taskboard at https://www.8theme.com/taskboard/. If your idea receives sufficient support from other users, our development team will carefully consider it for a future update.

    Should you have any further questions or require additional assistance, please do not hesitate to contact us.

    Best regards,
    The 8Theme Team

    Avatar: krasen
    krasen
    Participant
    May 14, 2025 at 10:57

    I understand. This works for me right now. The user even receives an email about the order being placed. This problem is solved for me. Thank you again!

    But the new problem that has emerged now is critical:

    Please modify it again and return it to the way it was. I don’t see how to do it. I had done it with this plugin “WooCommerce Dynamic Pricing & Discounts”, when the order is over 100 BGN there is free shipping automatically. When the order is under 100 BGN a shipping fee is charged, depending on the weight of the products.

    Currently the user can choose “Free Shipping”, even if the order is for 5 BGN – This was not the case before you made the changes you did.

    Avatar: Justin
    Luca Rossi
    Support staff
    May 14, 2025 at 11:57

    Dear @krasen,

    We hope this message finds you well.

    We would like to inform you that the WooCommerce shipping settings have been successfully updated on your behalf. Everything should now be functioning as expected.

    Should you encounter any further issues or have additional questions, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: krasen
    krasen
    Participant
    May 15, 2025 at 14:40

    Hello!

    Yes, it’s back to normal now, and the order works via AMP.

    Thank you!

    I have a few questions about the design, because I can’t find the settings for what I want to change, and I’ve been looking for a long time. I’ll put them together at once and send you screenshots. I hope you can help me with this too, so I can put the site online finally.

    Thank you once again.

    Avatar: Justin
    Luca Rossi
    Support staff
    May 15, 2025 at 17:54

    Dear,

    Thank you very much, @krasen!

    Please feel free to submit another ticket if you need any further assistance.
    We are always here to help you.

    Best regards,
    The 8Theme Team

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

The issue related to '‘“There was an error processing your order.” ONLY ON MOBILE’' 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.