RegisterController Bug

nick-jensen

Nov 27th, 2018 06:11 PM

Hey Tony - found one for you. I was getting an 'Invalid Plan Selected' error and had to dig around to figure out why exactly.

Line 39 in /RegisterController

	$plan = Plan::where('name', '=', $request->plan)->first();

Should be

$plan = Plan::where('plan_id', '=', $request->plan)->first();
bobbyiliev

Dec 13th, 2022 05:30 AM

Hi there,

I am just following up on some of the old unanswered questions on the site!

Thanks for reporting that! This has been patched in the new version of Wave:

SubscriptionController.php#L130

Best,

Bobby