Changeset 2607350
- Timestamp:
- 09/30/2021 03:20:25 PM (4 years ago)
- Location:
- drivefx-woocommerce/trunk
- Files:
-
- 4 edited
-
PHCLibrary/customers.php (modified) (5 diffs)
-
PHCLibrary/orders.php (modified) (3 diffs)
-
PHCLibrary/utils.php (modified) (1 diff)
-
settings/syncro_gate.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
drivefx-woocommerce/trunk/PHCLibrary/customers.php
r2556290 r2607350 20 20 ### 21 21 $customer = $dataPack->customer; 22 $returnCustomer = new stdClass(); 22 23 23 24 $tip_button = false; … … 31 32 $tip_button = true; 32 33 } 33 //$this->logs->writeFileLog('Cl Checking:', $response);34 //$this->logs->writeFileLog('Cl Checking:', $response); 34 35 35 36 if (curl_error($ch)) { … … 47 48 # Update Customer 48 49 $updatedCustomer = $this->updateCustomer($ch, $credentials, $dataPack, $response); 50 51 // $this->logs->writeFileLog('updatedCustomer', $updatedCustomer); 49 52 50 53 if (curl_error($ch)) { … … 122 125 $this->logs->writeFileLog('genCl_Save', 'EMPTY RESPONSE'); 123 126 } else if(isset($response['messages'][0]['messageCodeLocale'])){ 124 $this-> writeFileLog('genCl_Save', $responseGenCl['messages'][0]['messageCodeLocale']);127 $this->logs->writeFileLog('genCl_Save', $responseGenCl['messages'][0]['messageCodeLocale']); 125 128 } else { 126 129 //Return object … … 362 365 $paramsSaveResponse = $this->utils_services->paramsSave($ch, $credentials, 'ClWS', $response); 363 366 364 //$this->logs->writeFileLog('ClUpdate Save:', $paramsSaveResponse);367 $this->logs->writeFileLog('ClUpdate Save:', $paramsSaveResponse); 365 368 366 369 if (curl_error($ch)) { -
drivefx-woocommerce/trunk/PHCLibrary/orders.php
r2556290 r2607350 124 124 125 125 if (curl_error($ch)) { 126 $this-> writeFileLog('getCustomer', $ch);126 $this->logs->writeFileLog('getCustomer', $ch); 127 127 } else if(empty($newCustomer)){ 128 $this-> writeFileLog('getCustomer', 'EMPTY RESPONSE');128 $this->logs->writeFileLog('getCustomer', 'EMPTY RESPONSE'); 129 129 } else { 130 130 if($newCustomer->no != ''){ … … 375 375 //Obtain number of customer 376 376 $response['result'][0]['no'] = $newCustomer->no; 377 378 //$this->logs->writeFileLog('newCustomer:', $newCustomer); 377 $response['result'][0]['clstamp'] = $newCustomer->clstamp; 378 379 //$this->logs->writeFileLog('get newCustomer:', $newCustomer); 379 380 380 381 #actEntity … … 470 471 $response2 = $this->utils_services->actEntity($ch, $credentials, 'BoWS', $response); 471 472 472 //$this->logs->writeFileLog('actEntity.0.1:', $response2['result'] [0]['bis']);473 //$this->logs->writeFileLog('actEntity.0.1:', $response2['result']); 473 474 474 475 // Update shipping value -
drivefx-woocommerce/trunk/PHCLibrary/utils.php
r2560157 r2607350 252 252 * --- Get Report For Print --- * 253 253 ********************************************************************/ 254 254 255 255 public function paramsGetReportForPrint($ch, $credentials){ 256 256 $this->url = $credentials->backendUrl."/REST/reportws/getReportsForPrint"; -
drivefx-woocommerce/trunk/settings/syncro_gate.php
r2580822 r2607350 387 387 if(isset($getShippingTax)) { 388 388 $syncroData->shipping_tax = $getShippingTax; 389 } else if (isset($syncroData->shipping_taxValue)) { 390 $syncroData->shipping_tax = $syncroData->shipping_taxValue / $resultDB->meta_value * 100; 391 //$this->logs->writeFileLog('Warning', 'Without shipping tax'); 389 392 } else { 390 $ syncroData->shipping_tax = $syncroData->shipping_taxValue / $resultDB->meta_value * 100;393 $this->logs->writeFileLog('Warning', 'Without shipping tax'); 391 394 } 392 395 if($settings['backend']['includeTaxonSendCost']=="true"){
Note: See TracChangeset
for help on using the changeset viewer.