2
0

🐛 (billing) Upgrade again after cancelling

This commit is contained in:
Baptiste Arnaud
2022-10-31 19:08:04 +01:00
parent 385853ca3c
commit d132cb118a
4 changed files with 27 additions and 7 deletions

View File

@ -40,7 +40,7 @@ export const addSubscriptionToWorkspace = async (
customer: stripeId,
items,
default_payment_method: paymentId,
currency: 'eur',
currency: 'usd',
})
await stripe.customers.update(stripeId, {
invoice_settings: { default_payment_method: paymentId },