canMakePayments()
Returns whether the user can make payments.
Declaration
class func canMakePayments() -> BoolReturn Value
true if the device supports making payments; otherwise, false.
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 present(completion:) method returns true because the hardware and parental controls allow making payments, but the canMakePayments(usingNetworks:) method returns false regardless of network.