Plugin Directory

Changeset 2365792


Ignore:
Timestamp:
08/20/2020 12:58:08 PM (6 years ago)
Author:
alonezcount
Message:

add data to the test integration

Location:
ezcount/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ezcount/trunk/EZcount.php

    r2358705 r2365792  
    219219                );
    220220                $this->form_fields = array_merge($arr, $this->form_fields);
    221         }
     221            }
    222222
    223223        }
  • ezcount/trunk/EZcount_helpers.php

    r2349835 r2365792  
    6161        //connection problem
    6262        if ( is_wp_error( $responseObj ) || wp_remote_retrieve_response_code( $responseObj ) != 200 ) {
    63             self::$lastResponseDebugStr = "Error in opening request, please check your Firewall, and check that CURL have permission to call the url " . $url . "\n response code" . wp_remote_retrieve_response_code( $responseObj );
     63            self::$lastResponseDebugStr = "The function wp_remote_post returned an error,\n <br>
     64                                            this may be caused by various reasons and can be fixed by your Server IT guy or your developer.\n <br>
     65                                            The most common reasons are:\n <br>
     66                                            &nbsp;&nbsp; 1. A misconfiguration of the Wordpress.\n <br>
     67                                            &nbsp;&nbsp; 2. A problem in the PHP or underlying server configuration that block this method.\n <br>
     68                                            &nbsp;&nbsp; 3. A firewall that block the request\n <br>
     69                                            Please see the technical details and ask your IT guy to check the connectivity to our servers.\n <br>
     70                                            If the response code is empty, it shows that something is blocking the request from even leaving your server.\n <br>
     71                                            \n <br>
     72                                            <b>technical data:</b> \n <br>
     73                                            <u>url</u>: $url \n <br>
     74                                            <u>response code</u>: " . wp_remote_retrieve_response_code($responseObj) . " \n <br>
     75                                            <u>headers</u>: " . json_encode(is_array(wp_remote_retrieve_headers($responseObj)) ? wp_remote_retrieve_headers($responseObj) : wp_remote_retrieve_headers($responseObj)->getAll()) . " \n <br>
     76                                            <u>response_message</u>: " . wp_remote_retrieve_response_message($responseObj) . " \n <br>
     77                                            <u>body</u>: " . substr(strip_tags(wp_remote_retrieve_body($responseObj)), 0 ,200). " \n <br>";
    6478        } else {
    6579            self::$lastResponseDebugStr = $jsonStr;
  • ezcount/trunk/readme.txt

    r2358705 r2365792  
    44Tags        : Invoicing and clearing for Woocommerce, by EasyCount.
    55Tested up to: 4.9.8
    6 Version     : 1.10.2
     6Version     : 1.10.3
    77Stable tag: trunk
    88Requires PHP: 5.4
     
    52521.10.1 - move session to cookies
    53531.10.2 - remove_lax
     541.10.3 - add data to test integration
    5455== Upgrade notice ==
    5556nothing speacial about upgrading
Note: See TracChangeset for help on using the changeset viewer.