#san_api

1 messages ยท Page 1 of 1 (latest)

amber yewBOT
#

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

knotty arrowBOT
#

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
quiet snow
#

Decline after attaching
4000000000000341
Attaching this card to a Customer object succeeds, but attempts to charge the customer fail.

minor nest
#

Oh yes that one worked, I had missed it, sorry. Thank you

quiet snow
#

NP! ๐Ÿ™‚ happy to help

minor nest
#

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

quiet snow
#

Huh.. What's happening to the invoices?

minor nest
#

It's just in Draft mode

#

But they were both "Created" on the day that I advanced time to

quiet snow
#

Can you share the subscription ID?

minor nest
#

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

quiet snow
#

huh the invoices should've finalized ๐Ÿค”

minor nest
#

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?

quiet snow
#

I haven't tried it myself yet

#

Give me a few

minor nest
#

YEah no rush at all, thank you

amber yewBOT
quiet snow
#

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?

minor nest
#

Yes, I'll try! Did you create it with a monthly subscription?

quiet snow
#

Yes monthly sub

minor nest
#

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

mystic basin
#

๐Ÿ‘‹ stepping in for my teammate!

minor nest
#

Hi!

mystic basin
#

You can create the subscription with the other card, or add a trial period then advance the clock

minor nest
#

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

mystic basin
#

Looking

#

If you advance the time once more, like an hour or a day, does that last invoice finalize?

minor nest
#

Ah, yes! So I need to do day by day advancing to be able to see all the retries?

mystic basin
#

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

minor nest
#

Got it, let me try more

mystic basin
#

@minor nest anything else I can help with before I close this thread?