> ## Documentation Index
> Fetch the complete documentation index at: https://devzone.nayax.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 延迟付款

延迟交易流程分为两个不同的阶段处理支付请求：

1. 预授权阶段
2. 最终授权与结算阶段

这种两步方式特别适用于最初刷卡交互后最终金额或细节可能发生变化的交易。

## 交易流程

要理解延迟交易流程，请参考以下事件顺序：

> [!NOTE]
>
> 绿色区域内的步骤为在线执行，红色区域内的步骤为离线执行。

![](https://mintcdn.com/nayax-44d6e37b/gp-udlFbAMEECcYg/images/docs/tweezercomm-deferred-payment/image1.png?fit=max\&auto=format\&n=gp-udlFbAMEECcYg\&q=85\&s=69de8eb420e59838c850ca7970e5dc21)

以下是每个步骤的详细说明：

1. After the client application (POS) performs its [`doPeriodic()`](/docs/integrate-pos-device/tweezercomm/israel-payment-methods/doperiodic) to settle the stored card transactions.
2. `setConfig()` 会将设备切换为使用离线模式的延迟工作模式。
3. The POS sends a [`doTransaction()`](/docs/integrate-pos-device/tweezercomm/israel-payment-methods/dotransaction-ashrait) request to the Nayax Device, triggering a new transaction.
4. 持卡人轻触其非接触式卡片。
5. The Nayax Device checks for "Deferred pre-conditions" and, upon approval, returns the transaction result as `Approved->Pending`. This means the transaction is approved.
   > [!NOTE]
   >
   > 延迟模式的工作完成后，继续执行第 6 步。
6. 客户端应用程序调用 `setConfig()`，将离线模式设置为 false。
7. 客户端应用程序调用 `authorizePendingTransactions()`，将待处理交易发送给 Nayax 设备，请求对其进行结算（但此时尚未执行结算）。
8. Nayax 设备与 SHVA 通信，以发起待处理交易的授权。
9. 交易结果被返回给设备。
10. 交易结果被返回给客户端应用程序。
11. The flow concludes with a final [`doPeriodic()`](/docs/integrate-pos-device/tweezercomm/israel-payment-methods/doperiodic) call from the client application, to settle all authorized transactions.

## 参见

> **[常规交易](/docs/integrate-pos-device/tweezercomm/israel-payment-flows/single-phase-transaction.md)**

> **[两阶段交易](/docs/integrate-pos-device/tweezercomm/israel-payment-flows/2-phase-transaction.md)**

> **[预授权（以色列）](/docs/integrate-pos-device/tweezercomm/israel-payment-flows/tweezercomm-pre-authorization-israel.md)**

> **[拆分交易](/docs/integrate-pos-device/tweezercomm/israel-payment-flows/tweezercomm-split-transaction.md)**


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.