#ollie_unexpected
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/1336706931464863784
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
const paymentIntent = await stripe.paymentIntents.create(
{
payment_method_types: ["bacs_debit"],
application_fee_amount: fee,
amount: ttnt.rent,
payment_method: ttnt.tenant.directDebitMandates[0].paymentMethodId,
customer: ttnt.tenant.stripeId,
currency: "gbp",
off_session: true,
confirm: true,
description,
},
{ stripeAccount: ttnt.tenancy.landlord.stripeConnectId },
);
Hi ๐ do you have an example of a Payment Intent where you saw this behavior?
Can you also elaborate on what "failed" means here? Like did the request to create the intent fail, in which case please share that request ID, or did the Payment Intent get created but fail to process a payment?
Hi @hasty minnow i do indeed, pi_3Qp9k304MW2BNkOF0As7l2G9
looks as though the payment intent gets created but then immediately fails
req_NAw4ZHqRjWL3mL
Hm, it looks like you're setting up the Payment Method using a Checkout Session as we suggest. Was this working as expected in testmode?
If so, this seems like it would be something related to the specifics of this actual payment rather than your integration. Our Support team is better suited to help answer questions about that, and I'd suggest opening a support case to have these investigated further:
https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
yeah this all works in testmode. this was support's last response, so figured it had something to do with the integration as it's still not working
just noticed that the message in the dashboard is "A request to create a PaymentIntent failed", don't know if this is a red herring or whether there's something i'm missing/sending wrong from my request?
Yeah, so it's something specific about those payments and how our risk models are scoring them. That's not something you can control, so there aren't changes to your integration that I'm aware of to suggest. I'd suggest continuing to discuss this with our Support team.