#dingkai031
1 messages · Page 1 of 1 (latest)
What's the PaymentIntent ID?
sorry I'm not sure how to get it from dashboard. But from the code,
- I set it like the image below.
- Cancel it from dashboard.
- Refresh the page.
- But stripe element still shows.
I expect that it would give a warning like "client secret expired/canceled".
I need to know the PaymentIntent ID so that I can tell if it's cancelled.
Thanks. the PaymentElement would still render as long as the paymentIntent secret is valid, but when you attempt to confirm it, an error will be raised.
ah I see, thank you