.deviceSupportsApplePay() -> Promise
Method is deprecated, use deviceSupportsNativePay() instead.
Returns whether the user can make Apple Pay payments. The 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.
Returns true
if the device supports making payments; otherwise,
false
.
NOTE: The iOS Simulator always returns true
.
import stripe from 'tipsi-stripe'
await stripe.deviceSupportsApplePay()