testing
parent
5321476433
commit
6c2fd50ed0
|
@ -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: {
|
||||
|
|
Loading…
Reference in New Issue