Closed benjamindoe closed 3 years ago
Thanks @benjamindoe. We'll be looking at adding some nice API's around Tax Id's soon as well as customer billing address details. Appreciating PR's however in the meantime. I like your proposal of making a fluent API but without making that actually Eloquent like of course.
Here's the PR: https://github.com/laravel/cashier-stripe/pull/1137
Currently, there's no way of creating Customer Tax IDs from the user object. This must be done using the Stripe SDK directly
Currently, you can get all Tax IDs using the Stripe customer directly, (which isn't so bad)
It would be nice to have full integration with tax IDs to make things a bit more fluent and Eloquent relationship-like, for example
If that's a bit much, simple helpers to the Stripe SDK would also be nice
There's no fluent way of using the Stripe customer object directly as the
createTaxId
function on\Stripe\Customer
is static, which is unfortunate.