From cf8daa8d533407ceca4dd3e81934a3f14c52e612 Mon Sep 17 00:00:00 2001 From: Vins Date: Wed, 24 Apr 2024 16:51:52 +0200 Subject: [PATCH] Remove paypal from paiement method --- src/services/common/StripeService/StripeService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/common/StripeService/StripeService.ts b/src/services/common/StripeService/StripeService.ts index 3ff92724..2bf9be89 100644 --- a/src/services/common/StripeService/StripeService.ts +++ b/src/services/common/StripeService/StripeService.ts @@ -18,7 +18,7 @@ export default class StripeService { const priceId = subscription.type === "STANDARD" ? this.variables.STRIPE_STANDARD_SUBSCRIPTION_PRICE_ID : this.variables.STRIPE_UNLIMITED_SUBSCRIPTION_PRICE_ID; return this.client.checkout.sessions.create({ mode: "subscription", - payment_method_types: ["card", "paypal"], + payment_method_types: ["card"], billing_address_collection: "auto", line_items: [ {