#moses
1 messages · Page 1 of 1 (latest)
Based on the document, I used code "paymentrequest Show()", I can see the Apple Pay button on the payment page on my IOS device, but there is no response when I click the button, which means I cannot finish the payment successfully by Apple Pay. Could you let me know why there is no response when I click the Apple Pay button? The document that I read is:https://stripe.com/docs/js/payment_request/show
I can't go to the payment page as it requires login
Is there a test account that I can use?
I am getting this error
You should only call paymentRequest.show() as the result of a user interaction (for example, in a click handler).
It's not a user triggered event I'm afraid
This is how I simulate click events. Is there anything wrong
It's not a user triggered event
OK, I'll try again
Are you using PaymentRequestButtonElement?
If you are using PaymentRequestButtonElement, you don't need to call paymentRequest.show() explicitly.
No, the custom buttons we use
We need to do other things before payment, so we use customization
OK, so you are using Payment Request Button. You don't need to call paymentRequest.show() , the SDK will call this function when the button is clicked.
ok, thank you