#_kevinx

1 messages · Page 1 of 1 (latest)

tawny sandalBOT
rough kraken
hard wasp
#

Here is the code I use

const session = await stripe.checkout.sessions.create(
  {
    mode: "payment",
    line_items: [
      {
        price_data: {
          currency: "usd",
          unit_amount: 222,
        },
        quantity: 1,
      },
    ],
    payment_intent_data: {
      application_fee_amount: 11,
      setup_future_usage: "off_session",
    },
    success_url: `${req.headers.origin}/account&success=true&session_id={CHECKOUT_SESSION_ID}`,
    cancel_url: `${req.headers.origin}/?canceled=true`,
  },
  {
    stripeAccount: "{{CONNECTED_ACCOUNT_ID}}",
  }
);
#

We are using Connect Standard Account with Checkout btw

rough kraken
#

If you could provide the request ID that would be useful

hard wasp
#

ok, give me a sec, I might find out the reasons already

#

Found out the reason, it's on our side, sorry about the it