feat: customer name

This commit is contained in:
Nevo David 2024-08-16 23:38:48 +07:00
parent cb30d5e324
commit d8173b718e

View file

@ -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