Skip to content

Commit 65a74a6

Browse files
committed
dsfdfgdfg
1 parent 193867e commit 65a74a6

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

config/tierMap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
// Map Ghost Product IDs to Stripe Price IDs
33
export default {
44
'68232ed3e43f940001f7aa0b': {
5-
monthly: 'price_1RviLmJLcUx0zERBpX5cS4r9',
6-
yearly: 'price_1Rvho6JLcUx0zERBTqlygTrU'
5+
monthly: 'price_1S2ZePJLcUx0zERBJoQyCGc2',
6+
yearly: 'price_1S2ZdHJLcUx0zERBlq0SFk6L'
77
},
88
'another-product-id': {
99
monthly: 'price_1Qyyyyyy_monthly',

services/stripeService.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ export async function createCheckoutSession(priceId, name, email, productId, pla
1515

1616
return stripe.checkout.sessions.create({
1717
mode: 'subscription',
18+
automatic_payment_methods: {
19+
enabled: true,
20+
},
1821
//payment_method_types: ['card', 'ideal'],
1922
customer: customer.id,
2023
line_items: [{ price: priceId, quantity: 1 }],
@@ -24,9 +27,6 @@ export async function createCheckoutSession(priceId, name, email, productId, pla
2427
productId,
2528
plan,
2629
name
27-
},
28-
automatic_payment_methods: {
29-
enabled: true
3030
}
3131
});
3232
}

0 commit comments

Comments
 (0)