Passing selected plan to /register page via url parameters

Published 11 months ago by tnorthcutt

I'm wondering if it's possible/reasonable to, instead of displaying all plans on the /register page, allow passing the selected plan in via a url parameter. My use case is that I'd like the plan to be chosen on a sales/landing page, and not display all the choices again on the registration page.

Best Answer (As Selected By tnorthcutt)
tnorthcutt

Turns out you can pass plan=plan-id as a url parameter – this was fixed in https://github.com/laravel/spark/pull/514/

TKay

Why don't you just show the plans in landing page? Is there any specific concerns that we have to worry about?

tnorthcutt

Sorry, I probably wasn't clear.

I do want to show the plans on the landing page, but that's on a separate marketing site. So I've got my marketing site at example.com with the plans shown, and my app at app.example.com.

tnorthcutt

Turns out you can pass plan=plan-id as a url parameter – this was fixed in https://github.com/laravel/spark/pull/514/

Please sign in or create an account to participate in this conversation.