David Kimura PRO said about 3 years ago on Payment Gateway Basics with Stripe :
The stripe_customer method returns nil?

Did you change your stripe_customer method to pull the customer instead of the subscription (i.e., return Stripe::Customer.retrieve(stripe_id) if stripe_id?
)