• Resolved digitaltechma

    (@digitaltechma)


    Hi, all my orders (simple products) when they get paid by credit card (another payment provider than stripe) , they get auto-completed, i’ve tried some codes on code snippet but in vain, i’m really beginner at WP and i tried my best but without results, can someone please help ?
    [Moderator note: Please, No bumping].

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @digitaltechma!

    Is this occurring with all orders or just with the ones paid by credit card?

    If it is occurring with all orders, I think you might have a piece of code inserted on your functions.php file making that.

    To be sure, please check if the code displayed in the following documentation is in your functions.php file: https://woocommerce.com/document/automatically-complete-orders/

    But if this occurs only with the orders paid with a credit card, I think this might be a conflict with a plugin.

    To be sure, please run a full conflict test by temporarily switching your theme back to Storefront, disabling all plugins except WooCommerce and repeating the action that is causing the problem. If that solves it, then re-enable all plugins one-by-one, until you find the one creating the conflict.

    You can find a more detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/.

    Let us know how it goes for you!

    Thread Starter digitaltechma

    (@digitaltechma)

    Hi @judagutor , thank you for your answer!

    It happens only with the payment provider i’m using (I tried by stripe and it doesn’t auto-complete, with COD either ).

    What plugins can make the problem ? to know the ones to disable.

    Because i don’t have a TEST mode on the payment provider i’m using right now.

    Please advise, thanks.

    Hi @digitaltechma

    Thanks for confirming that it doesn’t happen when using Stripe or COD.

    You’ll need to disable all plugins. The best way to determine the cause of conflict is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. As my colleague suggested, you can find a more detailed explanation on how to do a conflict test here.

    i don’t have a TEST mode on the payment provider

    You are welcome to test this out on a staging site using a plugin like WP Staging, instead of conducting the test on your production site directly.

    I hope this helps!

    Thread Starter digitaltechma

    (@digitaltechma)

    @margaretwporg Thank you ! Will try this.

    Sounds good! Let us know how it goes.

    Cheers

    Hi there,

    It’s been a while since we last heard from you, so I’m marking this thread as resolved.

    Hopefully, you’ve been able to resolve this, but we’ll be here if and/or when you are ready to continue.

    Cheers!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cancelling Auto-complete orders’ is closed to new replies.