mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
fix: add mode to checkout session
This commit is contained in:
@ -17,6 +17,7 @@ export const getCheckoutSession = async ({
|
||||
|
||||
const session = await stripe.checkout.sessions.create({
|
||||
customer: customerId,
|
||||
mode: 'subscription',
|
||||
line_items: [
|
||||
{
|
||||
price: priceId,
|
||||
|
||||
Reference in New Issue
Block a user