#alalva_api

1 messages ¡ Page 1 of 1 (latest)

errant lavaBOT
#

👋 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/1311375724501925980

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

reef lynx
#

Can you explain in more detail what's happening here and what's unexpected?

#

I don't understand the question

frail vigil
#

yes, ok so i have created daily subscriptions, with these daily subscriptions users can jump from 1 subscription to another. Yesterday I created a user on a $35 plan and then yesterday after i signed up to a $20 plan and i did this by using the API Create a Schedule and Update a schedule when i did this it shows that the next invoice would be today for $20. Today Stripe was supposed to charge $20 and sign the user to the $20 subscription but instead it didn't charge the user but did sign the user to the $20 plan. I was expecting Stripe to attempt to charge $20 but it didn't - basically skipped charging the user today and seems that the next invoice will not be until ttomorrow the 28th

reef lynx
frail vigil
#

i have a test credit that i'm using to fail, i did that on purpose as what i'm also trying to do is be able to create a webhook that will trigger sending the user a email. The reason i found out that it didn't work is because my webhook "invoice payment failed" didn't send an email - this email is supposed to happen when the webhook has attempted to charge.

reef lynx
#

I was expecting Stripe to attempt to charge $20 but it didn't
The above failed invoice is the attempt

frail vigil
#

i guess my question is in previous test that i have created it using the same method it skipped 1 day but then the rest of the days it did attempt to charge for the subscription. Is there something that i'm missing or how can i have Stripe attempt to charge for today's invoice? I am going to see the webhooks and see if i can pull a different user and you will see that it will show that it skipped 1 day completely but keeps on attempt to charge for all the others. Hopefully i still have something to show you as yesterday i deleted some users.

reef lynx
#

Yeah i'd need to see an example

#

The above shared example functioned as expected

frail vigil
#

yeah looks like i deleted those users that were showing that day were it didn't charge. maybe after tomorrow i will see the same happen to this user and i can then reach back out. Well i'm sorry for the waste of time but i do hope you have a great Thanksgiving with your loved ones.