#momo_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/1384438230597763205
📝 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.
- momo_webhooks, 4 hours ago, 10 messages
- momo_webhooks, 20 hours ago, 55 messages
Hi! You can use declined cards: https://docs.stripe.com/testing#declined-payments
We tried this method, but it was blocked on this interface and we couldn’t proceed to the next step. We also didn’t receive the invoice.payment_failed webhook.
Sorry what does the error say in English?
Also you can try the Decline after attaching card.
How to try the Decline after attaching card.
Hey! Taking over for my colleague.
First you create the Subscription with a successfull payment method. Then you update the Subscription with the "Decline after attaching card" (via SetupIntent)
How to update the Subscription with the "Decline after attaching card" (via SetupIntent)?
First, you collect the new PaymentMethod via setupintent
https://stripe.com/docs/payments/save-and-reuse
Then you update the Subscription's default payment method with that new PaymentMethod:
https://docs.stripe.com/api/subscriptions/update#update_subscription-default_payment_method
Is there an easier way to get the invoice.payment_failed webhook
Another option is to use stripe cli: stripe trigger invoice.payment_failed
how to use it?
You can follow this guide in order to get started with Stripe CLi
https://docs.stripe.com/stripe-cli