These are chat archives for rebelidealist/stripe-ruby-mock

20th
Nov 2015
kathyonu
@kathyonu
Nov 20 2015 07:41

@mberman84 Okay, please forgive, I know what you are doing. On this code, have you changed card to source:

Stripe::Customer.create( email: @company.admin.email, plan: plan_id, card: stripe_token, quantity: user_count, coupon: coupon )

should be:

Stripe::Customer.create( email: @company.admin.email, plan: plan_id, source: stripe_token, quantity: user_count, coupon: coupon )

When you run that, do you get an error? If so, please share here.