#moses

1 messages · Page 1 of 1 (latest)

sour lantern
#

Hi there, how can I help?

fleet laurel
#

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

sour lantern
#

I can't go to the payment page as it requires login

#

Is there a test account that I can use?

fleet laurel
#

You can use this account

sour lantern
#

I am getting this error

#

You should only call paymentRequest.show() as the result of a user interaction (for example, in a click handler).

fleet laurel
sour lantern
#

It's not a user triggered event I'm afraid

fleet laurel
#

This is how I simulate click events. Is there anything wrong

sour lantern
#

It's not a user triggered event

fleet laurel
#

OK, I'll try again

sour lantern
#

Are you using PaymentRequestButtonElement?

#

If you are using PaymentRequestButtonElement, you don't need to call paymentRequest.show() explicitly.

fleet laurel
#

No, the custom buttons we use

#

We need to do other things before payment, so we use customization

sour lantern
#

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.

fleet laurel
#

ok, thank you