kevprice83 / Custom-signup-flows-3scale-Dev-portal

7 stars 9 forks source link

adding blank check #3

Closed samugi closed 4 years ago

samugi commented 4 years ago

If service.service_plans.first.id was blank, the sign up button was submitting to a url with empty parameters, like: "https://${ADMIN_PORTAL}/signup?plan_ids[]=&plan_ids[]=2357355990346&plan_ids[]=&plan_ids[]=&plan_ids[]=" and a consequent Not Found error being displayed on the browser.

kevprice83 commented 4 years ago

This could be a useful check, I'd need to have a think about it but certainly the application plan default settings might be what is causing your automatic contract creation between signup and service. Also ensure that the service plan(s) is published