#mahad852-invoices-pi

1 messages ยท Page 1 of 1 (latest)

simple ruin
#

hello, yes pls share the example Invoices, PaymentIntents and related requests and I can help look

neon orchid
#

example where the invoice WAS NOT voided:
PaymentIntent: pi_3KhMxvKHqIuz5QBf1A7Iv21d Invoice: in_1KhMxvKHqIuz5QBfzPssgmPq

example where the invoice WAS voided and PaymentIntent went through:
PaymentIntent: pi_3Kgid0KHqIuz5QBf0MCXSw1o Invoice: in_1KgiczKHqIuz5QBfx9MWdzEL

Note: I went through the same steps in both cases, as highlighted above

simple ruin
#

thanks, looking

neon orchid
#

hey, any update on this?

simple ruin
#

so I tried and could not repro on my account. Seeing if timing plays a part since your void and PaymentIntent confirmation were a few seconds apart

neon orchid
#

Yes but why the difference between the two cases? If timing was the issue, shouldn't the other invoice be voided too?

simple ruin
#

sorry to clarify

neon orchid
#

oh ok, I get it. No, timing is not the issue here. I can reproduce an example where PaymentIntent confirmation and voiding of the invoice are not seconds apart

simple ruin
#

I tried repro'ing it and the underlying PaymentIntent cannot be paid via the hosted invoice url if I void the Invoice

so I cannot repro

but I see in your Invoice and your PaymentIntent, the PaymentIntent was apparently paid seconds after the Invoice was voided. So I'm trying to see if close timing makes a diff - aka Stripe hasn't fully voided the Invoice internally (but sent the event, just a theory)

#

I can reproduce an example where PaymentIntent confirmation and voiding of the invoice are not seconds apart

ah ok that helps, cause I could not reproduce on my end with a simple example. But still digging

#

also I might be stepping away but providing context to a team member, they're catching up, one min

neon orchid
#

Sure, thanks

#

Example where there is a gap of about a minute between the voiding of the invoice and the time when the PaymentIntent went through:

Invoice: in_1KjWbcKHqIuz5QBfbHBHbey5 PaymentIntent: pi_3KjWbcKHqIuz5QBf0wvH1c2j

neon venture
#

Hello! I believe this is due to the logic we had to put in place for RBI, but I'm working on confirming that now...

#

Yep, just confirmed this is a known issue we're working on now. No ETA for a change in behavior or anything like that, but we're aware of it.

neon orchid
#

Hmmm, so there is no ETA? Some of our users have been affected by this and we've had to refund them. They essentially end up paying us but the payment is essentially useless

neon venture
neon orchid
#

I did try that, but stripe gave me an error stating that a PaymentIntent associated with an invoice can not be cancelled.

#

Can there be another quicker solution/workaround that I can perhaps use? We are really in a bind here considering we launched this feature and we already have a significant number of users subscribed on our INR prices

neon venture
#

Ah, gotcha. Let me investigate...

#

One question: after the Invoice is voided how are your customers making the payment on the underlying Payment Intent? I'm looking for all of the methods they're using to make sure I'm considering all the relevant details.

neon orchid
#

so if they do not reload the hosted invoice url after failing authentication and then try to pay again, the payment goes through

#

however, if they do reload, they'd see that invoice is not valid anymore/voided

#

which is alright, since in that case they wont be able to pay. the problem arises when they don't reload, and pay via the hosted invoice UI

neon venture
#

Ah, gotcha.

#

Thank you for that detail, trying to find a viable workaround now...

neon orchid
#

Thank you, I'll be waiting

neon venture
#

Can you give me the ID of an Invoice in live mode where this happened?

neon orchid
#

sure

#

in_1KjJjqDuowMsFSZJD2Znrqa3

#

we refunded this customer

#

but as you can see the paymentIntent went through after the invoice had been voided

neon venture
#

Perfect, thank you! Hang on...

neon orchid
#

Hey, did you find a viable workaround that I can use?

neon venture
#

Nope, still working on it though.

#

I'm pulling in some other people.

neon orchid
#

Alright, thanks

neon venture
#

Not on Discord, at Stripe, just to be clear. ๐Ÿ™‚

neon orchid
#

Yeah yeah, I know ๐Ÿ˜„

neon venture
#

Has this always been happening? Meaning once you started using the hosted Invoice payment page with IN transactions this was an issue, or was everything working fine for a while and then this started happening?

neon orchid
#

We were previously accepting all payments in USD. we very recently have launched price localization with INR and it's been happening since then

#

So yes, it's been happening since the time we have started accepting INR payments, which is pretty recent

neon venture
#

Gotcha, thank you! I might have sporadic questions for you as we investigate if that's okay? ๐Ÿ™‚

neon orchid
#

Yup, it's alright

neon venture
#

Update: we've got a number of people looking into this right now. I still can't give you an ETA or anything, but it's been escalated internally and is being actively worked on.

neon orchid
#

Thanks a lot.

Just: should I look for a workaround or should I wait for the fix to be out?

high holly
#

It might take a while to get a fix out unfortunately

neon orchid
#

Yeah that is pretty unfortunate

high holly
#

Agreed, sorry for the trouble and thank you for noticing and raising this here. We're working on a fix, it's just a pretty special edge-case that isn't easy to fix

neon orchid
#

Considering this issue could occur over on renewal payments as well (since hosted invoices are emailed to customers), our existing subscribers who change to a card not supported for off-session payment may also face issues. But yup, I understand.

#

Anything else that you guys need to ask me?

high holly
#

not for now I think we've narrowed down the root cause, just working on the right fix

neon orchid
#

Alright, thanks