Changeset 1973641
- Timestamp:
- 11/13/2018 03:29:50 PM (7 years ago)
- Location:
- rms-interaction/trunk
- Files:
-
- 10 edited
-
app/boot/FrontEnd.php (modified) (2 diffs)
-
app/boot/RMSHook.php (modified) (5 diffs)
-
app/ctrs/MainCtr.php (modified) (2 diffs)
-
app/ctrs/OrderCtr.php (modified) (2 diffs)
-
app/ctrs/ProductCtr.php (modified) (2 diffs)
-
app/libs/RMSConnector.php (modified) (1 diff)
-
assets/js/rms-order-form.js (modified) (3 diffs)
-
assets/js/rms-synchronize-products.js (modified) (3 diffs)
-
error_rms.log (modified) (1 diff)
-
rms.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
rms-interaction/trunk/app/boot/FrontEnd.php
r1969952 r1973641 38 38 function javascript_variables(){ 39 39 $referral_nickname = ''; 40 $arr_browsers = ["Firefox", "Chrome", "Safari", "Opera",40 $arr_browsers = ["Firefox", "Chrome", "Safari", "Opera", 41 41 "MSIE", "Trident", "Edge"]; 42 42 … … 64 64 break; 65 65 } 66 66 67 if(!isset($_SESSION['rms_referral'])){ 67 68 if(isset($_COOKIE['rms_nickname'])){ -
rms-interaction/trunk/app/boot/RMSHook.php
r1969952 r1973641 24 24 // when update product/order 25 25 add_action( 'save_post', array(&$this,'save_post_hooking'), 10, 3 ); 26 add_action( 'publish_product', array(&$this, 'synchronize_list_product'), 10, 1); 26 27 27 28 // add metadata of product item in an order added_{$meta_type}_meta … … 83 84 { 84 85 $url = "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; 86 85 87 if($_REQUEST['rms']){ 86 88 $url = str_replace('&rms=' . $_REQUEST['rms'] , '',$url); … … 88 90 $url = str_replace('?rms=' . $_REQUEST['rms'] , '',$url); 89 91 } 92 if($_REQUEST['sharing']){ 93 $url = str_replace('&sharing=' . $_REQUEST['sharing'] , '',$url); 94 $url = str_replace('?sharing=' . $_REQUEST['sharing'] . '&' , '?',$url); 95 $url = str_replace('?sharing=' . $_REQUEST['sharing'] , '',$url); 96 } 97 if($_REQUEST['brower']){ 98 $url = str_replace('&brower=' . $_REQUEST['brower'] , '',$url); 99 $url = str_replace('?brower=' . $_REQUEST['brower'] . '&' , '?',$url); 100 $url = str_replace('?brower=' . $_REQUEST['brower'] , '',$url); 101 } 102 $url = rtrim($url, "/"); 90 103 91 104 $validURL = str_replace("&", "&", $url); … … 175 188 if($product->order_item_type !="line_item") 176 189 continue; 177 190 $channel_name= strtoupper(str_replace('.','',$this->_get_channel_domain_name())); 178 191 $item['price'] = $properties->product_line_subtotal/$properties->product_qty; 179 192 $item['name']=$product->name; 180 193 $item['image'] = wp_get_attachment_image_src( get_post_thumbnail_id( $properties->product_product_id ), 'single-post-thumbnail' )[0]; 181 $item['code'] = $ properties->product_product_id;194 $item['code'] = $channel_name.'-WOO'.$properties->product_product_id; 182 195 $infusion = get_post_meta($properties->product_product_id,'_infusion_tags',true); 183 196 $order['infusion_tags']= array_merge($order['infusion_tags'],explode(',', $infusion)); … … 213 226 214 227 } 228 } 229 230 function synchronize_list_product($ID){ 231 $channel_name= strtoupper(str_replace('.','',$this->_get_channel_domain_name())); 232 $product_woo = wc_get_product( $ID ); 233 $product['price'] = $_POST['_regular_price']; 234 $product['description'] =wp_trim_words( $product_woo->get_description(), 40, '...' ); 235 $product['code']=$channel_name.'-WOO'. $ID; 236 $product['image']=""; 237 $product['name']=$product_woo->get_name(); 238 $product['channel_id']=get_option('channel_id'); 239 $product['products'][]=$product; 240 $con = new RMSConnector(); 241 $result = $con->synchronize($product); 215 242 } 216 243 -
rms-interaction/trunk/app/ctrs/MainCtr.php
r1969952 r1973641 9 9 namespace RMS\Ctrs; 10 10 use RMSConnector; 11 use rmsApp; 11 12 12 13 class MainCtr … … 21 22 function connect(){ 22 23 24 $update_version = new rmsApp(); 25 $update_datatable = $update_version->plugin_activate(); 26 23 27 $data = $_POST['data']; 24 28 $con = new RMSConnector($data['rms_username'],$data['rms_password']); -
rms-interaction/trunk/app/ctrs/OrderCtr.php
r1969952 r1973641 24 24 try{ 25 25 $data = $_POST['data']; 26 $channel_name= strtoupper(str_replace('.','',$this->_get_channel_domain_name())); 26 27 27 28 $con = new RMSConnector(); … … 66 67 $product['image'] = ''; 67 68 $product['name'] = $data['product']; 68 $product['code'] = 'FO'.$data['form_id'];69 $product['code'] =$channel_name.'-FO'.$data['form_id']; 69 70 70 71 if ($data['commission']!==''){ -
rms-interaction/trunk/app/ctrs/ProductCtr.php
r1969952 r1973641 27 27 $data = $_POST['data']; 28 28 $id =intval($items[sizeof($items)-1]->id); 29 $id++;30 29 $con = new RMSConnector(); 31 if($data['is_create']=='create'){ 30 if($data['is_create']=='created'){ 31 32 $channel_name= strtoupper(str_replace('.','',$this->domain_name())); 33 32 34 $product['price'] = $data['price']; 33 35 $product['description'] = $data['product_description']; 34 $product['code']= 'FO'. $id;36 $product['code']=$channel_name.'-FO'. $id; 35 37 $product['image']=""; 36 38 $product['name']=$data['product']; … … 59 61 die(); 60 62 } 63 64 function domain_name(){ 65 $website = $_SERVER['SERVER_NAME']; 66 $patterns = array( 67 '/http:\/\//', 68 '/https:\/\//', 69 '/www./', 70 '/ /', 71 ); 72 $str = preg_replace( $patterns, '',$website); 73 $str = explode('/',$str); 74 return $str[0]?$str[0]:'localhost'; 75 } 61 76 } -
rms-interaction/trunk/app/libs/RMSConnector.php
r1969952 r1973641 127 127 CURLOPT_CUSTOMREQUEST => "POST", 128 128 ); 129 129 130 130 curl_setopt_array( $curl_handle, $options ); 131 131 $response = curl_exec($curl_handle); -
rms-interaction/trunk/assets/js/rms-order-form.js
r1968094 r1973641 76 76 postData['success'] = postData["success"].replace(/\\/gi,""); 77 77 postData.success = tinymce.get('success').getContent(); 78 if( postData.is_create=="update")78 if((postData.is_create=='update')||(postData.is_create=='create')) 79 79 e.ajax({ 80 80 action: 'order_builder_save_rms', … … 83 83 if (result) { 84 84 if (result.success) { 85 if(postData.is_create=='create'){ 86 $("#is_create").val('created'); 87 $("#setting_order_rms").submit(); 88 } 89 85 90 alert('Cập nhật thành công'); 86 91 location.href = '/wp-admin/admin.php?page=rms-manage-form-order'; … … 177 182 var index_row = 0; 178 183 var button_add = $("#meta_add"); 179 if (index==0) index_row= 5; else index_row=parseInt(index)+5;184 if (index==0) index_row=7; else index_row=parseInt(index)+7; 180 185 $(button_add).click(function() 181 186 { -
rms-interaction/trunk/assets/js/rms-synchronize-products.js
r1968094 r1973641 3 3 event.preventDefault(); 4 4 var dataconnection = $("#setting_order_rms").serializeObject(); 5 if(dataconnection.is_create== "create")5 if(dataconnection.is_create=='created') 6 6 jQuery.ajax({ 7 7 url: '/wp-admin/admin-ajax.php', … … 14 14 }, 15 15 success: function(result){ 16 alert(result.message)16 17 17 if(result.success==true) { 18 18 $("#is_create").val("update"); 19 $("#setting_order_rms").submit();20 19 }else { 21 $("#is_create").val("create");20 alert(result.message) 22 21 } 23 22 } … … 28 27 event.preventDefault(); 29 28 var dataconnection = $("#setting_order_rms").serializeObject(); 30 if(dataconnection.is_create== "create")29 if(dataconnection.is_create=='created') 31 30 jQuery.ajax({ 32 31 url: '/wp-admin/options.php', -
rms-interaction/trunk/error_rms.log
r1968094 r1973641 1 [2018-09-25 14:15:54]422 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_in-{"email":"thanhphuc95it@gmail.com","password":"12345678"} | BusinessException: Affiliate 'thanhphuc95it@gmail.com' not found. 2 [2018-09-25 14:18:03]403 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"Thanh","first_name":"Phuc","phone":"0933393080","nickname":"thanhphuc","email":"thanhphuc.nt55@gmail.com","confirmed_email":"thanhphuc.nt55@gmail.com","password":"12345678","confirmed_password":"12345678","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"thanhphucit.com"} | AccessDeniedException: Access is denied 3 [2018-09-25 14:18:26]403 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"Thanh","first_name":"Phuc","phone":"0933393080","nickname":"thanhphuc","email":"thanhphuc.nt55@gmail.com","confirmed_email":"thanhphuc.nt55@gmail.com","password":"12345678","confirmed_password":"12345678","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"thanhphucit.com"} | AccessDeniedException: Access is denied 4 [2018-09-25 14:18:43]403 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"Thanh","first_name":"Thanh","phone":"0933393080","nickname":"thanhthanh","email":"thanhphuc.nt55@gmail.com","confirmed_email":"thanhphuc.nt55@gmail.com","password":"12345678","confirmed_password":"12345678","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"thanhphucit.com"} | AccessDeniedException: Access is denied 5 [2018-09-25 14:19:04]403 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"Thanh","first_name":"Thanh","phone":"0933393080","nickname":"thanhthanh","email":"thanhphuc@yopmail.com","confirmed_email":"thanhphuc@yopmail.com","password":"12345678","confirmed_password":"12345678","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"thanhphucit.com"} | AccessDeniedException: Access is denied 6 [2018-09-25 14:20:47]403 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"thanh","first_name":"thanh","phone":"0933393080","nickname":"thanhthanh","email":"thanhphuc.nt55@gmail.com","confirmed_email":"thanhphuc.nt55@gmail.com","password":"12345678","confirmed_password":"12345678","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"thanhphucit.com"} | AccessDeniedException: Access is denied 7 [2018-09-25 16:32:15]422 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_in-{"email":"thanhphuc95it@gmail.com","password":"12345678"} | BusinessException: Affiliate 'thanhphuc95it@gmail.com' not found. 8 [2018-09-25 16:43:07]403 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"hoang","first_name":"thanh","phone":"0989738553","nickname":"hoangthanh","email":"thanhphuc@yopmail.com","confirmed_email":"thanhphuc@yopmail.com","password":"12345678","confirmed_password":"12345678","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"thanhphucit.com"} | AccessDeniedException: Access is denied 9 [2018-09-25 16:43:14]403 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"hoang","first_name":"thanh","phone":"0989738553","nickname":"hoangthanh","email":"thanhphuc@yopmail.com","confirmed_email":"thanhphuc@yopmail.com","password":"12345678","confirmed_password":"12345678","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"thanhphucit.com"} | AccessDeniedException: Access is denied 10 [2018-09-26 09:44:58]422 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"hoang","first_name":"th\u1ea1ch","phone":"091234567","nickname":"hoangthach","email":"hoangthach@yopmail.com","confirmed_email":"hoangthach@yopmail.com","password":"12345678","confirmed_password":"12345678","referrer":"","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"thanhphucit.com"} | BusinessException: Can not find referrer '' 11 [2018-09-26 11:10:36]422 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"thanh","first_name":"vu","phone":"0933345678","nickname":"thanhvu","email":"thanhvu@yopmail.com","confirmed_email":"thanhvu@yopmail.com","password":"12345678","confirmed_password":"12345678","referrer":"","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"thanhphucit.com"} | BusinessException: Can not find referrer '' 12 [2018-09-26 11:17:31]422 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"thanh","first_name":"vu","phone":"0912345678","nickname":"thanhvu","email":"thanhvu@gmail.com","confirmed_email":"thanhvu@gmail.com","password":"12345678","confirmed_password":"12345678","referrer":"","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"thanhphucit.com"} | BusinessException: Can not find referrer '' 13 [2018-09-26 11:27:20]422 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"thanh","first_name":"vu","phone":"093345677","nickname":"thanhvu","email":"thanhvu@yopmail.com","confirmed_email":"thanhvu@yopmail.com","password":"12345678","confirmed_password":"12345678","referrer":"","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"thanhphucit.com"} | BusinessException: Can not find referrer '' 14 [2018-09-26 11:41:12]400 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"Nguyen","first_name":"Thien","phone":"01644700195","nickname":"thiennguyen","email":"thien1590@gmail.com","confirmed_email":"thien1590@gmail.com","password":"123456","confirmed_password":"123456","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"thanhphucit.com"} | InvalidViewModelException: 'password' length must between 8 and 28 characters! && 15 [2018-09-26 11:41:24]422 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"Nguyen","first_name":"Thien","phone":"01644700195","nickname":"thiennguyen","email":"thien1590@gmail.com","confirmed_email":"thien1590@gmail.com","password":"12345678","confirmed_password":"12345678","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"thanhphucit.com"} | BusinessException: User email 'thien1590@gmail.com' already exists. 16 [2018-10-16 23:10:29]422 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"Thanh","first_name":"phuc","phone":"933393080","nickname":"thanhphuc","email":"thanhphuc95it@gmail.com","confirmed_email":"thanhphuc95it@gmail.com","password":"12345678","confirmed_password":"12345678","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"http:\/\/devnet.vn"} | BusinessException: User email 'thanhphuc95it@gmail.com' already exists. 17 [2018-10-17 18:13:27]400 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"Thanh","first_name":"phuc","phone":"933393080","nickname":" thanh phuc ","email":"thanhphuc95it@gmail.com","confirmed_email":"thanhphuc95it@gmail.com","password":"123","confirmed_password":"123","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"http:\/\/devnet.vn"} | InvalidViewModelException: 'password' length must between 8 and 28 characters! && 18 [2018-10-17 18:13:37]422 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"Thanh","first_name":"phuc","phone":"933393080","nickname":" thanh phuc ","email":"thanhphuc95it@gmail.com","confirmed_email":"thanhphuc95it@gmail.com","password":"12345678","confirmed_password":"12345678","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"http:\/\/devnet.vn"} | BusinessException: User email 'thanhphuc95it@gmail.com' already exists. 19 [2018-10-17 18:13:51]422 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"Thanh","first_name":"phuc","phone":"933393080","nickname":" thanh phuc ","email":"thanhphuc95it@gmail.com","confirmed_email":"thanhphuc95it@gmail.com","password":"12345678","confirmed_password":"12345678","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"http:\/\/devnet.vn"} | BusinessException: User email 'thanhphuc95it@gmail.com' already exists. 20 [2018-10-17 18:14:38]422 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"Thanh","first_name":"phuc","phone":"933393080","nickname":" thanh phuc ","email":"thanhphuc95it@gmail.com","confirmed_email":"thanhphuc95it@gmail.com","password":"12345678","confirmed_password":"12345678","terms":"1","login_url":"http:\/\/rmsplugin.local\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"http:\/\/devnet.vn"} | BusinessException: User email 'thanhphuc95it@gmail.com' already exists. 21 [2018-10-18 15:44:07]422 | http://stage.api.rms.com.vn:9090/v1/orders- | Error processing request param: Required request body is missing: public com.rms.rms.common.dto.ResponseDto com.rms.rms.controller.v1.OrderControllerV1.create(com.rms.rms.common.view_model.OrderCreateModel) throws com.rms.rms.common.exception.BusinessException 22 [2018-10-18 15:45:31]400 | http://stage.api.rms.com.vn:9090/v1/orders-{"nickname":"","discount_code":"","infusion_tags":[],"note":"","number":"SO230-1539852331","customer":{"fullname":"phuc Thanh","email":"oanh.bth35@gmail.com","phone":"933393080","address":"Nha Trang"},"channel_domain_name":"rmsplugin.local"} | InvalidViewModelException: 'order_lines' can't be null or empty! && 23 [2018-10-18 15:48:35]400 | http://stage.api.rms.com.vn:9090/v1/orders-{"nickname":"","discount_code":"","infusion_tags":[],"note":"","number":"SO231-1539852514","customer":{"fullname":"phuc Thanh","email":"oanh.bth35@gmail.com","phone":"933393080","address":"Nha Trang"},"channel_domain_name":"rmsplugin.local"} | InvalidViewModelException: 'order_lines' can't be null or empty! && 24 [2018-10-18 15:55:08]400 | http://stage.api.rms.com.vn:9090/v1/orders-{"nickname":"","discount_code":"","infusion_tags":[],"note":"","number":"SO232-1539852908","customer":{"fullname":"phuc Thanh","email":"oanh.bth35@gmail.com","phone":"933393080","address":"Nha Trang"},"channel_domain_name":"rmsplugin.local"} | InvalidViewModelException: 'order_lines' can't be null or empty! && 25 [2018-10-18 15:56:50]400 | http://stage.api.rms.com.vn:9090/v1/orders-{"nickname":"","discount_code":"","infusion_tags":[],"note":"","number":"SO233-1539853010","customer":{"fullname":"phuc Thanh","email":"oanh.bth35@gmail.com","phone":"933393080","address":"Nha Trang"},"channel_domain_name":"rmsplugin.local"} | InvalidViewModelException: 'order_lines' can't be null or empty! && 26 [2018-10-18 16:08:48]400 | http://stage.api.rms.com.vn:9090/v1/orders-{"nickname":"","discount_code":"","infusion_tags":[],"note":"","number":"SO234-1539853728","customer":{"fullname":"phuc Thanh","email":"oanh.bth35@gmail.com","phone":"933393080","address":"Nha Trang"},"channel_domain_name":"rmsplugin.local"} | InvalidViewModelException: 'order_lines' can't be null or empty! && 27 [2018-10-19 17:02:25]400 | https://api.rms.com.vn/v1/affiliates/sign_in-{"email":"thanhphuc95it@gmail.com","password":"12345678"} | Bad Request 28 [2018-10-19 21:12:58]400 | https://api.rms.com.vn/v1/affiliates/sign_in-{"email":"thanhphuc95it@gmail.com","password":"12345678"} | Bad Request 29 [2018-10-19 21:13:08]400 | https://api.rms.com.vn/v1/affiliates/sign_in-{"email":"thanhphuc95it@gmail.com","password":"123456789"} | Bad Request 30 [2018-10-19 21:14:24]400 | https://api.rms.com.vn/v1/affiliates/sign_in-{"email":"thanhphuc95it@gmail.com","password":"12345678"} | Bad Request 31 [2018-10-19 21:30:39]401 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_in-{"email":"oanh.bth35@gmail.com","password":"12345678"} | Unauthorized 32 [2018-10-19 21:30:57]401 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_in-{"email":"thanhphucnt55@gmail.com","password":"12345678"} | Unauthorized 33 [2018-10-19 21:31:50]422 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_in-{"email":"thanhphuc.dev@gmail.com","password":"12345678"} | BusinessException: User 'thanhphuc.dev@gmail.com' is inactive. 34 [2018-10-19 21:51:39]422 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_in-{"email":"thanhphuc95it@gmail.com","password":"12345678"} | BusinessException: User 'thanhphuc95it@gmail.com' not found. 35 [2018-10-20 10:12:54]400 | https://api.rms.com.vn/v1/shares/stats-{"nickname":"hoangoanh","url":"http:\/\/rmsplugin.local\/rms\/","click_info":{"country":"VN","device_type":"Desktop","os":"Mac OS X"}} | Bad Request 36 [2018-10-22 09:10:03]422 | http://stage.app.rms.com.vn:9090/v1/affiliates/sign_in-{"email":"thanhphuc95it@gmail.com","password":"12345678"} | BusinessException: User 'thanhphuc95it@gmail.com' not found. 37 [2018-10-22 21:18:27]400 | https://api.rms.com.vn/v1/orders-{"nickname":"","discount_code":"","infusion_tags":["234-infu12","123-infusion"],"order_lines":[{"product":{"price":5500000,"name":"s\u1ea3n ph\u1ea9m 3","description":"","image":"http:\/\/rmsplugin.local\/wp-content\/uploads\/2018\/09\/Logo-DEVNET.png","code":"186"},"commission":0.3,"price":5500000,"quantity":"1"}],"note":"","number":"SO236-1540217906","customer":{"fullname":"phuc Thanh","email":"oanh.bth35@gmail.com","phone":"933393080","address":"Nha Trang"},"channel_domain_name":"rmsplugin.local"} | Bad Request 38 [2018-10-22 21:20:46]400 | https://api.rms.com.vn/v1/orders-{"nickname":"","discount_code":"","infusion_tags":["234-infu12","123-infusion"],"order_lines":[{"product":{"price":5500000,"name":"s\u1ea3n ph\u1ea9m 3","description":"","image":"http:\/\/rmsplugin.local\/wp-content\/uploads\/2018\/09\/Logo-DEVNET.png","code":"186"},"commission":0.3,"price":5500000,"quantity":"1"}],"note":"","number":"SO237-1540218046","customer":{"fullname":"phuc Thanh","email":"oanh.bth35@gmail.com","phone":"933393080","address":"Nha Trang"},"channel_domain_name":"rmsplugin.local"} | Bad Request 39 [2018-10-27 11:19:22]401 | https://api.rms.com.vn/v1/shares/stats-{"nickname":"hoangoanh","url":"http:\/\/rmsplugin.local\/rms\/?sharing=2018-10-27_11-18-43am&brower=Chrome","click_info":{"country":"VN","device_type":"Desktop","os":"Mac OS X"}} | Unauthorized 40 [2018-10-27 11:21:15]401 | https://api.rms.com.vn/v1/shares/stats-{"nickname":"hoangoanh","url":"http:\/\/rmsplugin.local\/rms\/?sharing=2018-10-27_11-18-43am&brower=Chrome","click_info":{"country":"VN","device_type":"Desktop","os":"Mac OS X"}} | Unauthorized 41 [2018-10-27 11:21:54]401 | https://api.rms.com.vn/v1/affiliates/sign_in-{"email":"oanh.bth35@gmail.com","password":"12345678"} | Unauthorized 1 [2018-11-09 09:18:17]54 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_in-{"email":"khoanguyen8947@gmail.com","password":"12345678"} | BusinessException: Affiliate 'khoanguyen8947@gmail.com' not found. 2 [2018-11-09 09:18:47]1051 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_up-{"last_name":"Phan","first_name":"Khoa","phone":"0978899101","nickname":"khongphan","email":"khoanguyen8947@gmail.com","confirmed_email":"khoanguyen8947@gmail.com","password":"12345678","confirmed_password":"12345678","terms":"1","login_url":"http:\/\/foxrain.com\/rms\/","fe_url":"http:\/\/stage.app.rms.com.vn","subscriber_domain_name":"miendatla"} | BusinessException: User email 'khoanguyen8947@gmail.com' already exists. 3 [2018-11-09 11:11:20]54 | http://stage.api.rms.com.vn:9090/v1/affiliates/sign_in-{"email":"khoanguyen8947@gmail.com","password":"12345678"} | BusinessException: Affiliate 'khoanguyen8947@gmail.com' not found. 4 [2018-11-12 18:15:33]2052 | http://stage.api.rms.com.vn:9090/v1/products/import-{"price":"100000","description":"","code":"FOXRAINCOM-FO2","image":"","name":"Kh\u00f3a h\u1ecdc","channel_id":"0937691d-0bcc-47f4-ad8e-473a810c7e7a","products":[{"price":"100000","description":"","code":"FOXRAINCOM-FO2","image":"","name":"Kh\u00f3a h\u1ecdc","channel_id":"0937691d-0bcc-47f4-ad8e-473a810c7e7a"}]} | BusinessException: Product code 'FOXRAINCOM-FO2' exist in channel '0937691d-0bcc-47f4-ad8e-473a810c7e7a'. 5 [2018-11-13 11:03:21]2052 | http://stage.api.rms.com.vn:9090/v1/products/import-{"price":"10000000","description":"...","code":"FOXRAINCOM-FO6","image":"","name":"Kh\u00f3a h\u1ecdc","channel_id":"0937691d-0bcc-47f4-ad8e-473a810c7e7a","products":[{"price":"10000000","description":"...","code":"FOXRAINCOM-FO6","image":"","name":"Kh\u00f3a h\u1ecdc","channel_id":"0937691d-0bcc-47f4-ad8e-473a810c7e7a"}]} | BusinessException: Product code 'FOXRAINCOM-FO6' exist in channel '0937691d-0bcc-47f4-ad8e-473a810c7e7a'. 6 [2018-11-13 11:03:27]2052 | http://stage.api.rms.com.vn:9090/v1/products/import-{"price":"10000000","description":"...","code":"FOXRAINCOM-FO6","image":"","name":"Kh\u00f3a h\u1ecdc","channel_id":"0937691d-0bcc-47f4-ad8e-473a810c7e7a","products":[{"price":"10000000","description":"...","code":"FOXRAINCOM-FO6","image":"","name":"Kh\u00f3a h\u1ecdc","channel_id":"0937691d-0bcc-47f4-ad8e-473a810c7e7a"}]} | BusinessException: Product code 'FOXRAINCOM-FO6' exist in channel '0937691d-0bcc-47f4-ad8e-473a810c7e7a'. 7 [2018-11-13 14:31:49]2052 | http://stage.api.rms.com.vn:9090/v1/products/import-{"price":"100000","description":"..","code":"FOXRAINCOM-FO25","image":"","name":"khoa","channel_id":"0937691d-0bcc-47f4-ad8e-473a810c7e7a","products":[{"price":"100000","description":"..","code":"FOXRAINCOM-FO25","image":"","name":"khoa","channel_id":"0937691d-0bcc-47f4-ad8e-473a810c7e7a"}]} | BusinessException: Product code 'FOXRAINCOM-FO25' exist in channel '0937691d-0bcc-47f4-ad8e-473a810c7e7a'. -
rms-interaction/trunk/rms.php
r1969952 r1973641 4 4 Plugin URI: https://rms.com.vn 5 5 Description: 6 Version: 2. 1.0.06 Version: 2.3.0.0 7 7 Author: Referral Marketing Solution (RMS) 8 8 */
Note: See TracChangeset
for help on using the changeset viewer.