SCPCustomerCancellation
Objective-C
enum SCPCustomerCancellation : NSUInteger {}
Swift
enum CustomerCancellation : UInt, @unchecked Sendable
Controls whether customer-initiated cancellation is enabled during payment collection.
- Android based internet readers support enabling and disabling customer cancellation.
- WisePad 3 and Tap to Pay will always show customer cancellation and it cannot be disabled.
- Stripe M2 and Chipper 2X do not support customer cancellation.
-
Enable customer cancellation if the reader supports it.
Declaration
Objective-C
SCPCustomerCancellationEnableIfAvailableSwift
case enableIfAvailable = 0 -
Disable customer cancellation if the reader supports disabling it.
Declaration
Objective-C
SCPCustomerCancellationDisableIfAvailableSwift
case disableIfAvailable = 1