">
" alt="Merchant Logo" class="merchant-logo">
Transaction Canceled
Your transaction is currently being processed and verified.
Please wait a minute.
Transaction completed
Transaction ID already exits
Direct Access Not Allowed
$transaction_amount, "price_currency" => "usd", "order_id" => $payment_id, "order_description" => "Payment", "ipn_callback_url" => getCurrentUrl() . $separator . "status=ipn", "success_url" => getCurrentUrl() . $separator . "status=success", "cancel_url" => getCurrentUrl() . $separator . "status=cancel" ]; $payload = json_encode($data); $ch = curl_init($url); curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'x-api-key: ' . $settings['now_payment_api_key'], 'Content-Type: application/json' ]); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $payload); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); curl_close($ch); $response_decode = json_decode($response, true); if(isset($response_decode['status']) && $response_decode['status'] == false){ ?>
location.href="' . $response_decode['invoice_url'] . '"'; } } ?>