#mzane42-Payment Intent

1 messages ยท Page 1 of 1 (latest)

lapis thistle
#

๐Ÿ‘‹ happy to help

#

actually you can do this in multiple ways

#

the other thing you could do is either save the PaymentIntent (PI) id in your own database

#

and once you receive the event the first time you mark it as processed

#

and the second time you will get find that the PI was already processed and you ignore it

flat panther
#

i've tried the second solution and for some clients it doesn't generate an order because of it

#

for the first solution, where can i add idempotency in payment intent that it was sent in off session for my recurring customr

lapis thistle
#

this is generally what we advise in those scenarios

flat panther
#

okey i will check that

#

last question, is there a tool to export webhook event ?

#

i want to do some filters for exemple search webhook by customer_id

lapis thistle