From 9cc58f2c64d4a347af184c8f254d350355576deb Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 12 Feb 2026 03:22:02 +0000 Subject: [PATCH 1/2] Initial plan From fa077547e529d1286db7422792ca5e7d90850655 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 12 Feb 2026 03:29:49 +0000 Subject: [PATCH 2/2] Update Polar SDK checkout API from custom.create to create with products array Co-authored-by: RobbieTheWagner <2640861+RobbieTheWagner@users.noreply.github.com> --- landing/src/actions/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {