# AUTO_DETECT

AUTO_DETECT

In AUTO_DETECT mode, we will verify the status of the network and Square systems health before processing the payment and determine whether it needs to be processed online or offline. This is the preferred processing mode. If the systems are healthy, or if the merchant settings or payment amount require online processing, that will be used as if ONLINE_ONLY had been provided. However, assuming settings and amount allow it, network or server issues will instead trigger offline processing as if by OFFLINE_ONLY.

See documentation about offline payments and Payment.OfflinePayment for details.

## Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int