#๐ฌ Andrey
1 messages ยท Page 1 of 1 (latest)
When we create a payment intent does it expire ?
Depends. Generally, no. Do you have a specific example?
Do we receive a webhook when this happens?
You'd receive apayment_intent.canceledevent
The incomplete badge on the Dashboard doesn't map directly to one Payment Intent status enum
Could be one of a few: https://stripe.com/docs/api/payment_intents/object#payment_intent_object-status
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Any expired/cancelled PIs would be badged as canceled, not incomplete
Thank you, one more question:
If I create a payment intent now, can I use it in 14 days?
Do you have an example? Are you using auth/capture? Or just a regular payment?
We create a payment intent with auto-capture on and payment method to automatic (default). We also have a second case, in which we use payment method type card_present.
Then they'll never automatically be cancelled
The only instances where a PI would be automatically cancelled:
- You're using auth/capture: https://stripe.com/docs/payments/place-a-hold-on-a-payment-method#cancel-authorization:~:text=You need to capture the funds before the authorisation expires. If the authorisation expires before you capture the funds%2C the funds are released and the payment status changes to canceled. Learn more about statuses for asynchronous payments. In most cases%2C you need to capture funds within 7 days.
- You're using Checkout and the session expires.
ok, that explains everything for us! Thank you for swift responses!