Skip to content

Commit 130f271

Browse files
committed
dgdfgdfg
1 parent 2999c29 commit 130f271

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

services/stripeService.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,7 @@ export async function createCheckoutSession(priceId, name, email, productId, pla
1717

1818
return stripe.checkout.sessions.create({
1919
mode: 'subscription',
20-
automatic_payment_methods: {
21-
enabled: true,
22-
},
23-
//payment_method_types: ['card', 'ideal'],
20+
payment_method_types: ['card', 'ideal'],
2421
customer: customer.id,
2522
line_items: [{ price: priceId, quantity: 1 }],
2623
success_url: `${env.FRONTEND_URL}/success`,

0 commit comments

Comments
 (0)