How to get callback logs for blockchain api in laravel?
i have integrated blockchain recieve api . i wantto get callbacklogs . but don’t know how to do it in laravel.
my ipn code is.
public function btcIPN()
{
$depoistTrack = $_GET['invoice_id'];
$secret = $_GET['secret'];
$address = $_GET['address'];
$value = $_GET['value'];
$confirmations = $_GET['confirmations'];
$value_in_btc = $_GET['value'] / 100000000;
$trx_hash = $_GET['transaction_hash'];
$DepositData = FundLog::whereTransaction_id($depoistTrack)->first();
if ($_GET['secret'] != $secret) {
from Laravel Questions and Answers https://laravelquestions.com/php/how-to-get-callback-logs-for-blockchain-api-in-laravel/
via Lzo Media
No comments:
Post a Comment