silentzco / statamic-charge

4 stars 7 forks source link

FR: Register user and create subscription in one step #16

Open twd3 opened 4 years ago

twd3 commented 4 years ago

It is required to have a user logged in to be able to use the subscription create form (tag). Because of this we have to make a multi-step form that first uses the user register tag/from that then redirects them to the subscription create tag/form.

This isn't necessarily bad because it gives you a chance to circle back on people that create a user account but abandon paying.

As of now I need to figure out if users are auto logged in after using the {{ user:register_form }} tag. I see nothing in the doc's and it would of course be bad if the flow was user reg form > login form > subscription form.

edalzell commented 4 years ago

Note to self, need to wait for: https://github.com/statamic/cms/issues/2395