ZSApplePaySetupRequiredException class

The merchant is Apple-Pay-only and the device supports Apple Pay but the Wallet has no supported cards. The customer was NOT charged. Call ZeroSettle.presentApplePaySetup to launch the system Wallet setup flow, then retry the purchase.

autoPresentedSetup indicates whether the SDK has already opened the system Wallet on the user's behalf:

  • trueConfiguration.applePaySetupBehavior == .presentBuiltInUI (the default). The SDK auto-presented the system Wallet setup flow. Your app should NOT stack additional setup UI; just be aware the purchase didn't complete and the user is mid-setup.
  • falseConfiguration.applePaySetupBehavior == .delegateToApp. The SDK did not open Wallet. Your app owns the setup UX — present your own banner / sheet and call ZeroSettle.instance.presentApplePaySetup() when the user is ready.

Added in zerosettle 1.3.4 (mirrors ZeroSettleKit 1.3.4's applePaySetupRequired(autoPresentedSetup:) payload).

Inheritance

Constructors

ZSApplePaySetupRequiredException(String message, {bool autoPresentedSetup = false})
const

Properties

autoPresentedSetup bool
final
hashCode int
The hash code for this object.
no setterinherited
message String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited