#moses-PaymentRequest

1 messages · Page 1 of 1 (latest)

unborn junco
#

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.

novel thunder
#

We use custom buttons, Is there a way for "paymentRequest.show ()" to avoid being blocked in this case?

unborn junco
#

Where do you call paymentRequest.show () ?

novel thunder
#

Click the Customize button to start creating an order. After the order is created successfully, call "paymentrequest. Show()".

unborn junco
#

OK, you need to call paymentRequest.show() in the button's onclick event handling.

novel thunder
#

Ok, I'll give it a try.