#javiercane_code
1 messages Β· Page 1 of 1 (latest)
π Welcome to your new thread!
β²οΈ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
β±οΈ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
π This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1311952371051397130
π Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! It sounds like a Checkout Session was created and the Customer attempted to make payment but ran into the error you mentioned? If so, can you share the Checkout Session id? It'll have the prefix cs_
Hi! thx for your help π
here you have the screenshot of the error from the end user point of view:
Session ID: cs_live_a18Vmn1hp9QW5awwxiamW91tY4giDT4H5G5BdQnvCkhrIfwEMs3FoVutaU
Log ID: req_OdkFELrUAfQjIp
just in case: I have simplified a little bit the non relevant parts in the shared code snippet such as price, plan, description, etc
in fact I see that Discord has trimmed it a little bit, so here you go:
await stripe.checkout.sessions.create({
automatic_tax: { enabled: true },
billing_address_collection: 'required',
tax_id_collection: { enabled: true },
payment_intent_data: {
setup_future_usage: 'off_session'
},
line_items: [{
price_data: {
currency: 'eur',
product_data: {
name: 'example',
description: 'example'
},
tax_behavior: 'inclusive',
unit_amount: 10000
},
quantity: 1
}],
invoice_creation: { enabled: true },
payment_method_types: ['card', 'link', 'sepa_debit'],
mode: 'payment',
success_url: `https://example.com/success`,
cancel_url: `https://example.com/#pricing`
});
we have this function deployed in a CloudFlare Worker and call to it from our frontend when the users select more than 1 unit (in that other case we simply use a Stripe Payment Link, but due to Products not supporting tier prices if they are one-off ones, we have to use this server function to create the custom Checkout Session for multiple items). You can see that in managerpro.team π
gimme a while, looking into this now
sure thing, no hurries at all. Thank you!! π
ah, we're having some trouble with SEPA DD transactions at the moment. I'll share a link with you where you can create a Support Ticket, you can write in there and we'll let you know once it's resolved. Does that work for you?
perfect Alex
Hello @uneven pivot, we have sent you a direct message, please check it at https://discord.com/channels/@me/1311957455382777886
- πThe message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
can I reference this Discord channel?
it'll automatically be referenced as part of the ticket, no need to worry about that!
we're working on it right now, but we don't have an ETA that we can share at the moment