Commit 36cab725 authored by Kulya's avatar Kulya 😊

Add billz clientId to order 10

parent c3406f0e
...@@ -91,8 +91,9 @@ require_once (__DIR__.'/keys.php'); ...@@ -91,8 +91,9 @@ require_once (__DIR__.'/keys.php');
$qPparams['subTotalPrice'] = $qPparams['subTotalPrice']+$price; $qPparams['subTotalPrice'] = $qPparams['subTotalPrice']+$price;
} }
if(!empty($params["client_id"])){ if(!empty($params["client_id"])){
$qPparams['clientId'] = $params["client_id"]; $qPparams['clientId'] = (int)$params["client_id"];
} }
$qPparams['parked'] = false;
$qPparams['orderID'] = $params["order_id"]; $qPparams['orderID'] = $params["order_id"];
$qPparams['dateCreated'] = date('Y-m-d').'T'.date('H:i:s').'Z'; $qPparams['dateCreated'] = date('Y-m-d').'T'.date('H:i:s').'Z';
$qPparams['datePaid'] = date('Y-m-d').'T'.date('H:i:s').'Z'; $qPparams['datePaid'] = date('Y-m-d').'T'.date('H:i:s').'Z';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment