From d77bc84d7921e477adaf11e17dbbebaeda95f793 Mon Sep 17 00:00:00 2001 From: adueck Date: Sat, 15 Oct 2022 09:36:10 +0500 Subject: [PATCH] o --- account/src/routers/payment-router.ts | 3 +-- account/views/user.ejs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/account/src/routers/payment-router.ts b/account/src/routers/payment-router.ts index 1a24ffb..3e91e4c 100644 --- a/account/src/routers/payment-router.ts +++ b/account/src/routers/payment-router.ts @@ -81,8 +81,7 @@ paymentRouter.post("/create-checkout-session", async (req, res, next) => { } try { const prices = await stripe.prices.list({ - lookup_keys: [req.body.productId], - expand: ['data.product'], + expand: ['data.product'], }); const session = await stripe.checkout.sessions.create({ billing_address_collection: 'auto', diff --git a/account/views/user.ejs b/account/views/user.ejs index f5809ed..68279c2 100644 --- a/account/views/user.ejs +++ b/account/views/user.ejs @@ -63,7 +63,7 @@ <% if (user.tester) { %>

Upgrade to Student account for Wordlist features

- +