eWay 问题:按交易 ID 查询仅适用于通过 Rapid 创建的交易


eWay issue: Querying by Transaction ID is only available for transactions created via Rapid

我正在使用交易查询通过交易ID获取付款详细信息,但如果通过Rapid本身创建交易,它会返回详细信息,尽管在eWay文档中,如果我使用发票编号而不是交易ID

$client = 'Eway'Rapid::createClient($apiKey, $apiPassword, $apiEndpoint);       
$response = $client->queryTransaction(166593832);
print_r($response);
//result
Eway'Rapid'Model'Response'QueryTransactionResponse Object ( [fillable:protected] => Array ( [0] => Transactions [1] => Errors [2] => Message ) [errors:protected] => Array ( ) [attributes:protected] => Array ( [Transactions] => Array ( ) [Errors] => ) )

目前看来文档不正确 - Rapid 的交易查询只能返回 Rapid 创建的交易(无论是通过发票参考、ID 还是访问代码查询)。

如果您使用的是较旧的网关,则可以尝试查询服务 - 您需要使用您的eWAY合作伙伴帐户登录才能查看详细信息。