#val - payment request
1 messages · Page 1 of 1 (latest)
Yeah, we have a hard to reproduce bug where sometimes totals don't match, and instead of proceeding with the order, I would like to close the payment request modal, and show an error to the user in our checkout page. However, I can't figure out a way to close the payment request modal.
Just like we can show with paymentRequest.show() is there a method to close?
I don't believe there's a close method, no. Have you written in to support to report this bug?
Yeah, though it's probably on our side, it's just haven't been able to reproduce correctly, it has happened to users very rarely while an update to payment intent is happening, so was looking for an alternative solution
Ah ok I see. Yeah, unfortunately there isn't a close method, but you probably can display some sort of error still