#harshitbhargava

1 messages ยท Page 1 of 1 (latest)

fiery mistBOT
unborn raptor
#

Hi ๐Ÿ‘‹ is this an integration where you're directly creating and managing Payment Intents, such as integrations using the Payment Element? Or are you using a prebuilt flow like Checkout Sessions?

acoustic kettle
#

I am using payment element

unborn raptor
#

Gotcha, in that case, no. The Payment Intent will not be canceled unless a request is made to explicitly move it to that state.
https://stripe.com/docs/api/payment_intents/cancel

I believe you would need to implement some site abandonment logic on your site to detect when customers drop off of it.

acoustic kettle
#

Can you help me out like which logic suits best?

unborn raptor
#

Sorry, that's not something I have experience setting up, and is something you would do outside of Stripe so I don't have anything to point you to from our side.

My (possibly naive) guess of how you would do this is by including logic on each page that sends you statistics about your customers moving from one page to another. Then you can look for scenarios where you stop receiving updates that a customer moved to another page.

acoustic kettle
#

Ok thanks