• Resolved twowheeler

    (@twowheeler)


    Hi and thank you for this plugin! I’m trying to resolve an issue that seems to involve a conflict between
    the “Donation Platform for Woocommerce” plugin and “Force Authentification Before Checkout for WooCommerce” plugin.
    We do want to have buyers log in before purchase, so the “Enable guest checkout” WC option is off.
    The Force Authentication plugin should redirect users to login if they get to the Checkout page without logging in, and then back again to checkout. The DPfW plugin creates a donation management system with various options based on Woocommerce.
    We have the DPfW shortcode on a donation page. The problem is that as soon as the un-logged in user hits the Donation page, it redirects to login and then to checkout, so the user never even gets to see the donation page.
    I’ve tested with Enable Guest Checkout both on and off, and it doesn’t make a difference. If I deactivate
    either of these two plugins then the problem goes away. Any help is appreciated. I am cross posting this in support for both plugins since I don’t know which one creates the issue. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter twowheeler

    (@twowheeler)

    More information: with some debugging I found that the is_checkout() function returns TRUE on my donation page. That triggers the other plugin to redirect. When the DPfW shortcode is removed, it returns FALSE, as it should.

    Plugin Author Jonas

    (@flinnn)

    Hi,

    once you add a donation form to a page this page becomes a checkout. Otherwise e.g. payment gateways won’t work for donation forms. So it’s expected behavior that the s_checkout() function returns true. Have you considered enabling the option “Enable log-in during checkout” that allows your customers to just log into their account without being redirected?

    Best,
    Jonas

    Thread Starter twowheeler

    (@twowheeler)

    Yes, but that produces a confusing (to customers) error like “An account is already registered with your email address.” However I see your point that the donation page now contains a checkout, which is different from anything else on the site. I think the solution is, I’ll prevent the FABC plugin from loading on the donation page, and add some text telling them to login. Thanks.

    Plugin Author Jonas

    (@flinnn)

    Glad that you found a solution ??

    Best,
    Jonas

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.