Compare commits
1 Commits
fix/api-ke
...
feat/payme
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2fe6ab3561 |
@@ -88,6 +88,7 @@ export default async function handler(
|
|||||||
|
|
||||||
const session = await stripe.checkout.sessions.create({
|
const session = await stripe.checkout.sessions.create({
|
||||||
mode: "subscription",
|
mode: "subscription",
|
||||||
|
payment_method_collection: "always",
|
||||||
line_items: [
|
line_items: [
|
||||||
{
|
{
|
||||||
price: process.env.STRIPE_PRO_PLAN_MONTHLY_PRICE_ID,
|
price: process.env.STRIPE_PRO_PLAN_MONTHLY_PRICE_ID,
|
||||||
|
|||||||
Reference in New Issue
Block a user