Plugin Directory

Changeset 2633893


Ignore:
Timestamp:
11/23/2021 05:49:11 AM (4 years ago)
Author:
zipmoney
Message:

fixed shopper issue

Location:
zipmoney-payments-woocommerce
Files:
283 added
5 edited

Legend:

Unmodified
Added
Removed
  • zipmoney-payments-woocommerce/trunk/README.txt

    r2621054 r2633893  
    44Requires at least: WP 4.0
    55Tested up to: 5.8
    6 Stable tag: 2.3.10
     6Stable tag: 2.3.11
    77License: GPLv2 or later License http://www.gnu.org/licenses/gpl-2.0.html
    88
     
    196196= 2.3.10 =
    197197* Fixed api key validity issue for Twisto and UK
     198
     199= 2.3.11 =
     200* Fixed shopper bug
     201* Added new region for zip widget
  • zipmoney-payments-woocommerce/trunk/includes/class-wc-zipmoney-payment-gateway-config.php

    r2583230 r2633893  
    7070    const REGION_US = 'us';
    7171    const REGION_MX = 'mx';
     72    const REGION_SG = 'sg';
     73    const REGION_CA = 'ca';
     74    const REGION_AE = 'ae';
    7275
    7376    //Log levels
     
    179182                'type' => 'text',
    180183                'class' => 'woocommerce_toggle_sandbox_field',
    181                 'desc_tip' => __('Please contact [email protected] to request your Sandbox Public key.', 'zippayment'),
    182184                'description' => __('Required for Australia only.', 'zippayment'),
    183185                'default' => 'no',
     
    187189                'type' => 'text',
    188190                'class' => 'woocommerce_toggle_sandbox_field',
    189                 'desc_tip' => __('Please contact [email protected] to request your Sandbox API key.', 'zippayment'),
    190                 'description' => __('Please contact [email protected] to request Sandbox API key.', 'zippayment'),
    191191                'default' => 'no',
    192192            ),
     
    195195                'type' => 'text',
    196196                'class' => 'woocommerce_toggle_prod_field',
    197                 'desc_tip' => __('Please contact [email protected] to request your production public key..', 'zippayment'),
    198197                'description' => __('Required for Australia only.', 'zippayment'),
    199198                'default' => '',
     
    203202                'type' => 'text',
    204203                'class' => 'woocommerce_toggle_prod_field',
    205                 'desc_tip' => __('Please contact [email protected] to request your product API key.', 'zippayment'),
    206                 'description' => __('Please contact [email protected] to request your API key.', 'zippayment'),
    207204                'default' => '',
    208205            ),
     
    266263                'options' => array(
    267264                    self::REGION_AU => 'Australia',
     265                    self::REGION_CA => 'Canada',
     266                    self::REGION_MX => 'Mexico',
    268267                    self::REGION_NZ => 'New Zealand',
     268                    self::REGION_SG => 'Singapore',
     269                    self::REGION_ZA => 'South Africa',
     270                    self::REGION_AE => 'United Arab Emirates',
    269271                    self::REGION_GB => 'United Kingdom',
    270                     self::REGION_US => 'United States',
    271                     self::REGION_ZA => 'South Africa',
    272                     self::REGION_MX => 'Mexico',
     272                    self::REGION_US => 'United States',         
    273273                )
    274274            ),
     
    277277                'type' => 'select',
    278278                'desc_tip' => __('Select Display widget mode for Zip widget', 'zippayment'),
    279                 'default' => self::REGION_AU,
     279                'default' => self::DISPLAY_INLINE,
    280280                'options' => array(
    281281                    self::DISPLAY_IFRAME => __('iframe', 'zippayment'),
  • zipmoney-payments-woocommerce/trunk/includes/class-wc-zipmoney-payment-gateway.php

    r2613372 r2633893  
    2424    public $description = 'Own the way you pay';
    2525
    26     public $version = '2.3.10';
     26    public $version = '2.3.11';
    2727
    2828    public $supports = array('products', 'refunds');
  • zipmoney-payments-woocommerce/trunk/vendor/zipmoney/merchantapi-php/lib/Model/Shopper.php

    r2283719 r2633893  
    392392    {
    393393        $allowed_values = array('Male', 'Female', 'Other');
     394        if (!is_null($gender)) {
     395            $gender = ucfirst(strtolower($gender));
     396        }
    394397        if (!is_null($gender) && (!in_array($gender, $allowed_values))) {
    395398            throw new \InvalidArgumentException("Invalid value for 'gender', must be one of 'Male', 'Female', 'Other'");
  • zipmoney-payments-woocommerce/trunk/zipmoney-payment-gateway.php

    r2613372 r2633893  
    77 * Give your customers the power to pay later, interest free and watch your sales grow.
    88 * Take advantage of our fast-growing customer base, proven revenue uplift, fast and simple integration.
    9  * Version:           2.3.10
     9 * Version:           2.3.11
    1010 * Author:            Zip
    1111 * Author URI:        https://www.zip.co/
     
    1515 * WC requires at least: 2.6.13
    1616 * WC tested up to: 5.5.6
    17  * @version  2.3.10
     17 * @version  2.3.11
    1818 * @package  Zip
    1919 * @author   Zip
Note: See TracChangeset for help on using the changeset viewer.