• Resolved watanabekeisuke

    (@watanabekeisuke)


    https://XXXXXXXXXXXX.com/checkout/order-pay/1234/?pay_for_order=true&key=wc_order_HxdRStCJNyt9U

    Thing I want to do

    ①[OK] For users who are already logged in, I want to go directly to the payment screen at the above URL.

    ②[NG] For users who are not logged in, when accessing with the above URL, the login button (“Login By Auth0 Plugin” is displayed?)
    ???I want to redirect to the normal Auth0 Lock screen after pressing the button.

    ?problem
    In the case of ②, if “wc_order_HxdRStCJNyt9U” is included in the URL, the login button (“Login By Auth0 Plugin” is displayed?)
    ?WooCommerce’s standard login screen is displayed.

     ※ Works correctly in cases where “wc_order_key” such as “wc_order_HxdRStCJNyt9U” is not included.

    ?Question
    Is it possible to enable the function that redirects to Auth0 login even for URLs that contain “wc_order_key”?

Viewing 3 replies - 1 through 3 (of 3 total)
  • @watanabekeisuke – Apologies for the trouble here. Can you provide me with specific reproduction steps here? I’m not sure exactly how to get to the URL that you mention here. Make sure to include any settings I’d need to have active to get there.

    Thank you!

    Thread Starter watanabekeisuke

    (@watanabekeisuke)

    WooCommerce function
    「My account」→「Orders」→「Actions」→「Pay」

    I want to make a direct transition from another screen to the URL of the above “Pay” button.

    https://xxxxxxxxxx.com/checkout/order-pay/6939/?pay_for_order=true&key=wc_order_891vMjsnhnnGr

    There is no problem if you are logged in to Auth0, but if you are not logged in, the WooCommerce login form will appear.

    Setting “Original Login Form on wp-login.php” to “Never” did not work.
    Do I need any other settings?

    @watanabekeisuke – Apologies for the delay but I’m not entirely sure how to reproduce what’s happening here. Is there an extension that you’re using to create unpaid orders? Or is it a combination of settings that makes that happen? If you can help me recreate the scenario that causes this issue, I’ll be able to figure out a solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Auth0 does not work on the checkout screen’ is closed to new replies.