hexters / CoinPayment

Package to handle payment of cryptocurrency
https://www.coinpayments.net/index.php?ref=3dc0c5875304cc5cc1d98782c2741cb5
MIT License
73 stars 42 forks source link

Can't add additional params to 'create transaction' api call #4

Closed lokilok1993 closed 6 years ago

lokilok1993 commented 6 years ago

in CoinPaymentController function make_transaction does not accept any params for specify not required fields like buyer_email.

hexters commented 6 years ago

You can use

. . . 
$trx['payload'] = [
        // your cusotm array here
        'foo' => [
            'foo' => 'bar'
        ]
    ];
. . . 

payload parameters will be stored in the database, will be in the call again. to integrate with your application