#lafafm
1 messages · Page 1 of 1 (latest)
Hi 👋 I'm not sure off-hand and will need to do some testing regarding that.
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
.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?
Yea
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