Alipay, China's leading third-party online payment solutionAlipay, China's leading third-party online payment solution

How can we help?

BACK

What are the In-store Payment transaction statuses?

Question:

What are the status of an Alipay In-store Payment transaction? What are each?

Answer:

There are four statuses for an In-store payment transaction (the alipay_trans_status of query interface response) :

TRADE_SUCCESS, TRADE_FINISHED, TRADE_CLOSED, WAIT_BUYER_PAY

The relationship between the status are illustrated in the following figure:

Notes:
  • When partial refunds, the transaction status remains being TRADE_SUCCESS until the transaction is fully refunded.
  • If the payment time-out, the status will change to TRADE_CLOSED.
  • After the refund period expires, the transaction cannot be refunded and the status is changed to TRADE_FINISHED. Merchants will receive an asynchronous notification when this occurs.
  • After a transction is cancelled, the status becomes TRADE_CLOSED.

问题详情:

当面付交易有几种交易状态,各是什么?

解答:

当面付,与境外收单略有不同,共有四种交易状态,分别是:

TRADE_SUCCESS, TRADE_FINISHED, TRADE_CLOSED, WAIT_BUYER_PAY

出现场景如下

相关接口 出现场景
alipay.acquire.overseas.spot.pay 境外当面付反扫 异步通知
alipay.acquire.create 境外当面付正扫交易码标准模式 异步通知
alipay.acquire.precreate 境外当面付正扫交易码简单模式 异步通知
alipay.acquire.precreate 境外当面付正扫三方码 异步通知
alipay.commerce.qrcode.create 境外当面付正扫商家码 异步通知
alipay.acquire.overseas.query 境外当面付支付查询 同步返回

其中的关系和状态变更如下图所示:

注意事项:

1、当部分退款时,状态仍显示为TRADE_SUCCESS,直到全额退款为止,会更新状态为TRADE_CLOSED。

2、当等待客户付款超过timeout时限后,状态会转换为TRADE_CLOSED。

3、交易超过退款期限时状态会变为TRADE_FINISHED,该状态的交易无法办理退款,商户可能会在这时收到异步通知。

4、当面付交易调用cancel接口取消交易后,状态为TRADE_CLOSED。

NEED HELP?

NEED HELP?