From b0060e7b8d4b70aa23db60f69fc950b7b1cae790 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Beli=C3=ABn?= Date: Tue, 25 Jul 2023 11:57:55 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BD=EF=B8=8F=20Update=20Stripe=20API?= =?UTF-8?q?=20URLs=20(1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _javascript/stripe/session/donation.ts | 2 +- _javascript/stripe/session/plan.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_javascript/stripe/session/donation.ts b/_javascript/stripe/session/donation.ts index 7a6405d..9910c3e 100644 --- a/_javascript/stripe/session/donation.ts +++ b/_javascript/stripe/session/donation.ts @@ -17,5 +17,5 @@ export async function createSessionDonation(donation: StripeDonationData): Promi data.message = donation.message; } - return await fetchStripe("POST", `${process.env.STRIPE_API}/checkout/session/subscription`, data); + return await fetchStripe("POST", `${process.env.STRIPE_API}/checkout/session/payment`, data); } diff --git a/_javascript/stripe/session/plan.ts b/_javascript/stripe/session/plan.ts index fb35fe5..374db85 100644 --- a/_javascript/stripe/session/plan.ts +++ b/_javascript/stripe/session/plan.ts @@ -12,5 +12,5 @@ export async function createSessionPlan(plan: StripePlanData): Promise