#claudiuyoro_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/1438435289872859177
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello,
Probably you'll need more information:
SubscriptionId: sub_1SSjNdGJ9Vvm2nnNR5ydHUUd
PaymentId that was successful: pi_3SSjOqGJ9Vvm2nnN0c2FMh77
PaymentId that failed: pi_3SSjNeGJ9Vvm2nnN006Lw2mO
๐ Happy to thelp
Hey! Thank you!
Let me check that Subscription ...
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
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.
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.
It's not an issue actually, the customer should just complete their 3DS. Why the customer didn't want to complete their 3DS session ?
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
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
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.
Or you can configure Stripe to send your customer an email when an action is needed in order to confirm the PaymentIntent:
https://dashboard.stripe.com/settings/billing/subscriptions
I think you should not create a separate PaymentIntent... because in all cases the bank issuer can still request a 3DS in a similar request req_NPM28n2MpNxGck next time
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
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?
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.
okay, thank you for your support!