Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter ofirk1990

    (@ofirk1990)

    guys nothing is falls, all working. my reply before was for Shameem that talk about custom code.
    Even the payment working it was just taking long time and i think it may be conflicts of plugins of WooCommerce, Woo Subscriptions over 10s

    Thread Starter ofirk1990

    (@ofirk1990)

    Thanks for your replay. we doing something else to skip the cart as our process is different, our first step doing registration of user based on product he want and then we doing iframe of cart (everything without refresh the page), if i will replace the iframe to be on checkout i will get error, so at this point i am doing iframe for cart and js that will click on continue to checkout.

    the response checkout is:

    1. messages: “<ul class=\”woocommerce-error message-wrapper\” role=\”alert\”>\n\t\t\t<li>\n\t\t\t<div class=\”message-container container alert-color medium-text-center\”>\n\t\t\t\t<span class=\”message-icon icon-close\”></span>\n\t\t\t\tWe were unable to process your order, please try again.\t\t\t</div>\n\t\t</li>\n\t</ul>\n”
    2. refresh: true
    3. reload: false
    4. result: “failure”

      and for update order review is -1

      but again i can work on it with iframe for cart and then js to click on the button to continue to checkout.

      my biggest issue is that the checkout when its working with the payment its taking over 10s

    Thread Starter ofirk1990

    (@ofirk1990)

    Thanks for the reply. I’m a developer, and I implemented it in the functions.php file so that the user goes directly to the cart. However, after clicking the button to pay, I see two spinning circles, like it’s loading, and I get a 403 error ( was something like we are unable to proccess your request please try again or something like that). The only way it works is if the cart page is visited first. As mentioned, we’re doing everything within an iframe on the main page without redirecting to another page.

    Regarding wc-ajax, I initially thought it was a server issue, and I still suspect it might be part of the problem. However, I moved the site to a different server, and the issue persisted. Both servers were general hosting, not high-performance, but I still expected it to be faster.

    Thread Starter ofirk1990

    (@ofirk1990)

    So, I turned off the plugins that weren’t relevant, and now it’s working. Is there any way to work directly with the checkout without going through the cart section? If I go straight to the checkout, it doesn’t work—only when the cart step comes before does it work. It seems like the cart step might be loading some relevant JS (as we’re doing this in an iframe on the main page).

    Additionally, the ?wc-ajax=checkout is taking 15-16 seconds for some reason.

    should be faster ( no any error on console)


    Thread Starter ofirk1990

    (@ofirk1990)

    ok so i cant see conflict and its working now but really slow its about 15s to ?wc-ajax=checkout to bring result. as it include here about 4 plugins that may related any way to debug exactly what running on check out?

    Thread Starter ofirk1990

    (@ofirk1990)

    Yes, as we are using several plugins, there may be conflicts affecting how we work with WooCommerce Subscriptions, WooCommerce Memberships, and Stripe for WooCommerce. We register the user as the first step and then charge them on the same page without any redirection we doing with iframe of cart, which seems to be causing conflicts with JavaScript loading. However, all these plugins are part of WooCommerce.

    Thread Starter ofirk1990

    (@ofirk1990)

    @shameemreza it is possible i am doing cart in iframe? after the registration

    • This reply was modified 1 year, 9 months ago by ofirk1990.
    Thread Starter ofirk1990

    (@ofirk1990)

    up

Viewing 8 replies - 1 through 8 (of 8 total)