#san_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.
โฑ๏ธ 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/1222277333415891036
๐ 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.
- san_api, 31 minutes ago, 8 messages
Decline after attaching
4000000000000341
Attaching this card to a Customer object succeeds, but attempts to charge the customer fail.
Oh yes that one worked, I had missed it, sorry. Thank you
NP! ๐ happy to help
Hey sorry another question
I attached that card, and I used Stripe test clock to advance 2 months, I was expecting the failed payment webhook to be triggered twice, but I didn't see it triggered
Huh.. What's happening to the invoices?
It's just in Draft mode
But they were both "Created" on the day that I advanced time to
Can you share the subscription ID?
sub_1OygUFHQxQQIDMAvOiVoUIKY
WE have our retries set up for 3, 5 and 7 days after the other one, total of 15 days after initial attempt
huh the invoices should've finalized ๐ค
Do you see it on your end too?
Like if you use the same test clock and advance, do y ou see them in draft mode?
YEah no rush at all, thank you
Hmm tried it on a test subscription and I am seeing them finalize just fine.
Can you try creating a new test subscription and see if that changes anything?
Yes, I'll try! Did you create it with a monthly subscription?
Yes monthly sub
Should I create the subscription with the card you attached above or with a card that will pass and then change it to this one?
Ah no it didn't let me create with that card so I need to do the other card then update
๐ stepping in for my teammate!
Hi!
You can create the subscription with the other card, or add a trial period then advance the clock
sub_1Oyh0EHQxQQIDMAvsVeTiK6T
That's the new subscription I created
I still see the invoice just in draft mode
Didn't get the failed payment webhook
Not sure what am I doing wrong, I Advanced time to April 27,2024 on that subscription
Looking
If you advance the time once more, like an hour or a day, does that last invoice finalize?
Ah, yes! So I need to do day by day advancing to be able to see all the retries?
Not exactly. What you're running into here is the fact that an invoice will be created at the start of a new billing cycle but the invoice won't be finalized until ~1 later
So, what you could do is, if a billing cycle ends on April 27, advance the clock to April 28 if you want to trigger the invoice finalization and automatic payment events
Got it, let me try more
@minor nest anything else I can help with before I close this thread?