Plugin Directory

Changeset 2708442


Ignore:
Timestamp:
04/12/2022 09:13:19 AM (4 years ago)
Author:
dizyn
Message:

tagged version 2.9.1

Location:
bykea-cash-online-payments
Files:
12 added
4 edited

Legend:

Unmodified
Added
Removed
  • bykea-cash-online-payments/trunk/README.md

    r2706943 r2708442  
    55Requires at least: 4.0
    66Tested up to: 5.9
    7 Stable tag: 2.9
     7Stable tag: 2.9.1
    88Requires PHP: 7.4
    99License: GPLv3
     
    118118== Changelog ==
    119119
    120 = 2.9 =
    121 * Added more input formatting to reduce failed orders
    122 * Added order cancellation functionality
     120= 2.9.1 =
     121* Added some more input formatting to reduce failed API calls
    123122
    124123== Upgrade Notice ==
  • bykea-cash-online-payments/trunk/online-payments-bykeacash.php

    r2706943 r2708442  
    55 * Plugin URI:        https://wordpress.org/plugins/bykea-cash-online-payments
    66 * Description:       This plugin helps WooCommerce (WordPress) customers pay via Debit / Credit Cards or Cash Pickups using Bykea Cash payment service.
    7  * Version:           2.9
     7 * Version:           2.9.1
    88 * Requires at least: 5.2
    99 * Requires PHP:      7.4
  • bykea-cash-online-payments/trunk/readme.txt

    r2706943 r2708442  
    55Requires at least: 4.0
    66Tested up to: 5.9
    7 Stable tag: 2.9
     7Stable tag: 2.9.1
    88Requires PHP: 7.4
    99License: GPLv3
     
    118118== Changelog ==
    119119
    120 = 2.9 =
    121 * Added more input formatting to reduce failed orders
    122 * Added order cancellation functionality
     120= 2.9.1 =
     121* Added some more input formatting to reduce failed API calls
    123122
    124123== Upgrade Notice ==
  • bykea-cash-online-payments/trunk/woocommerce-bykeacash.php

    r2706943 r2708442  
    211211            $shippingAddress = esc_html(sanitize_text_field($order_data['billing']['address_1']));
    212212        }else{
    213             $shippingAddress = 'N/A';
     213            $shippingAddress = 'Not Available';
    214214        }
    215215        if(strlen($order_data['billing']['city']) > 3){
     
    243243        }
    244244        $billingPhone = str_replace("-","",str_replace(" ","",$billingPhone));
    245         if(substr($billingPhone,0,1) != '0'){
     245        $billingPhone = str_replace("(","",str_replace(")","",$billingPhone));
     246        $billingPhone = str_replace("+","",$billingPhone);
     247        if(strlen($billingPhone) == 10 && substr($billingPhone,0,1) == '3'){
    246248            $billingPhone = '0'.$billingPhone;
    247249        }
Note: See TracChangeset for help on using the changeset viewer.