Open ericgross opened 8 years ago
I guess I don't understand how we get from a token to a customer in koudoku.
I have determined that the failing line is this:
customer = Stripe::Customer.retrieve(self.stripe_id)
in the subscription concern (line 125).
How is the stripe_id supposed to get set?
I am submitting the payment-form which is being sent to Stripe, then this is being returned to SubscriptionsController#update:
I am getting this error:
Could not determine which URL to request: Stripe::Customer instance has invalid ID: nil
from
Stripe::Customer#resource_url
, and I see that stripe_id is nil. Any ideas what I am doing wrong?