Changeset 2739043
- Timestamp:
- 06/08/2022 06:57:36 AM (4 years ago)
- Location:
- vandar-woocommerce-gateway
- Files:
-
- 3 edited
-
.idea/workspace.xml (modified) (3 diffs)
-
tags/3.0.0/class-wc-gateway-vandario.php (modified) (2 diffs)
-
trunk/class-wc-gateway-vandario.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vandar-woocommerce-gateway/.idea/workspace.xml
r2690233 r2739043 28 28 <property name="WebServerToolWindowPanel.toolwindow.show.permissions" value="false" /> 29 29 <property name="WebServerToolWindowPanel.toolwindow.show.size" value="false" /> 30 <property name="last_opened_file_path" value="$PROJECT_DIR$ /../vandar-gravityform" />30 <property name="last_opened_file_path" value="$PROJECT_DIR$" /> 31 31 <property name="nodejs_package_manager_path" value="npm" /> 32 32 <property name="vue.rearranger.settings.migration" value="true" /> … … 34 34 <component name="RecentsManager"> 35 35 <key name="CopyFile.RECENT_KEYS"> 36 <recent name="$PROJECT_DIR$/tags/3.0.0" /> 36 37 <recent name="$PROJECT_DIR$/tags/2.0.0" /> 37 38 <recent name="$PROJECT_DIR$/tags/1.09" /> … … 72 73 <workItem from="1645884415894" duration="1953000" /> 73 74 <workItem from="1646495441101" duration="1404000" /> 75 <workItem from="1652170025492" duration="3401000" /> 76 <workItem from="1652176578927" duration="7000" /> 77 <workItem from="1652176601931" duration="155000" /> 74 78 </task> 75 79 <task id="LOCAL-00001" summary="check WooCommerce plugin and get 120 character of description"> -
vandar-woocommerce-gateway/tags/3.0.0/class-wc-gateway-vandario.php
r2721116 r2739043 197 197 public function send($api, $amount, $redirect, $mobile = null, $factorNumber = null, $description = null) 198 198 { 199 return $this->curl_post('https://ipg.vandar.io/api/v3/send', [ 199 $tempDescription = explode(' ', $description) ; 200 $tempDescription = array_slice($tempDescription,0,11); 201 $tempDescription = implode(' ',$tempDescription); 202 203 return $this->curl_post('https://ipg.vandar.io/api/v3/send', [ 200 204 'api_key' => $api, 201 205 'amount' => $amount * 10, … … 203 207 'mobile_number' => $mobile, 204 208 'factorNumber' => $factorNumber, 205 'description' => substr($description,0,120),209 'description' => $tempDescription, 206 210 ]); 207 211 } -
vandar-woocommerce-gateway/trunk/class-wc-gateway-vandario.php
r2721103 r2739043 197 197 public function send($api, $amount, $redirect, $mobile = null, $factorNumber = null, $description = null) 198 198 { 199 return $this->curl_post('https://ipg.vandar.io/api/v3/send', [ 199 $tempDescription = explode(' ', $description) ; 200 $tempDescription = array_slice($tempDescription,0,11); 201 $tempDescription = implode(' ',$tempDescription); 202 203 return $this->curl_post('https://ipg.vandar.io/api/v3/send', [ 200 204 'api_key' => $api, 201 205 'amount' => $amount * 10, … … 203 207 'mobile_number' => $mobile, 204 208 'factorNumber' => $factorNumber, 205 'description' => substr($description,0,120),209 'description' => $tempDescription, 206 210 ]); 207 211 }
Note: See TracChangeset
for help on using the changeset viewer.