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

How can we help?

BACK

Why is PURCHASE_TRADE_NOT_EXIST returned?

Question:

Refund request returned PURCHASE_TRADE_NOT_EXIST.


Cause:

Production environment-The order for the refund request does not exist (status is TRADE_NOT_EXIST) or has not been paid (status is WAIT_BUYER_PAY).

Or

Sandbox environment-'PURCHASE_TRADE_NOT_EXIST' error returned is due to Sandbox backend log only memories transactions within latest 2 days.


Solution:

Production environment-

1- Please confirm that the order number is filled in correctly.

2- Please call interface single_trade_query to confirm whether the order status is SUCCESS.


Sandbox environment-

Please ask merchant to initiate fresh payments and testing refunding function within 2 days.



问题


退款请求返回PURCHASE_TRADE_NOT_EXIST


原因:


生产境-退请求对应的订单并存在,或尚未被支付(状态为WAIT_BUYER_PAY)。

沙箱环境-沙箱境值保留2天之内的易记录数据,2天之外的订单就会遭遇PURCHASE_TRADE_NOT_EXIST


解决方式:


生产环-

1、请确订单号填写正确。

2、用查询口确认笔订状态是否为SUCCESS。


箱环境-

请商户发起2内最新的测试退款。

NEED HELP?

NEED HELP?