diff --git a/.env b/.env index 384ed85..162eeb8 100644 --- a/.env +++ b/.env @@ -17,6 +17,6 @@ MAIL_HOST=smtp.ionos.de MAIL_USER=register@dynastyofknights.com MAIL_PASS=111168-j-62217DwmbwPK -STRIPE_SECRET_KEY=sk_live_J1d5&Sa0lLHuyxaVCAuOhtzjirtzsd -STRIPE_WEBHOOK_SECRET=whsec_oaZPQsV2HjDB6oW0fZx+3435687mn3 +STRIPE_SECRET_KEY=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 +STRIPE_WEBHOOK_SECRET=whsec_byep5YQAyglVulaMMaZsQcysUvMA0QN9 APP_URL=https://spiel.dynastyofknights.com \ No newline at end of file diff --git a/routes/shop.route.js b/routes/shop.route.js index cb7fa68..4062a8c 100644 --- a/routes/shop.route.js +++ b/routes/shop.route.js @@ -51,7 +51,7 @@ router.post("/shop/checkout", requireLogin, async (req, res) => { try { const session = await stripe.checkout.sessions.create({ - payment_method_types: ["card", "paypal"], + payment_method_types: ["card"], line_items: [{ price_data: { currency: "eur",