大家好,我在这个问题上需要帮助,我使用了 coinpaymentHosted Lib,我已正确设置了 creditiate,但是当我尝试处理交易时出现此错误消息,这是我的代码,
$cps = new CoinPaymentHosted();
$cps->Setup($gate->val2,$gate->val1);
$callbackUrl = route('user.callback.coinpayment');
$req = array(
'amount' => (FLOAT) $Amountcharge,
'currency1' => 'USD',
'currency2' => $request->selectcrypto,
'custom' => $transactionRecord->uuid,
'ipn_url' => $callbackUrl,
'cancel_url' => route('home'),
);
$result = $cps->CreateTransaction($req);
dd($result);
我不知道我是不是有什么问题还是来自投币支付,我也安装了这个包https://github.com/hexters/CoinPayment并根据使用情况进行设置,但我仍然收到相同的错误“HMAC 签名不匹配”