← Back to release summary

PaymentRequest.canMakePayment()

Category
Miscellaneous
Type
New or changed feature
Status
Enabled by default (Chrome 56)
Intent stage
None

Summary

A method in PaymentRequest, canMakePayment(), that returns back a boolean indicating whether or not the user has the ability to make a payment at the time PaymentRequest.show() is called.

Standards & signals

Samples: https://rsolomakhin.github.io/samples/paymentrequest/can-make-payment/

View on chromestatus.com