#moses-PaymentRequest
1 messages · Page 1 of 1 (latest)
Hi there, you can only call paymentRequest.show() as a result of user interaction. i.e., button click handling.
And in most of cases you don't need to call paymentRequest.show() if you are using PaymentRequestButton element.
We use custom buttons, Is there a way for "paymentRequest.show ()" to avoid being blocked in this case?
Where do you call paymentRequest.show () ?
Click the Customize button to start creating an order. After the order is created successfully, call "paymentrequest. Show()".
OK, you need to call paymentRequest.show() in the button's onclick event handling.
Ok, I'll give it a try.