Instance Method

canMakePayments

Indicates whether the device supports Apple Pay.

Declaration

static boolean canMakePayments();

Return Value

true if the device supports making payments with Apple Pay; otherwise, false.

Discussion

This method only checks to ensure that the device supports processing payments with Apple Pay. It does not verify whether or not the user has any provisioned cards in Wallet.

This method can be called any time.

See Also

Determining Support for API and Payments

supportsVersion

Detects whether a web browser supports a particular Apple Pay version.

canMakePaymentsWithActiveCard

Indicates whether the device supports Apple Pay and whether the user has an active card in Wallet.