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?