#kavish_invoice-failed-payments

1 messages ยท Page 1 of 1 (latest)

serene prairieBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

analog olive
#
{
  "object": {
    "id": "seti_1QV0mrLoz3M8FCeuNspOJP1t",
    "object": "setup_intent",
    "customer": "cus_RNmLXTFDNha1ch",
    "last_setup_error": null,
    "mandate": null,
    "payment_method": "pm_1QV0r4Loz3M8FCeuDqGwFEWh",
    "status": "succeeded",
    "usage": "off_session",
    
...
  }
}
#

Also another question being how if the origin is Thailand the Address is IN which is India

stuck hearth
#

hi! just want to acknowledge your question and let you know that i'm handling a few threads and will get to you ASAP

analog olive
#

Thank you

serene prairieBOT
analog olive
#

@near merlin any update?

near merlin
#

Hey sorry I'm just jumping in here

#

How are you creating the setup intent?

analog olive
#

It is created as part of the stripe subscription that is created for every new user

#

I expand the pending_setup_intent when creating the subscription

near merlin
#

Can y ou share an example where the "Incorrect PIN" error is thrown?

analog olive
#

Give me a moment to find it

#

I do not have access to the dashboard but my manager does I am trying to get it from him

#

But in the meantime is there a reason for this to happen even using off_session?
Also if you could give an insight as to how the address is IN for a Thailand card

near merlin
#

But in the meantime is there a reason for this to happen even using off_session?

I don't have enough information to make a clear determination.

#

WRT to the Card. I see the confirm request passing

billing_details: {
      address: {
        country: "MA",
      },
analog olive
#

What does that mean?

#

Why does it show IN

near merlin
#

I don't know what you are referring to. I"m looking at the Payment Method and I see the following:

card: {
    brand: "mastercard",
    checks: {
      address_line1_check: null,
      address_postal_code_check: null,
      cvc_check: "pass"
    },
    country: "MA",
    display_brand: "mastercard",
    exp_month: XX,
    exp_year: XXXX,
    funding: "credit",
    generated_from: null,
    last4: "XXXX",
    networks: {
      available: [
        "mastercard"
      ],
      preferred: null
    },
    regulated_status: "unregulated",
    three_d_secure_usage: {
      supported: true
    },
    wallet: null
  },
analog olive
#

In the screenshot I shared the Address field states IN

near merlin
#

If you are talking about what is displayed in the Dashboard, we are not experts in what governs the display in the Dashboard. We focus on API objects here

analog olive
#

I can't find the request id
This is the payment intent id pi_3Qtk5HLoz3M8FCeu1Td489ww

#

Does this help?

near merlin
#

Yes I can take a look at that

analog olive
#

Thank you

near merlin
#

Ah this request came from an IP that was Geo-coded to IN

analog olive
#

Can you give some reason for the Incorrect PIN?

#

I thought the card should be charged autmatically since the setup intent succeeded

near merlin
#

Unfortunately all I can say is that is the error code the bank sent back to us when we attempted to auth the charge

#

It was charged automatically but the bank rejected the charge

analog olive
#

Can this be avoided? Since everytime we charge this user its declined which leads us to believe some type of fraudulent activity on the user

near merlin
#

Can this be avoided?
That is too open-ended a question for me to answer specifically.

Either you can ask the Customer to contact their card issuing bank or ask them to use a different payment method. Or you could take some other action

analog olive
#

Or could you state why was the card accepted in the first place during the setup intent succeeding if the bank rejects the actual charge?

near merlin
#

Let me look at the Setup Intent

analog olive
#

Okay thank you

near merlin
#

Okay this was just a normal auth. We checked with the bank and they approved it. But, when the charge was attempted, they declined.

Setup Intents save a payment method and authorize it with the issuing bank but, at a fundamental level, the issuing bank can approve/decline each individual transaction regardless of how Stripe configures the Payment Method.

analog olive
#

So what are the recommended steps I should take from here with the user?

near merlin
#

I know it sucks but, from what I can see, there is nothing wrong with your integration that is causing this to happen

analog olive
#

Since any new charge is declined or blocked

near merlin
#

That's up to you. As I said, there isn't anything mis-configured in your integration that I can see.

analog olive
#

Is there something recommended by Stripe?
Like suspension or retry/notification to user?

near merlin
#

We don't have a recommendation because that is too highly dependent on your business model.

#

Since you said this customer keeps having declined payments, it might make sense to bring them on-session to complete payment for the current Invoice

#

That way any payment attempt would fail/succeed while they are interacting with your UI

#

That would allow the user a chance to fix the problem while they are still on-session

#

That's the way I would approach it

analog olive
#

Okay thank you

near merlin
#

Happy to shed what ๐Ÿ’ก I can ๐Ÿ™‚