Php 当发卡机构调用网站时,使用Omnipay检索交易参考

Php 当发卡机构调用网站时,使用Omnipay检索交易参考,php,omnipay,Php,Omnipay,我似乎无法找到如何检索事务引用 基于所调用的网关和回调url,这是否可能 $purchaseResponse = $gateway->completePurchase()->send(); if($purchaseResponse->isSuccessful()) { //please give me the transaction id! (当然,我可以使用$GET参数自己检查它,但是,这会删除“通用”支付提供商部分。)您使用的是哪个网关?我使用的是Targetp

我似乎无法找到如何检索事务引用

基于所调用的网关和回调url,这是否可能

$purchaseResponse = $gateway->completePurchase()->send();
if($purchaseResponse->isSuccessful())
{
     //please give me the transaction id!

(当然,我可以使用$GET参数自己检查它,但是,这会删除“通用”支付提供商部分。)

您使用的是哪个网关?我使用的是Targetpay\u Ideal,后来想使用Paypal和其他。Omnipay的基本响应类有一个
getTransactionReference()
函数,但是,该网关尚未实现。我已将其添加到待办事项列表中。