Stripe API and Payment Intents

Hi everyone, I need some help with Payment Intents: My problem is that whenever someone tries to check out, a new payment intent is created. Then if you refresh that page, another payment intent is created. Or if you just go back by accident and click to checkout again, a new payment intent is created. My questions is, what do you do about all those payment intents. According to the docs, you can't really do much about them and they will be stuck in an obsolete state.
2 Replies
mrnicericee
mrnicericee2y ago
pretty sure theres an idempotency key you can use could be entirely wrong since i haven't used stripe extensively
amanuel
amanuelOP2y ago
I contacted a dev from stripe and they said I don't have to bother about it apparently It just feels weird to let them sit there in my dashboard as incomplete hahahaha
Want results from more Discord servers?
Add your server