stripe-ruby-mock / stripe-ruby-mock

A mocking library for testing stripe ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stripe Customer params

opened this issue · comments

What are required params to create Customer?
It should look like this according to what I've read in Issues.
customer = Stripe::Customer.create( id: 'foo', email: 'johnny@appleseed.com', card: stripe_token )

Yet documentation mentions different
Zrzut ekranu 2023-06-08 200906
I don't see email param, only card and id from those above. Well Stripe::Customer is probably different then new_customer
I'm trying to develop "Support" feature, transfer between stripe accounts yet before I go to the development further, I want to mock the Stripe.

I've found this #646
Yet It's not working.