I am trying to create a membership site. I set up the roles and user forms. I am assigning subscription fees and once form is completed it goes to the WooCommerce checkout to complete the transaction on PayPal using the Woo Subscriptions plugin.
It works fine when I am logged in as the admin, but as soon as I log out and try like a client, I get the You must be logged in message to check out. I do have "guest checkout" checked off as well. I have tried a number of instances. The only thing that works is if I let WooComerce ALSO set up a new account on checkout... the problem with that is duplicate users are created.
Help!
Thanks,
Bill
Dear Bill,
Please try this:
In the WordPress administration, go to the WooCommerce -> Settings page and click the Accounts tab.
Deselect both options in the Enable Registration section and select both options in the Account Creation section.
See our document:
https://toolset.com/documentation/user-guides/charging-payments-with-cred-to-register-users/
section "1. Setting correct WooCommerce account-creation options"
Hi and thanks for the response.
I updated those settings and still have received the same "must be logged in" response.
One thing to note, in your response you sent me this URL which showed how to charge as a Product using Woo. https://toolset.com/documentation/user-guides/charging-payments-with-cred-to-register-users/...
However, I am using this URL which is supposed to work with Woo Subscriptions to create a membership site... https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/
I did as a test set up a Test Product (not subscription) and that worked... but it doesn't solve my problem as I need it to be recurring.
Thanks for the continued support,
Bill B.
There is a known compatibility problem between "Woo Subscriptions" plugin and CRED plugin:
Follow the instruction of document:
https://toolset.com/learn/create-membership-site-wordpress-using-toolset-plugins/
When a guest submit the CRED form, and complete the woocommerce checkout page, the "Woo Subscriptions" plugin will create a wordpress user, after complete the woocommerce order, CRED plugin will create another user.
See similar thread:
https://toolset.com/forums/topic/field-values-not-being-saved-cred-user-forms-and-cred-commerce/page/2/#post-466864
In your case, I suggest you change the workflow,
1) For guest user, ask him login first, provide a link for creating subscriber account.
2) Only the logged-in user can buy the "Woo Subscriptions" product.