feat: customer name
This commit is contained in:
parent
cb30d5e324
commit
d8173b718e
|
|
@ -94,7 +94,9 @@ export class StripeService {
|
|||
return organization.paymentId;
|
||||
}
|
||||
|
||||
const customer = await stripe.customers.create();
|
||||
const customer = await stripe.customers.create({
|
||||
name: organization.name,
|
||||
});
|
||||
await this._subscriptionService.updateCustomerId(
|
||||
organization.id,
|
||||
customer.id
|
||||
|
|
|
|||
Loading…
Reference in New Issue