Plugin Directory

Changeset 2235569


Ignore:
Timestamp:
01/30/2020 04:26:54 AM (6 years ago)
Author:
alonezcount
Message:

improve commenting and error message

Location:
ezcount/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ezcount/trunk/EZcount.php

    r2153032 r2235569  
    44 * Plugin URI:
    55 * Description: invoicing, clearing and paypal integration plugin.
    6  * Version: 1.5.2
     6 * Version: 1.5.3
    77 * Author: EZcount
    88 * Author URI:
     
    316316
    317317            if (!$secretTransactionId) {
    318                 $msg = "transaction transaction_id failed, is your cookies server correctly?\n\n" . json_encode([
     318                $msg = "transaction transaction_id failed, is your cookies server correctly?\n\nAlso This might happen if you have more then one of our Iframes in your code, please check your source code, and see if the Iframe appears more than once\n\n" . json_encode([
    319319                        'secretTransactionId' => $secretTransactionId,
    320320                        'encryptedCookie' => $encryptedCookie,
     
    347347            $customer_city = (version_compare(WC_VERSION, '2.7', '<')) ? $order->billing_city : $order->get_billing_city();
    348348            $customer_state = (version_compare(WC_VERSION, '2.7', '<')) ? $order->billing_state : $order->get_billing_state();
    349             $customer_postcode = (version_compare(WC_VERSION, '2.7', '<')) ? $order->customer_postcode : $order->get_billing_postcode();
     349            $customer_postcode = (version_compare(WC_VERSION, '2.7', '<')) ? $order->billing_postcode : $order->get_billing_postcode();
    350350            $order_key = (version_compare(WC_VERSION, '2.7', '<')) ? $order->order_key : $order->get_order_key();
    351351
     
    459459                    // reciept will include
    460460//                  "forceItemsIntoNonItemsDocument" => true,
    461                 // rebalance the values
    462 //                  "auto_balance" => true,
    463             );
     461                    // rebalance the values
     462                    "auto_balance" => true,
     463                );
    464464
    465465            //invoice!
  • ezcount/trunk/readme.txt

    r2153032 r2235569  
    44Tags        : invoicing, clearing and paypal integration plugin.
    55Tested up to: 4.9.8
    6 Version     : 1.5.2
     6Version     : 1.5.3
    77Stable tag: trunk
    88Requires PHP: 5.4
Note: See TracChangeset for help on using the changeset viewer.