#Josef-webhook

1 messages · Page 1 of 1 (latest)

shut wraith
#

hi! no, you can't disable the retries for a specific event beyond just deleting or disabling the endpoint entirely through your dashboard.

I don't think we add any identifier but will double-check something.

Is it possible to stop multiple customers from using the same email address?
In what context? In general we don't have any uniqueness constraint on Customers cus_xxx in our API having unique emails.

#

ok I checked and no, there's nothing different in the POST data between attempts

crystal ferry
#

Okay thank you

crystal ferry
#

Should I use the "payment_intent" or the "event object id" to uniquely identify purchases?
Are both stored permanently at Stripe?

shut wraith
#

the PaymentIntent is stored permanently, events are only stored for 15 days

#

so I'd use the PaymentIntent!

crystal ferry
#

Okay thanks.
Do payment intents exists that are just intents and not paid purchases?

shut wraith
#

they do yes

#

it depends what your exact integration, for example if you use Checkout you would listen to the checkout.session.completed event and save the successful PaymentIntent associated with that Session when handling the webhook, you don't need to worry about incomplete PaymentIntents.

crystal ferry
#

That makes sense, thanks

glad flint
#

👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!