Plugin Directory

Changeset 2917068


Ignore:
Timestamp:
05/25/2023 04:57:23 AM (3 years ago)
Author:
zipmoney
Message:

fixed PHP notification for wc-zipmoney-checkout-js

Location:
zipmoney-payments-woocommerce
Files:
188 added
4 edited

Legend:

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

    r2914592 r2917068  
    44Requires at least: WP 4.0
    55Tested up to: 6.2
    6 Stable tag: 2.3.17
     6Stable tag: 2.3.18
    77License: GPLv2 or later License http://www.gnu.org/licenses/gpl-2.0.html
    88
     
    222222= 2.3.17 =
    223223* Test plugin with wordpress 6.2 and woocommerce 7.5.1
     224
     225= 2.3.18 =
     226* fixed php notification issue for wc-zipmoney-checkout-js
  • zipmoney-payments-woocommerce/trunk/includes/class-wc-zipmoney-payment-gateway-widget.php

    r2806192 r2917068  
    1717        // inject the order button
    1818        if ( $WC_Zipmoney_Payment_Gateway_Config->is_it_iframe_flow() ) {
    19             wp_register_script( 'wc-zipmoney-checkout-js', 'https://static.zipmoney.com.au/checkout/checkout-v1.js', '1.0.0', true );
    20             wp_enqueue_script( 'wc-zipmoney-checkout-js' );
    2119            add_filter( 'woocommerce_order_button_html', array( $this, 'order_button' ), 10, 2 );
    2220        }
     
    266264        wp_register_script( 'wc-zipmoney-widget-js', 'https://static.zipmoney.com.au/lib/js/zm-widget-js/dist/zip-widget.min.js', '2.0.5', true );
    267265        wp_enqueue_script( 'wc-zipmoney-widget-js' );
    268 
     266        $WC_Zipmoney_Payment_Gateway_Config = $this->WC_Zipmoney_Payment_Gateway->WC_Zipmoney_Payment_Gateway_Config;
     267
     268        if ( $WC_Zipmoney_Payment_Gateway_Config->is_it_iframe_flow() ) {
     269            wp_register_script( 'wc-zipmoney-checkout-js', 'https://static.zipmoney.com.au/checkout/checkout-v1.js', '1.0.0', true );
     270            wp_enqueue_script( 'wc-zipmoney-checkout-js' );
     271        }
    269272        wp_enqueue_script( 'wc-zipmoney-js' );
    270273    }
  • zipmoney-payments-woocommerce/trunk/includes/class-wc-zipmoney-payment-gateway.php

    r2914592 r2917068  
    2424    public $description = 'Own the way you pay';
    2525
    26     public $version = '2.3.17';
     26    public $version = '2.3.18';
    2727
    2828    public $supports = array( 'products', 'refunds' );
  • zipmoney-payments-woocommerce/trunk/zipmoney-payment-gateway.php

    r2914592 r2917068  
    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.17
     9 * Version:           2.3.18
    1010 * Author:            Zip
    1111 * Author URI:        https://www.zip.co/
     
    1616 * WC tested up to: 7.5.1
    1717 *
    18  * @version  2.3.17
     18 * @version  2.3.18
    1919 * @package  Zip
    2020 * @author   Zip
Note: See TracChangeset for help on using the changeset viewer.