1

Hello guys please i need help with this issue,i used coinpaymentHosted Lib ,i have set the creditiate correct but i am having this error message when i try to proccess transaction here is my code,

    $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);

i dont know if i am getting anything wrong or it coming from coinpayment, i have also install this package https://github.com/hexters/CoinPayment and set it according to usage but i still get the same error "HMAC signature does not match"

brombeer
  • 8,716
  • 5
  • 21
  • 27
odionk
  • 79
  • 2
  • 6
  • 1
    Any luck in solving this? I am also trying to integrate with their API but the documentation is literal hell to deal with. – Dimitar Sep 18 '21 at 16:41

0 Answers0