#lezh1k_api
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. Thank you for your patience!
âąď¸ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.
đ 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/1213063223583055902
đ Have more to share? You can add more detail below, including code, screenshots, videos, etc.
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.
- lezh1k_incomplete-subscription, 21 hours ago, 34 messages
You'd create and confirm a new Setup Intent, which would generated a pm_xxx object that you can then set as the default for the Subscription. This guide, essentially: https://docs.stripe.com/payments/save-and-reuse
If I create and confirm NEW setup intent it does not work with card number 4000002760003184 (This card requires authentication on all transactions, regardless of how the card is set up.) By saying "does not work" I mean that subscription status becomes 'past_due' .
I think we spoke about this yesterday? What is unexpected about that?
The recurring payments of the subscription are off-session so if 3DS is requested, which is the default for that card, then it'd be a payment 'failure' and it'd transition to past_due yes
Yes, we spoke about this yesterday.
I changed the sequence and it worked if I create new subscription. I mean subscriptions status is "Active" instead of "incomplete".
But now I can not change subscriptions payment method.
I mean I create subscription with card "4242 4242 4242 4242" for instance.
Then I want to change this card to 4000002760003184 .
Of course I can cancel old subscription and create new, but I don't think that it's how it supposed to work
OK, but what is unexpected from what you've described and what we know about the 3184 test card?
It required 3DS/auth on all payments. If that is an off-session recurring payment (i.e. automatically triggered by an invoice for a new billing period), then the customer is not present to authenticate that payment
Therefore, the the payment 'fails' and we mark the subscription as past_due. You'd prompt your customer to come back on-session at that point to confirm the payment and handle auth/3DS
I see. So I did not get right. Now it's clear. And for that I can create some invoice or something and ask customer to confirm payment.
Ok then. Thank you again ))
Well, there'll already be an invoice and and intent. They'd just need to come back to your website and you can re-confirm the same invoice/intent
If you use Stripe.js (which you should be), that will initiate the 3DS/auth flow
Yes, I use Stripe.js .
Once that succeeds, invoice will be paid and the subscription moves back to active