Woocommerce Stripe Checkout keeps spinning.

The Woocommerce checkout page keeps spinning after submitting an order with Stripe payment. But on my staging site, it works fine.

  • Predrag Dubajic
    • Support

    Hi Phap Nguyen ,

    While I was testing your site I noticed in the hosting logs that there were warnings showing up regarding the Paid Memberships Pro plugin, and it’s possible that the payment doesn’t finish because of that.
    Can you try disabling Paid Memberships Pro and Paid Memberships Pro – WooCommerce Add On plugins and see if you’re able to make a purchase after that?

    Best regards,
    Predrag

  • Adam
    • Support Gorilla

    Hi Phap Nguyen

    Thanks for response!

    I checked the site again and did some more testing and it seems that the culprit here is the “AffiliateWP – Multi Level Affiliates” plugin. With it disabled, the order is placed as expected and the issue doesn’t happen (even though it takes a while to actually place the order – but it does work).

    While doing tests I noticed that there’s no errors in browser console that would seem relevant but there’s an admin-ajax request (related directly to WooCommerce checkout) that times out. The timeout status was 524 HTTP error returned by CloudFlare which, in this case means that CloudFlare wasn’t able to get response from origin server (so from the site) on time.

    That made me check slow log on server and this pointed out to the plugin that I mentioned above. Once I disabled it (temporarily- it’s now enabled back), the “spinning wheel issue” didn’t happen again and I was able to place order.

    I’ve removed my user account already (that was automatically created upon order submission) but you should now see two orders from me (as “Adam WPMU”:wink: on “WooCommerce -> Orders” page. The first one in “pending” state is the one submitted with “AffiliateWP – Multi Level Affiliates” plugin enabled (so with spinning wheel issue) and the second one – the “Completed” one – is a successful one with that plugin disabled.

    That said, this would mean that there’s either a conflict of this plugin with a theme or some other plugin or that there’s a bug in the plugin. I would suggest a full conflict test this:

    – keep WooCommerce and AffiliateWP – Multi Level Affiliates enabled
    – disable all other plugins and clear caches
    – try making an order
    – if it works, start enabling plugins back one by one until the issue happens again and that would mean that last enabled plugin is most likely conflicting or in other way interferning with AffiliateWP – Multi Level Affiliates plugin

    Based on that we could then see if it’s something we could/should fix or if you’d need to report it as a bug/conflict to either that plugin or AffiliateWP Multi Level Affiliates developers.

    Kind regards,
    Adam