NAB Transact-如何使用Omnipay处理退款

时间:2020-10-05 13:02:54

标签: php omnipay

我们正在使用Omnipay进行NAB Transact。

https://github.com/sudiptpa/omnipay-nabtransact

我们可以成功付款,并且可以看到带有交易ID等的退款金额。

现在我们正尝试退款,因此根据文档,其需要如下参数 'amount','transactionId','transactionReference'

我们的代码是

$refund = $gateway->refund([
                   'transactionReference' => "XYZ100",
                   'transactionId' => "245294",
                   'amount' => "10.00"
                    ]);

$response =  $refund ->send();

作为回应,我们看到此消息

Credit card details not available

有人可以帮忙吗

预先感谢

0 个答案:

没有答案
相关问题