#ollie_unexpected

1 messages ยท Page 1 of 1 (latest)

flat pathBOT
#

๐Ÿ‘‹ 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.

novel thistle
#
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 },
      );
hasty minnow
#

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?

novel thistle
#

Hi @hasty minnow i do indeed, pi_3Qp9k304MW2BNkOF0As7l2G9

#

looks as though the payment intent gets created but then immediately fails

#

req_NAw4ZHqRjWL3mL

hasty minnow
#

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

novel thistle
#

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?

hasty minnow
#

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.

novel thistle
#

๐Ÿ˜ฆ

#

okay no worries, thanks for looking into it!