yii2mod / yii2-cashier

Yii2 Cashier provides an interface to Stripe's subscription billing services.
MIT License
45 stars 25 forks source link

Fields Description Receipt_number empty #3

Closed robov closed 7 years ago

robov commented 7 years ago

When I do this: $user->newSubscription('main', 'monthly')->create($creditCardToken, [ 'description' => 'Customer for test@example.com' ]);

and I show the invoices with your code, then the fields description and receipt_number are both empty

ihorchepurnyi commented 7 years ago

description field used for customer object in stripe, not for invoices

ihorchepurnyi commented 7 years ago

https://stripe.com/docs/api#create_customer-description