#krishna_80697

1 messages · Page 1 of 1 (latest)

round bobcatBOT
hoary marten
#

What Stripe Product are you using ?

#

@mental peak let's keep talking here please:

Hi mike, In my case i didnot even enter the card details, but opened the payment page for a longer time without entering the card details. So, i am expecting some event or some redirect URL property to fire in this case, so that i can handle my custom codes. Is there any possibility?

mental peak
#

Hi os4m37, I am using stripe payment gateway

hoary marten
#

Can you share a link to the guide you are following ?

mental peak
hoary marten
#

Using Checkout Session you can't implement a logic for monitoring page opening, you need to adopt a more customizable integration(e.g. Stripe Element ) and you monitor page redirection in your integration

mental peak
#

can help me where i can get the code snippet for the StripeElement

mental peak
#

using the Stripe embedded Checkout: URL provided above, i didnot see any options to handle the events when page is idel witout entering any card details and keep the page open for a long time. Please advise

hoary marten
#

Yes as I said earlier, you need to implement this in your integration not in Stripe component

#

For example, when user hits on submit button, you make a call to your API, in your backend you monitor the payment for 10sec for example, if nothing happens, your integration triggers something and handle it

mental peak
#

once i hit submit button, i am calling checkout URL. Later my code will come to my control only either through Success URL, Failed URL or Webhook response only.

hoary marten
#

So you need to add another logic in your integration to handle the user action opening a Checkout sesison without completing it

#

You can't achieve this only by relying on Stripe API, this is not supported

mental peak
#

got an idea upon your suggestion

#

while, calling checkout URL, i can keep a flag in DB, and i will keep monitoring the flag for a certain time.. if there is no changes in the flag i assume, there there no action happening from the checkout URL. so, that i can redirect back to home page

#

hope this works

#

I have another question:

mental peak
#

Thank you.

#

At checkout page, i have a checkbox

#

how to remove that Checkbox from the payment checkout page

#

I don't want to show the checkbox - "Securely save my information for 1-click checkout" option

hoary marten
#

Follow that link and choose depending on the integration you are using

mental peak
#

sure, i will check further