#jack-setupintent-clean

1 messages · Page 1 of 1 (latest)

forest magnet
#

@round copper we recommend canceling the old one and creating a new one for SetupIntent

round copper
#

ah ok, thx @forest magnet , u mean we introuce api endpoint and trigger that when payment element is destroyed/unmounted

forest magnet
#

I don't follow what that could mean no. You just asked if you could re-use a SetupIntent past 24 hours and I advise against it

#

it's totally fine to re-use it in the next few hours

#

(there's also no automatic clean up of PI)

round copper
#

sorry, i just wonder how we can cancel setupIntent

forest magnet
round copper
#

cool, when user leave from custom checkout page, I will trigger the API to cancel setupIntent,
thx for confirmation

#

u can close this ticket