andrewculver / koudoku

Robust subscription support for Rails with Stripe.
MIT License
1.16k stars 187 forks source link

plan_id not being set for new subscription #163

Open ericgross opened 8 years ago

ericgross commented 8 years ago

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?