diff --git a/landing/src/actions/index.ts b/landing/src/actions/index.ts index cda15fc72..c65dd66dd 100644 --- a/landing/src/actions/index.ts +++ b/landing/src/actions/index.ts @@ -17,8 +17,8 @@ export const server = { let result; try { - result = await polar.checkouts.custom.create({ - productPriceId, + result = await polar.checkouts.create({ + products: [productPriceId], successUrl: 'https://docs.shepherdjs.dev' }); } catch (error) {