#akshay-close-paymentsheet

1 messages · Page 1 of 1 (latest)

next hamlet
#

@inland canyon any chance you could provide more specific details about your code, what you mean, what is and isn't working, which doc you follow, where you're stuck, etc.?

inland canyon
#

I think the error is me not knowing how to handle closing the payment sheet interface

#

So if there's any documentation on what events are triggered when I click Cancel in Google Pay, for example, then i can follow that

next hamlet
#

you can't force close that UI, only the customer can

#

so I'm not understanding what you are trying to solve sadly

quick turtle
#

@inland canyon we can continue chatting here!

inland canyon
#

Awesome thanks

#

To clarify, I am not trying to close the browser payment interface myself. i want to know what happens when the customer closes it. Does that trigger any events, and if so, how can I gracefully handle them? Currently I'm getting some issues with inaccurate prices and some of my backend service calls failing, so I just want to know if there's documentation for this

quick turtle
inland canyon
#

But it doesn't have any object that comes with the event

#

What do people usually do on this cancel event

quick turtle
#

What object would you be expecting to come with this event?

inland canyon
#

not sure tbh

#

Most likely my issues are coming from somewhere else then but at least I can add an event listener for cancel and make sure there are no bugs there

#

thanks!