#chrislemarshallrb

1 messages · Page 1 of 1 (latest)

cobalt plumeBOT
fresh snow
#

You can use the same canMakePayment API, it'll tell you the wallet availability regardless whether you are using ExpressCheckoutElement or PaymentRequestButton

loud pilot
#

Thanks Jack! Any doco that shows how to access the payment request when using the Express Checkout Element?

fresh snow
#

You can just create a PaymentRequest instance and call its canMakePayment

loud pilot
#

Oh, you mean create a PaymentRequest just to do that check and discard it afterwards?

#

That makes sense, thank you!