Type Method

canMakePayments

Returns whether the user can make payments.

Declaration

+ (BOOL)canMakePayments;

Return Value

YES if the device supports making payments; otherwise, NO.

Discussion

User may not be able to make payments for a variety of reasons. For example, this functionality may not be supported by their hardware, or it may be restricted by parental controls.

On devices that support making payments but don’t have any payment cards configured, the canMakePayments method returns YES because the hardware and parental controls allow making payments, but the canMakePaymentsUsingNetworks: method returns NO regardless of network.

See Also

Determining Whether the User Can Make Payments

+ canMakePaymentsUsingNetworks:

Returns whether the user can make payments through the specified network.

+ canMakePaymentsUsingNetworks:capabilities:

Returns whether the user can make payments using a card from the specified network with the specified capabilities.