#claudiuyoro_unexpected

1 messages ยท Page 1 of 1 (latest)

echo vectorBOT
#

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

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

neon moth
#

Hello,
Probably you'll need more information:
SubscriptionId: sub_1SSjNdGJ9Vvm2nnNR5ydHUUd
PaymentId that was successful: pi_3SSjOqGJ9Vvm2nnN0c2FMh77
PaymentId that failed: pi_3SSjNeGJ9Vvm2nnN006Lw2mO

echo vectorBOT
nocturne coral
#

๐Ÿ‘‹ Happy to thelp

neon moth
#

Hey! Thank you!

nocturne coral
#

Let me check that Subscription ...

neon moth
#

Also, to quickly solve it, what would be a best practice?
I need the following:

  • Cancel / Remove / Detach this invoice: in_1SSjNdGJ9Vvm2nnNq2P4ViOC
  • Mark this subscription as it should be in "Trial": sub_1SSjNdGJ9Vvm2nnNR5ydHUUd
nocturne coral
#

So the Subscription sub_1SSjNdGJ9Vvm2nnNR5ydHUUd, has generated this invoice in_1SSjNdGJ9Vvm2nnNq2P4ViOC which has this PaymentIntent pi_3SSjNeGJ9Vvm2nnN006Lw2mO

#

That PaymentIntent is still in requires_action and the customer didn't completed the 3DS authentication

#

Now back to the second PaymentIntent you've shared pi_3SSjOqGJ9Vvm2nnN0c2FMh77, it was created by your backend req_NPM28n2MpNxGck, as separate one time payment and has no link to that Subscription.

neon moth
#

Ahh, I see. Hmm, is it possible to fix this somehow now as I mentioned?
Like leave only the subscription in Trial and remove that invoice.

nocturne coral
#

It's not an issue actually, the customer should just complete their 3DS. Why the customer didn't want to complete their 3DS session ?

neon moth
#

I have no idea about that, actually I have this status: "Incomplete" and: "Expires in 10 hours if payment isn't completed", so I need to solve this user's subscription back to trial.

#

There is probably an issue on my system too about handling the 3DS session, but that's another point to solve

nocturne coral
#

Yeah at that point you should ask your customer to complete their 3DS action (by bringing them on session)

#

You can send them an email for example with a link to your frontend page that calls Stripe Javascript and handles the 3Ds

neon moth
#

No, that's not going to be a viable solution.
The custom has already paid as you mentioned as well for the extra addon so I can't just ask him to do the payment once again.

nocturne coral
nocturne coral
#

Your integration must handles 3DS

#

Otherwise, and as a workaround, you can update the Subscription with a freemium price or trial for the first billing cycle (as it was paid in a separate PaymentIntent)

#

And you mark the invoice in_1SSjNdGJ9Vvm2nnNq2P4ViOC, as paid out of band

neon moth
#

Okay, thank you!

#

Also, since this is a subscription, after the free trial, when the user is going to be charged, it's going to work? The fact that he didn't complete the 3DS, is this going to affect in any way the future charges?

nocturne coral
#

it's going to work? The fact that he didn't complete the 3DS, is this going to affect in any way the future charges?
Yeah that's my point above. Stripe will try to charge the Customer PaymentMethod, but the bank issuer can re-request again a 3DS

#

that's why I was pushing to update your integration and handle 3DS for more durable solution.

neon moth
#

okay, thank you for your support!