• Hello,

    I want to create a feature to make users pay their orders even them not logged in.

    Because not everyone remember their password, so some clients drop their order without payment.

    How can I add the ability to pay order without login, but this order will be linked to users account, and he can see it after login.

    Thank you for your support.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Maybe you can send a unique link to the users, (with a special hash code) and using the hash code woocommerce can track the user and save the order in the particular user’s account. It needs a custom woocommerce plugin to be created though.

    Thread Starter Sergey Zhukovsky

    (@codeby)

    Maybe you can send a unique link to the users, (with a special hash code) and using the hash code woocommerce can track the user and save the order in the particular user’s account. It needs a custom woocommerce plugin to be created though.

    This solution will be great if I send email by wordpress database. But what if user will come from ad? I cannot add personal hash to ad.

    In my opinion Woocommerce just must grant access to pay the order by email, and don’t require to login on this step.

    But I don’t know how to do this.

    Plugin Support wpnomad a11n

    (@wpnomad)

    Hi @codeby ,

    I want to create a feature to make users pay their orders even them not logged in.

    For this, you can enable Guest Checkout in WooCommerce. This option is located under WP Admin → WooCommerce → Settings → Accounts & Privacy. Please see the screenshot below for reference:

    Link to image: https://i.ibb.co/sjPj17F/guest.png

    Thread Starter Sergey Zhukovsky

    (@codeby)

    For this, you can enable Guest Checkout in WooCommerce. This option is located under WP Admin → WooCommerce → Settings → Accounts & Privacy. Please see the screenshot below for reference:

    I understand. But if user already has an account, he cannot pay without login anyway.

    Plugin Support wpnomad a11n

    (@wpnomad)

    Hi @codeby ,

    I understand. But if user already has an account, he cannot pay without login anyway.

    When guest account is enabled, users are not required to log in, even if they are using an email that has a registered account.

    If your site is requiring login even after enabling guest account, then the login might have been enforced by another plugin’s or payment gateway’s requirement. May I ask what payment gateway you’re using on your site?

    Thread Starter Sergey Zhukovsky

    (@codeby)

    When guest account is enabled, users are not required to log in, even if they are using an email that has a registered account.

    Sorry, but it doesn’t work. I tried different gateways: bank account, checks, cards.

    Here is screenshot if I enter email of existing user – https://www.screencast.com/t/OxR2l006M1n

    Here is settings of Accounts – https://www.screencast.com/t/65fKkSJKnek7

    My shop in on Russian.

    Thread Starter Sergey Zhukovsky

    (@codeby)

    If your site is requiring login even after enabling guest account, then the login might have been enforced by another plugin’s or payment gateway’s requirement. May I ask what payment gateway you’re using on your site?

    I was install WooCommerce on different site. Yes, it works with guest accounts. But… order doesn’t link to existing user, it marked as guest order. I need to link it to user with email in order.

    Plugin Support wpnomad a11n

    (@wpnomad)

    Hi @codeby ,

    I was install WooCommerce on different site. Yes, it works with guest accounts.

    Thanks for confirming. If it’s not working on your site, then there might be a conflict caused by the theme or one of the active plugins. You can do a conflict test to check what may be causing it, you can follow these steps to conflict test: https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4

    But… order doesn’t link to existing user, it marked as guest order. I need to link it to user with email in order.

    That is the default behavior of WooCommerce. When the user is logged out, it would be marked as guest order. This is to prevent misuse, as any user can use someone else’s email address to place the order.

    Out of the box, it’s not possible to link guest orders to customers based on the email, however, I found this code solution that may work for you: https://www.zorem.com/link-woocommerce-guest-orders-to-customer-account/

    Thread Starter Sergey Zhukovsky

    (@codeby)

    Out of the box, it’s not possible to link guest orders to customers based on the email, however, I found this code solution that may work for you: https://www.zorem.com/link-woocommerce-guest-orders-to-customer-account/

    Thank you for this link. I found plugin, that disallow guest payment. LearnDash Woocommerce plugin. It requires only logged in users.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Pay the order without login for registered users’ is closed to new replies.