#leovenbag
1 messages ยท Page 1 of 1 (latest)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thank you, how did I not see that ๐
What is the difference between charge.failed and payment_intent.payment_failed ? I need to detect failed payments, is there any catch on relying on the first?
You'd generally want to listen for payment_intent.payment_failed in this instance as it can be retried
Charges cannot. Payment Intents can have multiple Charges (think declines, then ultimately a successful payment)
Aha! Thanks again ๐ช