• Resolved zackeryfretty

    (@zackeryfretty)


    I’m attempting to disable the automatic login post checkout feature in WooCommerce and from what I can see this filter should do the trick:

    add_filter( 'woocommerce_registration_auth_new_customer', '__return_false' );

    Unfortunately this doesn’t seem to work for me. I’ve setup a staging area using the “Twenty Thirteen” default theme with only WooCommerce and Affirm Payments for WooCommerce installed and this still doesn’t seem to work for me.

    Is this filter still active?

    EDIT: I also tried disabling Affirm and using only the default Cash on Delivery gateway, still no dice.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Pepe (woo-hc)

    (@anastas10s)

    Hi there @zackeryfretty

    Thank you for reaching out about this. From what I gather, you are referring to the snippet suggested here. Correct?

    To help you further, I’d like to understand more about your needs & setup. Kindly elaborate further on the specific needs of your workflow, please.

    Furthermore, could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select Get system report and then Copy for support.

    Once you’ve done that, you can paste the text in https://gist.github.com/, or https://pastebin.com/, and feel free to change/remove your site URL in the report for privacy reasons.

    You can paste the Gist/Pastebin link here in your reply, once you have that.

    Thread Starter zackeryfretty

    (@zackeryfretty)

    Thanks for your help, Pepe!

    I wasn’t referring to that thread specifically – but yes – ultimately that is the same filter that I am attempting to use and having issues with.

    I’m able to recreate the issue even when I throttle things back to only WooCommerce active on Twenty Twenty.

    Here’s my system report — I did censor out our URL and a few internal deactivated plugins for privacy reasons, that’ll expire in 2 weeks.

    The need is pretty straight forward, we do NOT want people to be automatically logged into the account created at checkout. That’s all!

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Does ‘woocommerce_registration_auth_new_customer’ still work?’ is closed to new replies.