fix: wait activated event (#6814)

This commit is contained in:
darkskygit committed 2024-05-07 09:44:38 +00:00
1 parent 35ce4adffe
commit 8e0a0a7f02
2 files changed
+46 -6

No files matched your search

@@ -204,7 +204,7 @@ export class SubscriptionService {
tax_id_collection: {
enabled: true,
},
...(discounts ? { discounts } : { allow_promotion_codes: true }),
...(discounts.length ? { discounts } : { allow_promotion_codes: true }),
mode: 'subscription',
success_url: redirectUrl,
customer: customer.stripeCustomerId,