Skip Navigation

[Resolved] WooCommerce Subscriptions plugin with Toolset

This thread is resolved. Here is a description of the problem and solution.

This support ticket is created 6 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 6 replies, has 3 voices.

Last updated by Beda 6 years, 10 months ago.

Assisted by: Beda.

Author
Posts
#605270
Screen Shot 2018-01-11 at 00.16.04.png
Screen Shot 2018-01-11 at 00.15.50.png
Screen Shot 2018-01-11 at 00.15.01.png
Screen Shot 2018-01-11 at 00.14.30.png
Screen Shot 2018-01-11 at 00.13.56.png
Screen Shot 2018-01-11 at 00.13.07.png
Screen Shot 2018-01-11 at 00.12.26.png

Hi,

I am using your plugin registration page and after filling all filds then it will redirect me to checkout page and if i try to pay then it will say that i have to insert username and password BUT i already did in registration page and also in checkout page there is no fields like that. I followed your documentation and tried to do all steps correctly. Can you tell me what i missed?
Please have a look my screenshots

As you see on cred user form picture there is red notification. I tryed to uncheck this in settings but then in checkout page it will say "You must be logged in to checkout."

#605390

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screen Shot 2018-01-11 at 10.38.27.png

Hi Ian

Comparing your screenshots with the steps outlined in the documentation (https://toolset.com/documentation/user-guides/charging-payments-with-cred-to-register-users/), I notice that your WooCommerce settings do not match what's required.

Not only should the Customer registration options be unchecked, the Account creation options should both be checked (see my screenshot).

Did you at any time try the process with those specific settings?

#605437
Screen Shot 2018-01-11 at 15.55.07.png
Screen Shot 2018-01-11 at 15.55.20.png
Screen Shot 2018-01-11 at 15.55.35.png
Screen Shot 2018-01-11 at 15.55.50.png

Hi,

Yes I tried these options. Now it is still saying "You must be logged in to checkout."

If you can make this private, then i can share my wordpress admin to have look.

#605530

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Ian

I'm having trouble getting this to work myself on a local test installation, and I'll need to consult with colleagues in the morning.

In the meantime, though, let me get those credentials from you and I can see how you have things set up on your own site.

Your next reply is private.

#605791

This is Beda, I will take care of this.

I set up a full install of WooCommerce, CRED Commerce and Types.

I added one product and gave it a price

Then I added a User Form, and in there, I chose to show the password Fields (since this is a first time user creation, not edit)

I actually just chose "Autogenerate Form" and unchecked the password and username fields.

This generated my HTML form which I do not need to touch unless I want to style it.
I made sure in the redirect settings of the form I choose "Checkout".

At the bottom of the form I selected the product I want to charge, and left all the rest as is.
This will ensure that the user is created exactly when the payment is complete.

Then, I followed carefully the instructions on screen, on the top of the CRED Form edit screen, it clearly states what to change in WooCommerce Settings, and links to that page.
In the WooCommerce Settings you unselect Enable customer registration on the "Checkout" page. and Automatically generate username from customer email. as well.

Then, you insert this Form to any page, and navigate to this page as a logged out user.

You enter all details and submit it.

Now WooCommerce asks you to enter all details again (name, etc) but no password or similar must be given.

You choose your payment method and pay.

Then, in the Backend you can accelerate this process by heading to the Order's list of WooCommerce, and check the recent order.
Then, with the "Bulk Actions" dropdown you "Complete" this order.

That's it, the user now is created.

If this does not work the same way on your install it must be due to either custom code or 3rd party plugins/theme, or a setting that you use, and I miss.

I did not yet log in to your site, as I suggest you would first try the above steps with a new form and a new product.

Please let me know the result.

#605841
Screen Shot 2018-01-12 at 18.35.11.png
Screen Shot 2018-01-12 at 18.33.42.png

Hi,

Thanks for instruction and it works like this BUT I would like to use woocommerce subscription also to give some timelimit for user role.
If I let everythig like this and change only product to simple subscription (see screenshot) and try to create new user then after filling out all fields in registration page then it will redirect me to checkout page and there is text: "You must be logged in to checkout." (see screenshot).

#605941