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.