#.xsanti_

1 messages · Page 1 of 1 (latest)

gleaming phoenixBOT
frail vector
#

Hi, what integration document are you following? What have you tried so far to debug? What does sometimes mean here specifically? Are you able to reliably reprduce? The error does not appear to be on Stripe's end and rather looks to be your end as it's unable to find the path.

cobalt crater
#

i dont find any parameters to the problem, it just happen xd, when i refresh my page, and it's reload the session, works fine

#

this is my request

const stripe = new Stripe(process.env.STRIPE_SECRET_KEY);
    const session = await stripe.checkout.sessions.create({
      success_url: "http://localhost:3000/",
      line_items: [{ price: req.body.priceId, quantity: 1 }],
      billing_address_collection: "required",
      phone_number_collection: {
        enabled: true,
      },
      mode: "payment",
    });
    res.status(200).json(session.url);
#

i repet, sometimes it works

sudden plover
#

That doesn't seem like a Stripe error.

cobalt crater
#

okey

#

thx

sudden plover
#

Sorry, I wish we could be more helpful here, but even googling the error doesn't yield much. I'm not sure what might cause that.