| Line 47... |
Line 47... |
| 47 |
$userId = $this->request->query('user_id');
|
47 |
$userId = $this->request->query('user_id');
|
| 48 |
$this->log('storeId '.print_r($storeId,1),'order_trackers');
|
48 |
$this->log('storeId '.print_r($storeId,1),'order_trackers');
|
| 49 |
$this->log('userId '.print_r($userId,1),'order_trackers');
|
49 |
$this->log('userId '.print_r($userId,1),'order_trackers');
|
| 50 |
if ($this->request->is('post')) {
|
50 |
if ($this->request->is('post')) {
|
| 51 |
if($this->request->data['zip']){
|
51 |
if($this->request->data['zip']){
|
| 52 |
$this->request->data['rawhtml'] = gzuncompress(base64_decode($this->request->data['rawhtml']));
|
52 |
$this->request->data['html'] = gzuncompress(base64_decode($this->request->data['html']));
|
| 53 |
}
|
53 |
}
|
| 54 |
$this->log(print_r($this->request->data,1),'order_trackers');
|
54 |
$this->log(print_r($this->request->data,1),'order_trackers');
|
| 55 |
$url = $this->apihost.'track/user/'.$userId.'?storeId='.$storeId;
|
55 |
$url = $this->apihost.'track/user/'.$userId.'?storeId='.$storeId;
|
| 56 |
$this->log($url,'order_trackers');
|
56 |
$this->log($url,'order_trackers');
|
| 57 |
$params = array('url'=>urlencode($this->request->data['url']),'html'=>urlencode($this->request->data['html']));
|
57 |
$params = array('url'=>urlencode($this->request->data['url']),'html'=>urlencode($this->request->data['html']));
|