diff --git a/src/controllers/paymentController.ts b/src/controllers/paymentController.ts index 104de72..72db240 100644 --- a/src/controllers/paymentController.ts +++ b/src/controllers/paymentController.ts @@ -111,13 +111,14 @@ export async function CreateCheckoutSession(priceId: string, userId: string) { await loadPrices(); const session = await stripe.checkout.sessions.create({ - payment_method_types: ["card", "paypal"], + payment_method_types: ["card"], line_items: [ { price: priceId, quantity: 1, }, ], + billing_address_collection: "required", mode: "subscription", subscription_data: {