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

Apple Pay Availability

Checking for Apple Pay Availability

Detect if the Apple Pay JS API is available and if payments are possible.

canMakePaymentsWithActiveCard

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