DEV Community

Discussion on: Integrate Stripe in your Ruby on Rails app

Collapse
 
jalovatt profile image
Adam Lovatt

Great tutorial. One problem - this line in "Linking a card to a user" didn't work for me:

<%= form_tag create_payment_method_path, id: "billing-create-payment-method" do %>

It ended up creating a form with action=/id.... :( This worked:

<%= form_tag create_payment_method_path, :id => "billing-create-payment-method" do %>