#lafafm

1 messages · Page 1 of 1 (latest)

lavish stratusBOT
somber oar
#

Hi 👋 I'm not sure off-hand and will need to do some testing regarding that.

true orchid
#

Ok, understand

#

To be more detailed - I was expecting that interface will be closed on event.complete('fail') but it doesn't

And I would like to close it on this step by force somehow

somber oar
#

.unmount() worked for me

#

Sorry, I think I misinterpreted originally, you're asking how to hide the Payment Request popup that is provided by the browsers rather than trying to hide the Payment Request Button itself?

true orchid
#

Yea

somber oar
#

Ah gotcha, I don't think you have control over that as the browser controls their side of the Payment Request process.

I think if it is possible, it would likely require interacting directly with the Payment Request API that this is built on top of rather than going through our interface, but again, I'm not sure that is possible.
https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API

The Payment Request API provides a consistent user experience for both merchants and users. It is not a new way for paying for things; rather, it's a way for users to select their preferred way of paying for things, and make that information available to a merchant.