Open ericgross opened 8 years ago
I had to modify this line: <%= f.hidden_field :plan_id %> to: <%= f.hidden_field :plan_id, value: ::Plan.first.id %>
<%= f.hidden_field :plan_id %>
<%= f.hidden_field :plan_id, value: ::Plan.first.id %>
In order for a plan_id to be submitted with the payment-form. How is this supposed to be set?
I had to modify this line:
<%= f.hidden_field :plan_id %>
to:<%= f.hidden_field :plan_id, value: ::Plan.first.id %>
In order for a plan_id to be submitted with the payment-form. How is this supposed to be set?