Changeset 2352457
- Timestamp:
- 08/04/2020 02:09:34 PM (6 years ago)
- Location:
- ezcount/trunk
- Files:
-
- 2 edited
-
EZcount.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ezcount/trunk/EZcount.php
r2349835 r2352457 4 4 * Plugin URI: 5 5 * Description: invoicing, clearing and paypal integration plugin. 6 * Version: 1.9. 26 * Version: 1.9.3 7 7 * Author: EZcount 8 8 * Author URI: … … 29 29 return; 30 30 } 31 32 31 33 32 /** … … 93 92 $defaultEmail = $current_user->user_email; 94 93 95 96 $integrationStatus=EZcount_helpers::testIntegration($this->environment,$this->api_key,$defaultEmail);97 98 99 100 94 $this->form_fields = array( 101 'integrationStatus' => array(102 'title' => $integrationStatus[0]?"INTEGRATION TEST SUCCESS":"INTEGRATION TESTING ERROR! please fix the next issue",103 'description' => $integrationStatus[1],104 'type' => 'title',105 ),106 95 'environment' => array( 107 96 'title' => __( 'Environment', $this->environment ), … … 220 209 ), 221 210 ); 211 212 if (@$_GET['section'] == "ezcount"){ 213 $integrationStatus = EZcount_helpers::testIntegration($this->environment,$this->api_key,$defaultEmail); 214 $arr = array(); 215 $arr['integrationStatus'] = array( 216 'title' => $integrationStatus[0]?"INTEGRATION TEST SUCCESS":"INTEGRATION TESTING ERROR! please fix the next issue", 217 'description' => $integrationStatus[1], 218 'type' => 'title', 219 ); 220 $this->form_fields = array_merge($arr, $this->form_fields); 221 } 222 222 223 } 223 224 … … 308 309 global $ezcountFormLoaded; 309 310 //if the iframe been called already 310 // some users have this bug in their template and they are calling the iframe multiple times, 311 // some users have this bug in their template and they are calling the iframe multiple times, 311 312 // this creates multiple cookies, and the validation fails 312 313 if ( $ezcountFormLoaded ) { -
ezcount/trunk/readme.txt
r2349835 r2352457 4 4 Tags : Invoicing and clearing for Woocommerce, by EasyCount. 5 5 Tested up to: 4.9.8 6 Version : 1.9. 26 Version : 1.9.3 7 7 Stable tag: trunk 8 8 Requires PHP: 5.4 … … 48 48 1.9.1 - add integration tests 49 49 1.9.2 - improve integration tests error messages 50 1.9.3 - fix integration test bug 50 51 51 52 == Upgrade notice ==
Note: See TracChangeset
for help on using the changeset viewer.