#degenjoy_webhooks
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/1338939777390481500
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Here is the console log might be helpful for de-bugging.
hi! just want to let you know that i'm here and will take a look at this asap, but there are several open threads so it might be a bit.
Thank you sir, I appreciate the headsup!
Hi ๐ brother
ok, looking at this now
it looks like the invoice still has an outstanding amount_due
but yeah i see the payment intent is complete with the amount of 999
this does look a little odd. i'm probably missing something obvious but give me some time to look things over
it looks like the payment intent in question is different than the one attached to the invoice
pi_3QrNxBP5hZtjEVKR0lk8VyM6 should be the one being paid to clear up the outstanding invoice
you should be able to get that by getting the subscription.latest_invoice
how are you getting the payment intent currently? if you haven't yet i think it's worth looking through this guide
https://docs.stripe.com/billing/subscriptions/build-subscriptions
when creating the subscription you can include expand: ['latest_invoice.payment_intent'], and then the subscription.latest_invoice.payment_intent.client_secret can be used to create the payment session
Thank you! I will try these and see if it works.