#himanshujain044

1 messages · Page 1 of 1 (latest)

lucid juniperBOT
keen jetty
#

Hello! Do you have an example I can take a look at?

violet tangle
#

yes

#

if you are free then please help me out

#

const session = await stripe.checkout.sessions.create({
line_items: [
{
// Provide the exact Price ID (for example, pr_1234) of the product you want to sell
price: "price_1O58beSH5rhyf7y1Sik8S2Cp",
quantity: 1,
},
],
mode: "subscription",
success_url: http://localhost:3000/,
cancel_url: http://localhost:3000/,
customer_email: "softwaresjain@gmail.com",
expires_at: Math.floor(Date.now() / 1000) + 60 * 29,
// expires_at: Math.floor(Date.now() / 1000) + 60 * 1,
});
successResponse(res, { url: session.url }, "Payment link created");

#

by doing this i making payment link

keen jetty
#

Okay, but how does that relate back to your specific issue?

violet tangle
#

yes

keen jetty
#

You were mentioning the invoice.payment_failed event - can you give more details about that?

violet tangle
#

can you join the meeting

#

?

keen jetty
#

No, that's not somethign we offer here

#

If you need more personalized support you can ask at https://support.stripe.com/contact

violet tangle
#

one last question stripe does not support the gpay method in india ?