#phant
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
Hey there, we can't re-open threads but if you summarize your issue then I'd be happy to help
yeah sure
how to know if a failed payment is of subscription or one time payment in payment_intent.payment_failed webhook event
One easy way is to look at the description
That will be automatically set if it is a Subscription
Are you using Stripe Checkout here?
yes
Okay then you can set it via payment_intent_data.description: https://docs.stripe.com/api/checkout/sessions/create#create_checkout_session-payment_intent_data-description
Or you could instead use metadata here
The description will show up on receipts if you are using receipts