Rails Stripe Api Error: Invalid source object: must be a dictionary or a non-empty string
问题 I have successfully implemented stripe credit card processing (Stripe api v2) into my rails app following this railscast tutorial http://railscasts.com/episodes/288-billing-with-stripe. After styling the form I started receiving the following error: There was a problem with your credit card. Invalid source object: must be a dictionary or a non-empty string. See API docs at https://stripe.com/docs' In my console I can see that the stripe_card_token is being submitted as any empty value