Plugin Directory

Changeset 3404000


Ignore:
Timestamp:
11/27/2025 11:31:51 AM (4 months ago)
Author:
wpify
Message:

Update to version 5.2.1

Location:
wpify-woo
Files:
20 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wpify-woo/tags/5.2.1/readme.txt

    r3400404 r3404000  
    55Tested up to: 6.8
    66Requires PHP: 8.1
    7 Stable tag: 5.2.0
     7Stable tag: 5.2.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    220220
    221221== Changelog ==
     222= 5.2.1 =
     223* Add search filtering for async select fields in module settings
     224* Add dynamic country filtering based on QR type selection
     225* Fix duplicate QR codes displayed in emails
     226* Improve QR payment module settings UX
     227
    222228= 5.2.0 =
    223229* Add Auto detection for QR payment standard
  • wpify-woo/tags/5.2.1/src/Modules/EmailAttachments/EmailAttachmentsModule.php

    r3257809 r3404000  
    6666                        'label'        => __( 'Attach to emails', 'wpify-woo' ),
    6767                        'type'         => 'multi_select',
    68                         'options'      => function () {
    69                             return $this->woocommerce_integration->get_emails_select();
     68                        'options'      => function ($args) {
     69                            return $this->woocommerce_integration->get_emails_select($args);
    7070                        },
    7171                        'async'        => true,
     
    8181                        'desc'         => __( 'Select the countries for which the attachment should be added. Leave empty for all.', 'wpify-woo' ),
    8282                        'type'         => 'multi_select',
    83                         'options'      => function () {
    84                             return $this->woocommerce_integration->get_countries_select();
     83                        'options'      => function ($args) {
     84                            return $this->woocommerce_integration->get_countries_select($args);
    8585                        },
    8686                        'async'        => true,
  • wpify-woo/tags/5.2.1/src/Modules/FreeShippingNotice/FreeShippingNoticeModule.php

    r3352558 r3404000  
    152152                'type'         => 'multi_select',
    153153                'desc'         => __( 'If you are showing free shipping if there is any free shipping, this sets the methods to be excluded from this check.', 'wpify-woo-conditional-shipping' ),
    154                 'options'      => function () {
    155                     return $this->woocommerce_integration->get_shipping_methods_option();
     154                'options'      => function ( $args ) {
     155                    return $this->woocommerce_integration->get_shipping_methods_option( $args );
    156156                },
    157157                'async'        => true,
  • wpify-woo/tags/5.2.1/src/Modules/QRPayment/QRPaymentModule.php

    r3400404 r3404000  
    120120                        'type'         => 'select',
    121121                        'label'        => __( 'Payment method', 'wpify-woo' ),
    122                         'options'      => function () {
    123                             return $this->woocommerce_integration->get_gateways();
     122                        'options'      => function ( $args ) {
     123                            return $this->woocommerce_integration->get_gateways( $args );
    124124                        },
    125125                        'async'        => true,
     
    134134                        'type'         => 'multi_select',
    135135                        'label'        => __( 'Show in emails', 'wpify-woo' ),
    136                         'options'      => function () {
    137                             return $this->woocommerce_integration->get_emails_select();
     136                        'options'      => function ( $args ) {
     137                            return $this->woocommerce_integration->get_emails_select( $args );
    138138                        },
    139139                        'async'        => true,
     
    156156                                'type'         => 'select',
    157157                                'label'        => __( 'Account data source', 'wpify-woo' ),
    158                                 'options'      => function () {
     158                                'options'      => function ( $args ) {
    159159                                    return $this->get_bacs_accounts_options();
    160160                                },
     
    169169                            ],
    170170                            [
    171                                 'id'    => 'iban',
    172                                 'type'  => 'text',
    173                                 'label' => __( 'IBAN', 'wpify-woo' ),
     171                                'id'         => 'iban',
     172                                'type'       => 'text',
     173                                'label'      => __( 'IBAN', 'wpify-woo' ),
    174174                                'conditions' => array(
    175175                                    array(
     
    180180                            ],
    181181                            [
    182                                 'id'    => 'number',
    183                                 'type'  => 'text',
    184                                 'label' => __( 'Account number (CZ only)', 'wpify-woo' ),
     182                                'id'         => 'number',
     183                                'type'       => 'text',
     184                                'label'      => __( 'Account number (CZ only)', 'wpify-woo' ),
    185185                                'conditions' => array(
    186186                                    array(
     
    191191                            ],
    192192                            [
    193                                 'id'    => 'bank_code',
    194                                 'type'  => 'text',
    195                                 'label' => __( 'Bank Code (CZ only)', 'wpify-woo' ),
     193                                'id'         => 'bank_code',
     194                                'type'       => 'text',
     195                                'label'      => __( 'Bank Code (CZ only)', 'wpify-woo' ),
    196196                                'conditions' => array(
    197197                                    array(
     
    202202                            ],
    203203                            [
    204                                 'id'    => 'bic',
    205                                 'type'  => 'text',
    206                                 'label' => __( 'BIC (SWIFT)', 'wpify-woo' ),
     204                                'id'         => 'bic',
     205                                'type'       => 'text',
     206                                'label'      => __( 'BIC (SWIFT)', 'wpify-woo' ),
    207207                                'conditions' => array(
    208208                                    array(
     
    223223                                'label'    => __( 'QR Type', 'wpify-woo' ),
    224224                                'required' => true,
     225                                'default'  => 'auto',
    225226                                'options'  => [
    226227                                    [
     
    247248                            ],
    248249                            [
    249                                 'id'           => 'enabled_currencies',
    250                                 'type'         => 'multi_select',
    251                                 'label'        => __( 'Enabled currencies', 'wpify-woo' ),
    252                                 'options'      => function () {
    253                                     return $this->woocommerce_integration->get_currencies_select();
    254                                 },
    255                                 'async'        => true,
    256                                 'disabled'     => true,
    257                                 'async_params' => array(
    258                                     'tab'       => 'wpify-woo-settings',
    259                                     'section'   => $this->id(),
    260                                     'module_id' => $this->id(),
     250                                'id'      => 'enabled_currencies',
     251                                'type'    => 'multi_select',
     252                                'label'   => __( 'Enabled currencies', 'wpify-woo' ),
     253                                'options' => [
     254                                    [ 'label' => 'CZK', 'value' => 'CZK' ],
     255                                    [ 'label' => 'EUR', 'value' => 'EUR' ],
     256                                    [ 'label' => 'HUF', 'value' => 'HUF' ],
     257                                ],
     258                                'conditions' => array(
     259                                    array(
     260                                        'field' => '#.type',
     261                                        'value' => 'auto'
     262                                    ),
    261263                                ),
    262264                            ],
     
    265267                                'type'         => 'multi_select',
    266268                                'label'        => __( 'Enabled countries', 'wpify-woo' ),
    267                                 'options'      => function () {
    268                                     return $this->woocommerce_integration->get_countries_select();
     269                                'options'      => function ( $args ) {
     270                                    return $this->woocommerce_integration->get_countries_select( $args );
    269271                                },
    270272                                'async'        => true,
     
    273275                                    'section'   => $this->id(),
    274276                                    'module_id' => $this->id(),
     277                                    'qr_type'   => '{{#.type}}'
    275278                                ),
    276279                            ],
     
    597600     *
    598601     * @param int|WC_Order $order
     602     * @param array        $qr_method
    599603     *
    600604     * @return void|WP_Error|null
    601605     * @throws Exception
    602606     */
    603     public function display_qr_code( $order ) {
     607    public function display_qr_code( $order, $qr_method = [] ) {
    604608        if ( is_numeric( $order ) ) {
    605609            $order = wc_get_order( $order );
    606610        }
    607611
    608         $payment_methods = $this->get_setting( 'payment_methods' );
     612        if ( $qr_method ) {
     613            $payment_methods = [ $qr_method ];
     614        } else {
     615            $payment_methods = $this->get_setting( 'payment_methods' );
     616        }
    609617
    610618        if ( ! is_array( $payment_methods ) || empty( $payment_methods ) ) {
     
    757765            }
    758766
    759             $this->display_qr_code( $order );
     767            $this->display_qr_code( $order, $item );
    760768        }
    761769    }
     
    862870            $bacs_data = $this->get_bacs_account_data( $account['source'] );
    863871
    864             if ( !empty( $bacs_data ) ) {
     872            if ( ! empty( $bacs_data ) ) {
    865873
    866874                if ( ! empty( $bacs_data['account_number'] ) ) {
     
    917925        $bacs_accounts_info = get_option( 'woocommerce_bacs_accounts' );
    918926
    919         return $bacs_accounts_info[$key] ?: null;
     927        return $bacs_accounts_info[ $key ] ?: null;
    920928    }
    921929
  • wpify-woo/tags/5.2.1/src/Modules/Vocative/VocativeModule.php

    r3352558 r3404000  
    5555                'desc'    => sprintf( __( 'Select languages where you want to use the vocative in emails. If you don`t select any language, the vocative will be used in all languages.',
    5656                    'wpify-woo' ) ),
    57                 'options'      => function () {
    58                     return $this->woocommerce_integration->get_language_select();
     57                'options'      => function ($args) {
     58                    return $this->woocommerce_integration->get_language_select($args);
    5959                },
    6060                'async'        => true,
  • wpify-woo/tags/5.2.1/src/Plugin.php

    r3400404 r3404000  
    2323
    2424    /** Plugin version */
    25     public const VERSION = '5.2.0';
     25    public const VERSION = '5.2.1';
    2626
    2727    /** Plugin slug name */
  • wpify-woo/tags/5.2.1/src/WooCommerceIntegration.php

    r3352558 r3404000  
    6868     * @return array
    6969     */
    70     public function get_shipping_methods_option(): array {
     70    public function get_shipping_methods_option( array $args = [] ): array {
     71        $search           = sanitize_title( $args['search'] ?? '' );
    7172        $shipping_methods = [];
    7273
     
    7677            foreach ( $zone['shipping_methods'] as $shipping ) {
    7778                /** @var $shipping \WC_Shipping_Flat_Rate */
     79                $label = sprintf( '%s: %s', $name, $shipping->get_title() );
     80
     81                if ( ! empty( $search ) ) {
     82                    if ( strpos( sanitize_title( $label ), $search ) === false ) {
     83                        continue;
     84                    }
     85                }
     86
    7887                $shipping_methods[] = array(
    79                     'label' => sprintf( '%s: %s', $name, $shipping->get_title() ),
     88                    'label' => $label,
    8089                    'value' => $shipping->get_rate_id(),
    8190                );
     
    102111    }
    103112
    104     public function get_gateways() {
     113    public function get_gateways( array $args = [] ) {
     114        $search             = sanitize_title( $args['search'] ?? '' );
    105115        $gateways           = array();
    106116        $available_gateways = WC()->payment_gateways()->payment_gateways();
    107117        foreach ( $available_gateways as $key => $gateway ) {
     118            if ( ! empty( $search ) ) {
     119                if ( strpos( sanitize_title( $gateway->title ), $search ) === false ) {
     120                    continue;
     121                }
     122            }
     123
    108124            $gateways[] = array(
    109125                'label' => $gateway->title,
     
    115131    }
    116132
    117     public function get_order_statuses() {
     133    public function get_order_statuses( array $args = [] ) {
     134        $search   = sanitize_title( $args['search'] ?? '' );
    118135        $statuses = wc_get_order_statuses();
    119136        $result   = [];
    120137        foreach ( $statuses as $id => $label ) {
     138            if ( ! empty( $search ) ) {
     139                if ( strpos( sanitize_title( $label ), $search ) === false ) {
     140                    continue;
     141                }
     142            }
     143
    121144            $result[] = [
    122145                'label' => $label,
     
    128151    }
    129152
    130     public function get_emails_select() {
     153    public function get_emails_select( array $args = [] ) {
     154        $search = sanitize_title( $args['search'] ?? '' );
    131155        $emails = [];
    132156        foreach ( WC()->mailer()->get_emails() as $wc_email ) {
     157            $label = $wc_email->title . ' - ' . esc_html( $wc_email->is_customer_email() ? __( 'Customer', 'wpify-woo' ) : $wc_email->get_recipient() );
     158            if ( ! empty( $search ) ) {
     159                if ( strpos( sanitize_title( $label ), $search ) === false ) {
     160                    continue;
     161                }
     162            }
     163
    133164            $emails[] = [
    134                 'label' => $wc_email->title . ' - ' . esc_html( $wc_email->is_customer_email() ? __( 'Customer', 'wpify-woo' ) : $wc_email->get_recipient() ),
     165                'label' => $label,
    135166                'value' => $wc_email->id,
    136167            ];
     
    140171    }
    141172
    142     public function get_countries_select() {
    143         $countries = [];
    144         foreach ( WC()->countries->get_allowed_countries() as $key => $val ) {
    145             $countries[] = [
     173    public function get_countries_select( array $args = [] ) {
     174        $countries = WC()->countries->get_allowed_countries();
     175        $search    = sanitize_title( $args['search'] ?? '' );
     176        $options   = [];
     177
     178        foreach ( $countries as $key => $val ) {
     179            if ( ! empty( $search ) ) {
     180                if ( strpos( sanitize_title( $val ), $search ) === false ) {
     181                    continue;
     182                }
     183            }
     184
     185            $options[] = [
    146186                'label' => $val,
    147187                'value' => $key,
     
    149189        }
    150190
    151         return $countries;
    152     }
    153 
    154     public function get_currencies_select() {
     191        if ( isset( $args['qr_type'] ) && ! empty( $args['qr_type'] ) ) {
     192            switch ( $args['qr_type'] ) {
     193                case 'cz':
     194                    $options = array_filter( $options, function ( $country ) {
     195                        return $country['value'] == 'CZ';
     196                    } );
     197                    break;
     198                case 'sk':
     199                    $options = array_filter( $options, function ( $country ) {
     200                        return $country['value'] == 'SK';
     201                    } );
     202                    break;
     203                case 'hu':
     204                    $options = array_filter( $options, function ( $country ) {
     205                        return $country['value'] == 'HU';
     206                    } );
     207                    break;
     208            };
     209        }
     210
     211        return $options;
     212    }
     213
     214    public function get_currencies_select( array $args = [] ) {
     215        $search     = sanitize_title( $args['search'] ?? '' );
    155216        $currencies = [];
    156217        foreach ( get_woocommerce_currencies() as $key => $val ) {
     218            if ( ! empty( $search ) ) {
     219                if ( strpos( sanitize_title( $val ), $search ) === false ) {
     220                    continue;
     221                }
     222            }
     223
    157224            $currencies[] = [
    158225                'label' => $val,
     
    164231    }
    165232
    166     public function get_language_select() {
     233    public function get_language_select( array $args = [] ) {
     234        $search    = sanitize_title( $args['search'] ?? '' );
    167235        $languages = [];
    168236        foreach ( get_available_languages() as $val ) {
     237            if ( ! empty( $search ) ) {
     238                if ( strpos( sanitize_title( $val ), $search ) === false ) {
     239                    continue;
     240                }
     241            }
     242
    169243            $languages[] = [
    170244                'label' => $val,
  • wpify-woo/tags/5.2.1/vendor/composer/installed.php

    r3400404 r3404000  
    22    'root' => array(
    33        'name' => 'wpify/woo',
    4         'pretty_version' => '5.2.0',
    5         'version' => '5.2.0.0',
    6         'reference' => 'ee9f6470e3c7a9d67f7cac512b5deaf8826424df',
     4        'pretty_version' => '5.2.1',
     5        'version' => '5.2.1.0',
     6        'reference' => 'ab32a279d2c760e989cbf4c8787e46fd17638393',
    77        'type' => 'project',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'wpify/woo' => array(
    14             'pretty_version' => '5.2.0',
    15             'version' => '5.2.0.0',
    16             'reference' => 'ee9f6470e3c7a9d67f7cac512b5deaf8826424df',
     14            'pretty_version' => '5.2.1',
     15            'version' => '5.2.1.0',
     16            'reference' => 'ab32a279d2c760e989cbf4c8787e46fd17638393',
    1717            'type' => 'project',
    1818            'install_path' => __DIR__ . '/../../',
  • wpify-woo/tags/5.2.1/vendor/wpify-woo/composer/installed.php

    r3400404 r3404000  
    33namespace WpifyWooDeps;
    44
    5 return array('root' => array('name' => '__root__', 'pretty_version' => '5.2.0', 'version' => '5.2.0.0', 'reference' => 'ee9f6470e3c7a9d67f7cac512b5deaf8826424df', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '5.2.0', 'version' => '5.2.0.0', 'reference' => 'ee9f6470e3c7a9d67f7cac512b5deaf8826424df', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'bacon/bacon-qr-code' => array('pretty_version' => '2.0.8', 'version' => '2.0.8.0', 'reference' => '8674e51bb65af933a5ffaf1c308a660387c35c22', 'type' => 'library', 'install_path' => __DIR__ . '/../bacon/bacon-qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'dasprid/enum' => array('pretty_version' => '1.0.7', 'version' => '1.0.7.0', 'reference' => 'b5874fa9ed0043116c72162ec7f4fb50e02e7cce', 'type' => 'library', 'install_path' => __DIR__ . '/../dasprid/enum', 'aliases' => array(), 'dev_requirement' => \false), 'dragonbe/vies' => array('pretty_version' => '2.3.2', 'version' => '2.3.2.0', 'reference' => 'd9193cbaba7e2faefbdc228fb1bf5670f20acf30', 'type' => 'tool', 'install_path' => __DIR__ . '/../dragonbe/vies', 'aliases' => array(), 'dev_requirement' => \false), 'endroid/qr-code' => array('pretty_version' => '4.5.0', 'version' => '4.5.0.0', 'reference' => '36681470bd10352b53bcb9731bdf2270e0d79b22', 'type' => 'library', 'install_path' => __DIR__ . '/../endroid/qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/guzzle' => array('pretty_version' => '7.10.0', 'version' => '7.10.0.0', 'reference' => 'b51ac707cfa420b7bfd4e4d5e510ba8008e822b4', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.3.0', 'version' => '2.3.0.0', 'reference' => '481557b130ef3790cf82b713667b43030dc9c957', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.8.0', 'version' => '2.8.0.0', 'reference' => '21dc724a0583619cd1652f673303492272778051', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'h4kuna/ares' => array('pretty_version' => 'v3.0.13', 'version' => '3.0.13.0', 'reference' => 'd695e8b57b0410738d8eb9d7157bb8c7ec340d72', 'type' => 'library', 'install_path' => __DIR__ . '/../h4kuna/ares', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/inflection' => array('pretty_version' => 'v3.0.4', 'version' => '3.0.4.0', 'reference' => '684ca578eee3ede920d5d3ca8d568fb70e7d9076', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/inflection', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/overeno-zakazniky' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => 'aa52add431bac32c67b1c00b1969a98709cd611b', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/overeno-zakazniky', 'aliases' => array(), 'dev_requirement' => \false), 'hubipe/huqrpayment' => array('pretty_version' => 'v1.1.1', 'version' => '1.1.1.0', 'reference' => 'a1d493dfd21a5a76798dd6629ac2bdae2da2b535', 'type' => 'library', 'install_path' => __DIR__ . '/../hubipe/huqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v4.0.8', 'version' => '4.0.8.0', 'reference' => 'c930ca4e3cf4f17dcfb03037703679d2396d2ede', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.7', 'version' => '2.3.7.0', 'reference' => '3c1ddfdef181431fbc4be83378f6d036d59e81e1', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '6.4.0', 'version' => '6.4.0.0', 'reference' => 'ae0f1b3b03d8b29dff81747063cbfd6276246cc4', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.2.1', 'version' => '2.2.1.0', 'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '3.0.2', 'version' => '3.0.2.0', 'reference' => 'f16e1d5863e37f8d8c2a01719f5b34baa2b714d3', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/czqrpayment' => array('pretty_version' => 'v5.3.1', 'version' => '5.3.1.0', 'reference' => 'f8e0ecbbdb6d30bafb50a833cc7cfe4f575b82a4', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/czqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/euqrpayment' => array('pretty_version' => 'v1.4.0', 'version' => '1.4.0.0', 'reference' => '4587cc8fed131939e5bf2ee0898b89ab2b1d346d', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/euqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/iban' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'reference' => '7fe69bf9274792c37d5a8d9d38ef5cb000f8377a', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/iban', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-interface' => array('pretty_version' => 'v1.1.0', 'version' => '1.1.0.0', 'reference' => '752f7a6bf1190c7d65ead90b5989f61927436c89', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-interface', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-qr-code-provider' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'reference' => 'd233c4bedeecf2ff7cd7e7d4ec7f4ad4a5eb4b64', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-qr-code-provider', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/skqrpayment' => array('pretty_version' => 'v4.2.3', 'version' => '4.2.3.0', 'reference' => '857ab3707dd7effc2050c7ef152c61aef7c33d92', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/skqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'spatie/array-to-xml' => array('pretty_version' => '2.17.1', 'version' => '2.17.1.0', 'reference' => '5cbec9c6ab17e320c58a259f0cebe88bde4a7c46', 'type' => 'library', 'install_path' => __DIR__ . '/../spatie/array-to-xml', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v3.6.0', 'version' => '3.6.0.0', 'reference' => '63afe740e99a13ba87ec199bb07bbdee937a5b62', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'woocommerce/action-scheduler' => array('pretty_version' => '3.9.3', 'version' => '3.9.3.0', 'reference' => 'c58cdbab17651303d406cd3b22cf9d75c71c986c', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../woocommerce/action-scheduler', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '4.1.2', 'version' => '4.1.2.0', 'reference' => '38854fc46225a6e8387e75086ba2201df32415fc', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/license' => array('pretty_version' => '2.0.7', 'version' => '2.0.7.0', 'reference' => '7f8e7fe16a1bb77cdfcd29c694c5a489fc8db1b1', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/license', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.2.1', 'version' => '1.2.1.0', 'reference' => 'acd58dc5a8fb38e58c167adc2f9b2c588a7a2d87', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.27', 'version' => '4.1.27.0', 'reference' => 'e6c6a6421ade5498be4f5fd1580770bd8dbd2fd6', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/woo-core' => array('pretty_version' => '5.1.20', 'version' => '5.1.20.0', 'reference' => '2d2032c6da6b538079d8e152618b1e5493319409', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/woo-core', 'aliases' => array(), 'dev_requirement' => \false)));
     5return array('root' => array('name' => '__root__', 'pretty_version' => '5.2.1', 'version' => '5.2.1.0', 'reference' => 'ab32a279d2c760e989cbf4c8787e46fd17638393', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '5.2.1', 'version' => '5.2.1.0', 'reference' => 'ab32a279d2c760e989cbf4c8787e46fd17638393', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'bacon/bacon-qr-code' => array('pretty_version' => '2.0.8', 'version' => '2.0.8.0', 'reference' => '8674e51bb65af933a5ffaf1c308a660387c35c22', 'type' => 'library', 'install_path' => __DIR__ . '/../bacon/bacon-qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'dasprid/enum' => array('pretty_version' => '1.0.7', 'version' => '1.0.7.0', 'reference' => 'b5874fa9ed0043116c72162ec7f4fb50e02e7cce', 'type' => 'library', 'install_path' => __DIR__ . '/../dasprid/enum', 'aliases' => array(), 'dev_requirement' => \false), 'dragonbe/vies' => array('pretty_version' => '2.3.2', 'version' => '2.3.2.0', 'reference' => 'd9193cbaba7e2faefbdc228fb1bf5670f20acf30', 'type' => 'tool', 'install_path' => __DIR__ . '/../dragonbe/vies', 'aliases' => array(), 'dev_requirement' => \false), 'endroid/qr-code' => array('pretty_version' => '4.5.0', 'version' => '4.5.0.0', 'reference' => '36681470bd10352b53bcb9731bdf2270e0d79b22', 'type' => 'library', 'install_path' => __DIR__ . '/../endroid/qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/guzzle' => array('pretty_version' => '7.10.0', 'version' => '7.10.0.0', 'reference' => 'b51ac707cfa420b7bfd4e4d5e510ba8008e822b4', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.3.0', 'version' => '2.3.0.0', 'reference' => '481557b130ef3790cf82b713667b43030dc9c957', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.8.0', 'version' => '2.8.0.0', 'reference' => '21dc724a0583619cd1652f673303492272778051', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'h4kuna/ares' => array('pretty_version' => 'v3.0.13', 'version' => '3.0.13.0', 'reference' => 'd695e8b57b0410738d8eb9d7157bb8c7ec340d72', 'type' => 'library', 'install_path' => __DIR__ . '/../h4kuna/ares', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/inflection' => array('pretty_version' => 'v3.0.4', 'version' => '3.0.4.0', 'reference' => '684ca578eee3ede920d5d3ca8d568fb70e7d9076', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/inflection', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/overeno-zakazniky' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => 'aa52add431bac32c67b1c00b1969a98709cd611b', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/overeno-zakazniky', 'aliases' => array(), 'dev_requirement' => \false), 'hubipe/huqrpayment' => array('pretty_version' => 'v1.1.1', 'version' => '1.1.1.0', 'reference' => 'a1d493dfd21a5a76798dd6629ac2bdae2da2b535', 'type' => 'library', 'install_path' => __DIR__ . '/../hubipe/huqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v4.0.8', 'version' => '4.0.8.0', 'reference' => 'c930ca4e3cf4f17dcfb03037703679d2396d2ede', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.7', 'version' => '2.3.7.0', 'reference' => '3c1ddfdef181431fbc4be83378f6d036d59e81e1', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '6.4.0', 'version' => '6.4.0.0', 'reference' => 'ae0f1b3b03d8b29dff81747063cbfd6276246cc4', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.2.1', 'version' => '2.2.1.0', 'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '3.0.2', 'version' => '3.0.2.0', 'reference' => 'f16e1d5863e37f8d8c2a01719f5b34baa2b714d3', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/czqrpayment' => array('pretty_version' => 'v5.3.1', 'version' => '5.3.1.0', 'reference' => 'f8e0ecbbdb6d30bafb50a833cc7cfe4f575b82a4', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/czqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/euqrpayment' => array('pretty_version' => 'v1.4.0', 'version' => '1.4.0.0', 'reference' => '4587cc8fed131939e5bf2ee0898b89ab2b1d346d', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/euqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/iban' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'reference' => '7fe69bf9274792c37d5a8d9d38ef5cb000f8377a', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/iban', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-interface' => array('pretty_version' => 'v1.1.0', 'version' => '1.1.0.0', 'reference' => '752f7a6bf1190c7d65ead90b5989f61927436c89', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-interface', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-qr-code-provider' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'reference' => 'd233c4bedeecf2ff7cd7e7d4ec7f4ad4a5eb4b64', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-qr-code-provider', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/skqrpayment' => array('pretty_version' => 'v4.2.3', 'version' => '4.2.3.0', 'reference' => '857ab3707dd7effc2050c7ef152c61aef7c33d92', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/skqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'spatie/array-to-xml' => array('pretty_version' => '2.17.1', 'version' => '2.17.1.0', 'reference' => '5cbec9c6ab17e320c58a259f0cebe88bde4a7c46', 'type' => 'library', 'install_path' => __DIR__ . '/../spatie/array-to-xml', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v3.6.0', 'version' => '3.6.0.0', 'reference' => '63afe740e99a13ba87ec199bb07bbdee937a5b62', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'woocommerce/action-scheduler' => array('pretty_version' => '3.9.3', 'version' => '3.9.3.0', 'reference' => 'c58cdbab17651303d406cd3b22cf9d75c71c986c', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../woocommerce/action-scheduler', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '4.1.2', 'version' => '4.1.2.0', 'reference' => '38854fc46225a6e8387e75086ba2201df32415fc', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/license' => array('pretty_version' => '2.0.7', 'version' => '2.0.7.0', 'reference' => '7f8e7fe16a1bb77cdfcd29c694c5a489fc8db1b1', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/license', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.2.1', 'version' => '1.2.1.0', 'reference' => 'acd58dc5a8fb38e58c167adc2f9b2c588a7a2d87', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.27', 'version' => '4.1.27.0', 'reference' => 'e6c6a6421ade5498be4f5fd1580770bd8dbd2fd6', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/woo-core' => array('pretty_version' => '5.1.20', 'version' => '5.1.20.0', 'reference' => '2d2032c6da6b538079d8e152618b1e5493319409', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/woo-core', 'aliases' => array(), 'dev_requirement' => \false)));
  • wpify-woo/tags/5.2.1/wpify-woo.php

    r3400404 r3404000  
    44 * Plugin Name:          WPify Woo
    55 * Description:          Custom functionality for WooCommerce
    6  * Version:              5.2.0
     6 * Version:              5.2.1
    77 * Requires PHP:         8.1.0
    88 * Requires at least:    6.2
  • wpify-woo/trunk/readme.txt

    r3400404 r3404000  
    55Tested up to: 6.8
    66Requires PHP: 8.1
    7 Stable tag: 5.2.0
     7Stable tag: 5.2.1
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    220220
    221221== Changelog ==
     222= 5.2.1 =
     223* Add search filtering for async select fields in module settings
     224* Add dynamic country filtering based on QR type selection
     225* Fix duplicate QR codes displayed in emails
     226* Improve QR payment module settings UX
     227
    222228= 5.2.0 =
    223229* Add Auto detection for QR payment standard
  • wpify-woo/trunk/src/Modules/EmailAttachments/EmailAttachmentsModule.php

    r3257809 r3404000  
    6666                        'label'        => __( 'Attach to emails', 'wpify-woo' ),
    6767                        'type'         => 'multi_select',
    68                         'options'      => function () {
    69                             return $this->woocommerce_integration->get_emails_select();
     68                        'options'      => function ($args) {
     69                            return $this->woocommerce_integration->get_emails_select($args);
    7070                        },
    7171                        'async'        => true,
     
    8181                        'desc'         => __( 'Select the countries for which the attachment should be added. Leave empty for all.', 'wpify-woo' ),
    8282                        'type'         => 'multi_select',
    83                         'options'      => function () {
    84                             return $this->woocommerce_integration->get_countries_select();
     83                        'options'      => function ($args) {
     84                            return $this->woocommerce_integration->get_countries_select($args);
    8585                        },
    8686                        'async'        => true,
  • wpify-woo/trunk/src/Modules/FreeShippingNotice/FreeShippingNoticeModule.php

    r3352558 r3404000  
    152152                'type'         => 'multi_select',
    153153                'desc'         => __( 'If you are showing free shipping if there is any free shipping, this sets the methods to be excluded from this check.', 'wpify-woo-conditional-shipping' ),
    154                 'options'      => function () {
    155                     return $this->woocommerce_integration->get_shipping_methods_option();
     154                'options'      => function ( $args ) {
     155                    return $this->woocommerce_integration->get_shipping_methods_option( $args );
    156156                },
    157157                'async'        => true,
  • wpify-woo/trunk/src/Modules/QRPayment/QRPaymentModule.php

    r3400404 r3404000  
    120120                        'type'         => 'select',
    121121                        'label'        => __( 'Payment method', 'wpify-woo' ),
    122                         'options'      => function () {
    123                             return $this->woocommerce_integration->get_gateways();
     122                        'options'      => function ( $args ) {
     123                            return $this->woocommerce_integration->get_gateways( $args );
    124124                        },
    125125                        'async'        => true,
     
    134134                        'type'         => 'multi_select',
    135135                        'label'        => __( 'Show in emails', 'wpify-woo' ),
    136                         'options'      => function () {
    137                             return $this->woocommerce_integration->get_emails_select();
     136                        'options'      => function ( $args ) {
     137                            return $this->woocommerce_integration->get_emails_select( $args );
    138138                        },
    139139                        'async'        => true,
     
    156156                                'type'         => 'select',
    157157                                'label'        => __( 'Account data source', 'wpify-woo' ),
    158                                 'options'      => function () {
     158                                'options'      => function ( $args ) {
    159159                                    return $this->get_bacs_accounts_options();
    160160                                },
     
    169169                            ],
    170170                            [
    171                                 'id'    => 'iban',
    172                                 'type'  => 'text',
    173                                 'label' => __( 'IBAN', 'wpify-woo' ),
     171                                'id'         => 'iban',
     172                                'type'       => 'text',
     173                                'label'      => __( 'IBAN', 'wpify-woo' ),
    174174                                'conditions' => array(
    175175                                    array(
     
    180180                            ],
    181181                            [
    182                                 'id'    => 'number',
    183                                 'type'  => 'text',
    184                                 'label' => __( 'Account number (CZ only)', 'wpify-woo' ),
     182                                'id'         => 'number',
     183                                'type'       => 'text',
     184                                'label'      => __( 'Account number (CZ only)', 'wpify-woo' ),
    185185                                'conditions' => array(
    186186                                    array(
     
    191191                            ],
    192192                            [
    193                                 'id'    => 'bank_code',
    194                                 'type'  => 'text',
    195                                 'label' => __( 'Bank Code (CZ only)', 'wpify-woo' ),
     193                                'id'         => 'bank_code',
     194                                'type'       => 'text',
     195                                'label'      => __( 'Bank Code (CZ only)', 'wpify-woo' ),
    196196                                'conditions' => array(
    197197                                    array(
     
    202202                            ],
    203203                            [
    204                                 'id'    => 'bic',
    205                                 'type'  => 'text',
    206                                 'label' => __( 'BIC (SWIFT)', 'wpify-woo' ),
     204                                'id'         => 'bic',
     205                                'type'       => 'text',
     206                                'label'      => __( 'BIC (SWIFT)', 'wpify-woo' ),
    207207                                'conditions' => array(
    208208                                    array(
     
    223223                                'label'    => __( 'QR Type', 'wpify-woo' ),
    224224                                'required' => true,
     225                                'default'  => 'auto',
    225226                                'options'  => [
    226227                                    [
     
    247248                            ],
    248249                            [
    249                                 'id'           => 'enabled_currencies',
    250                                 'type'         => 'multi_select',
    251                                 'label'        => __( 'Enabled currencies', 'wpify-woo' ),
    252                                 'options'      => function () {
    253                                     return $this->woocommerce_integration->get_currencies_select();
    254                                 },
    255                                 'async'        => true,
    256                                 'disabled'     => true,
    257                                 'async_params' => array(
    258                                     'tab'       => 'wpify-woo-settings',
    259                                     'section'   => $this->id(),
    260                                     'module_id' => $this->id(),
     250                                'id'      => 'enabled_currencies',
     251                                'type'    => 'multi_select',
     252                                'label'   => __( 'Enabled currencies', 'wpify-woo' ),
     253                                'options' => [
     254                                    [ 'label' => 'CZK', 'value' => 'CZK' ],
     255                                    [ 'label' => 'EUR', 'value' => 'EUR' ],
     256                                    [ 'label' => 'HUF', 'value' => 'HUF' ],
     257                                ],
     258                                'conditions' => array(
     259                                    array(
     260                                        'field' => '#.type',
     261                                        'value' => 'auto'
     262                                    ),
    261263                                ),
    262264                            ],
     
    265267                                'type'         => 'multi_select',
    266268                                'label'        => __( 'Enabled countries', 'wpify-woo' ),
    267                                 'options'      => function () {
    268                                     return $this->woocommerce_integration->get_countries_select();
     269                                'options'      => function ( $args ) {
     270                                    return $this->woocommerce_integration->get_countries_select( $args );
    269271                                },
    270272                                'async'        => true,
     
    273275                                    'section'   => $this->id(),
    274276                                    'module_id' => $this->id(),
     277                                    'qr_type'   => '{{#.type}}'
    275278                                ),
    276279                            ],
     
    597600     *
    598601     * @param int|WC_Order $order
     602     * @param array        $qr_method
    599603     *
    600604     * @return void|WP_Error|null
    601605     * @throws Exception
    602606     */
    603     public function display_qr_code( $order ) {
     607    public function display_qr_code( $order, $qr_method = [] ) {
    604608        if ( is_numeric( $order ) ) {
    605609            $order = wc_get_order( $order );
    606610        }
    607611
    608         $payment_methods = $this->get_setting( 'payment_methods' );
     612        if ( $qr_method ) {
     613            $payment_methods = [ $qr_method ];
     614        } else {
     615            $payment_methods = $this->get_setting( 'payment_methods' );
     616        }
    609617
    610618        if ( ! is_array( $payment_methods ) || empty( $payment_methods ) ) {
     
    757765            }
    758766
    759             $this->display_qr_code( $order );
     767            $this->display_qr_code( $order, $item );
    760768        }
    761769    }
     
    862870            $bacs_data = $this->get_bacs_account_data( $account['source'] );
    863871
    864             if ( !empty( $bacs_data ) ) {
     872            if ( ! empty( $bacs_data ) ) {
    865873
    866874                if ( ! empty( $bacs_data['account_number'] ) ) {
     
    917925        $bacs_accounts_info = get_option( 'woocommerce_bacs_accounts' );
    918926
    919         return $bacs_accounts_info[$key] ?: null;
     927        return $bacs_accounts_info[ $key ] ?: null;
    920928    }
    921929
  • wpify-woo/trunk/src/Modules/Vocative/VocativeModule.php

    r3352558 r3404000  
    5555                'desc'    => sprintf( __( 'Select languages where you want to use the vocative in emails. If you don`t select any language, the vocative will be used in all languages.',
    5656                    'wpify-woo' ) ),
    57                 'options'      => function () {
    58                     return $this->woocommerce_integration->get_language_select();
     57                'options'      => function ($args) {
     58                    return $this->woocommerce_integration->get_language_select($args);
    5959                },
    6060                'async'        => true,
  • wpify-woo/trunk/src/Plugin.php

    r3400404 r3404000  
    2323
    2424    /** Plugin version */
    25     public const VERSION = '5.2.0';
     25    public const VERSION = '5.2.1';
    2626
    2727    /** Plugin slug name */
  • wpify-woo/trunk/src/WooCommerceIntegration.php

    r3352558 r3404000  
    6868     * @return array
    6969     */
    70     public function get_shipping_methods_option(): array {
     70    public function get_shipping_methods_option( array $args = [] ): array {
     71        $search           = sanitize_title( $args['search'] ?? '' );
    7172        $shipping_methods = [];
    7273
     
    7677            foreach ( $zone['shipping_methods'] as $shipping ) {
    7778                /** @var $shipping \WC_Shipping_Flat_Rate */
     79                $label = sprintf( '%s: %s', $name, $shipping->get_title() );
     80
     81                if ( ! empty( $search ) ) {
     82                    if ( strpos( sanitize_title( $label ), $search ) === false ) {
     83                        continue;
     84                    }
     85                }
     86
    7887                $shipping_methods[] = array(
    79                     'label' => sprintf( '%s: %s', $name, $shipping->get_title() ),
     88                    'label' => $label,
    8089                    'value' => $shipping->get_rate_id(),
    8190                );
     
    102111    }
    103112
    104     public function get_gateways() {
     113    public function get_gateways( array $args = [] ) {
     114        $search             = sanitize_title( $args['search'] ?? '' );
    105115        $gateways           = array();
    106116        $available_gateways = WC()->payment_gateways()->payment_gateways();
    107117        foreach ( $available_gateways as $key => $gateway ) {
     118            if ( ! empty( $search ) ) {
     119                if ( strpos( sanitize_title( $gateway->title ), $search ) === false ) {
     120                    continue;
     121                }
     122            }
     123
    108124            $gateways[] = array(
    109125                'label' => $gateway->title,
     
    115131    }
    116132
    117     public function get_order_statuses() {
     133    public function get_order_statuses( array $args = [] ) {
     134        $search   = sanitize_title( $args['search'] ?? '' );
    118135        $statuses = wc_get_order_statuses();
    119136        $result   = [];
    120137        foreach ( $statuses as $id => $label ) {
     138            if ( ! empty( $search ) ) {
     139                if ( strpos( sanitize_title( $label ), $search ) === false ) {
     140                    continue;
     141                }
     142            }
     143
    121144            $result[] = [
    122145                'label' => $label,
     
    128151    }
    129152
    130     public function get_emails_select() {
     153    public function get_emails_select( array $args = [] ) {
     154        $search = sanitize_title( $args['search'] ?? '' );
    131155        $emails = [];
    132156        foreach ( WC()->mailer()->get_emails() as $wc_email ) {
     157            $label = $wc_email->title . ' - ' . esc_html( $wc_email->is_customer_email() ? __( 'Customer', 'wpify-woo' ) : $wc_email->get_recipient() );
     158            if ( ! empty( $search ) ) {
     159                if ( strpos( sanitize_title( $label ), $search ) === false ) {
     160                    continue;
     161                }
     162            }
     163
    133164            $emails[] = [
    134                 'label' => $wc_email->title . ' - ' . esc_html( $wc_email->is_customer_email() ? __( 'Customer', 'wpify-woo' ) : $wc_email->get_recipient() ),
     165                'label' => $label,
    135166                'value' => $wc_email->id,
    136167            ];
     
    140171    }
    141172
    142     public function get_countries_select() {
    143         $countries = [];
    144         foreach ( WC()->countries->get_allowed_countries() as $key => $val ) {
    145             $countries[] = [
     173    public function get_countries_select( array $args = [] ) {
     174        $countries = WC()->countries->get_allowed_countries();
     175        $search    = sanitize_title( $args['search'] ?? '' );
     176        $options   = [];
     177
     178        foreach ( $countries as $key => $val ) {
     179            if ( ! empty( $search ) ) {
     180                if ( strpos( sanitize_title( $val ), $search ) === false ) {
     181                    continue;
     182                }
     183            }
     184
     185            $options[] = [
    146186                'label' => $val,
    147187                'value' => $key,
     
    149189        }
    150190
    151         return $countries;
    152     }
    153 
    154     public function get_currencies_select() {
     191        if ( isset( $args['qr_type'] ) && ! empty( $args['qr_type'] ) ) {
     192            switch ( $args['qr_type'] ) {
     193                case 'cz':
     194                    $options = array_filter( $options, function ( $country ) {
     195                        return $country['value'] == 'CZ';
     196                    } );
     197                    break;
     198                case 'sk':
     199                    $options = array_filter( $options, function ( $country ) {
     200                        return $country['value'] == 'SK';
     201                    } );
     202                    break;
     203                case 'hu':
     204                    $options = array_filter( $options, function ( $country ) {
     205                        return $country['value'] == 'HU';
     206                    } );
     207                    break;
     208            };
     209        }
     210
     211        return $options;
     212    }
     213
     214    public function get_currencies_select( array $args = [] ) {
     215        $search     = sanitize_title( $args['search'] ?? '' );
    155216        $currencies = [];
    156217        foreach ( get_woocommerce_currencies() as $key => $val ) {
     218            if ( ! empty( $search ) ) {
     219                if ( strpos( sanitize_title( $val ), $search ) === false ) {
     220                    continue;
     221                }
     222            }
     223
    157224            $currencies[] = [
    158225                'label' => $val,
     
    164231    }
    165232
    166     public function get_language_select() {
     233    public function get_language_select( array $args = [] ) {
     234        $search    = sanitize_title( $args['search'] ?? '' );
    167235        $languages = [];
    168236        foreach ( get_available_languages() as $val ) {
     237            if ( ! empty( $search ) ) {
     238                if ( strpos( sanitize_title( $val ), $search ) === false ) {
     239                    continue;
     240                }
     241            }
     242
    169243            $languages[] = [
    170244                'label' => $val,
  • wpify-woo/trunk/vendor/composer/installed.php

    r3400404 r3404000  
    22    'root' => array(
    33        'name' => 'wpify/woo',
    4         'pretty_version' => '5.2.0',
    5         'version' => '5.2.0.0',
    6         'reference' => 'ee9f6470e3c7a9d67f7cac512b5deaf8826424df',
     4        'pretty_version' => '5.2.1',
     5        'version' => '5.2.1.0',
     6        'reference' => 'ab32a279d2c760e989cbf4c8787e46fd17638393',
    77        'type' => 'project',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'wpify/woo' => array(
    14             'pretty_version' => '5.2.0',
    15             'version' => '5.2.0.0',
    16             'reference' => 'ee9f6470e3c7a9d67f7cac512b5deaf8826424df',
     14            'pretty_version' => '5.2.1',
     15            'version' => '5.2.1.0',
     16            'reference' => 'ab32a279d2c760e989cbf4c8787e46fd17638393',
    1717            'type' => 'project',
    1818            'install_path' => __DIR__ . '/../../',
  • wpify-woo/trunk/vendor/wpify-woo/composer/installed.php

    r3400404 r3404000  
    33namespace WpifyWooDeps;
    44
    5 return array('root' => array('name' => '__root__', 'pretty_version' => '5.2.0', 'version' => '5.2.0.0', 'reference' => 'ee9f6470e3c7a9d67f7cac512b5deaf8826424df', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '5.2.0', 'version' => '5.2.0.0', 'reference' => 'ee9f6470e3c7a9d67f7cac512b5deaf8826424df', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'bacon/bacon-qr-code' => array('pretty_version' => '2.0.8', 'version' => '2.0.8.0', 'reference' => '8674e51bb65af933a5ffaf1c308a660387c35c22', 'type' => 'library', 'install_path' => __DIR__ . '/../bacon/bacon-qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'dasprid/enum' => array('pretty_version' => '1.0.7', 'version' => '1.0.7.0', 'reference' => 'b5874fa9ed0043116c72162ec7f4fb50e02e7cce', 'type' => 'library', 'install_path' => __DIR__ . '/../dasprid/enum', 'aliases' => array(), 'dev_requirement' => \false), 'dragonbe/vies' => array('pretty_version' => '2.3.2', 'version' => '2.3.2.0', 'reference' => 'd9193cbaba7e2faefbdc228fb1bf5670f20acf30', 'type' => 'tool', 'install_path' => __DIR__ . '/../dragonbe/vies', 'aliases' => array(), 'dev_requirement' => \false), 'endroid/qr-code' => array('pretty_version' => '4.5.0', 'version' => '4.5.0.0', 'reference' => '36681470bd10352b53bcb9731bdf2270e0d79b22', 'type' => 'library', 'install_path' => __DIR__ . '/../endroid/qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/guzzle' => array('pretty_version' => '7.10.0', 'version' => '7.10.0.0', 'reference' => 'b51ac707cfa420b7bfd4e4d5e510ba8008e822b4', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.3.0', 'version' => '2.3.0.0', 'reference' => '481557b130ef3790cf82b713667b43030dc9c957', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.8.0', 'version' => '2.8.0.0', 'reference' => '21dc724a0583619cd1652f673303492272778051', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'h4kuna/ares' => array('pretty_version' => 'v3.0.13', 'version' => '3.0.13.0', 'reference' => 'd695e8b57b0410738d8eb9d7157bb8c7ec340d72', 'type' => 'library', 'install_path' => __DIR__ . '/../h4kuna/ares', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/inflection' => array('pretty_version' => 'v3.0.4', 'version' => '3.0.4.0', 'reference' => '684ca578eee3ede920d5d3ca8d568fb70e7d9076', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/inflection', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/overeno-zakazniky' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => 'aa52add431bac32c67b1c00b1969a98709cd611b', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/overeno-zakazniky', 'aliases' => array(), 'dev_requirement' => \false), 'hubipe/huqrpayment' => array('pretty_version' => 'v1.1.1', 'version' => '1.1.1.0', 'reference' => 'a1d493dfd21a5a76798dd6629ac2bdae2da2b535', 'type' => 'library', 'install_path' => __DIR__ . '/../hubipe/huqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v4.0.8', 'version' => '4.0.8.0', 'reference' => 'c930ca4e3cf4f17dcfb03037703679d2396d2ede', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.7', 'version' => '2.3.7.0', 'reference' => '3c1ddfdef181431fbc4be83378f6d036d59e81e1', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '6.4.0', 'version' => '6.4.0.0', 'reference' => 'ae0f1b3b03d8b29dff81747063cbfd6276246cc4', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.2.1', 'version' => '2.2.1.0', 'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '3.0.2', 'version' => '3.0.2.0', 'reference' => 'f16e1d5863e37f8d8c2a01719f5b34baa2b714d3', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/czqrpayment' => array('pretty_version' => 'v5.3.1', 'version' => '5.3.1.0', 'reference' => 'f8e0ecbbdb6d30bafb50a833cc7cfe4f575b82a4', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/czqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/euqrpayment' => array('pretty_version' => 'v1.4.0', 'version' => '1.4.0.0', 'reference' => '4587cc8fed131939e5bf2ee0898b89ab2b1d346d', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/euqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/iban' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'reference' => '7fe69bf9274792c37d5a8d9d38ef5cb000f8377a', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/iban', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-interface' => array('pretty_version' => 'v1.1.0', 'version' => '1.1.0.0', 'reference' => '752f7a6bf1190c7d65ead90b5989f61927436c89', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-interface', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-qr-code-provider' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'reference' => 'd233c4bedeecf2ff7cd7e7d4ec7f4ad4a5eb4b64', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-qr-code-provider', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/skqrpayment' => array('pretty_version' => 'v4.2.3', 'version' => '4.2.3.0', 'reference' => '857ab3707dd7effc2050c7ef152c61aef7c33d92', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/skqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'spatie/array-to-xml' => array('pretty_version' => '2.17.1', 'version' => '2.17.1.0', 'reference' => '5cbec9c6ab17e320c58a259f0cebe88bde4a7c46', 'type' => 'library', 'install_path' => __DIR__ . '/../spatie/array-to-xml', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v3.6.0', 'version' => '3.6.0.0', 'reference' => '63afe740e99a13ba87ec199bb07bbdee937a5b62', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'woocommerce/action-scheduler' => array('pretty_version' => '3.9.3', 'version' => '3.9.3.0', 'reference' => 'c58cdbab17651303d406cd3b22cf9d75c71c986c', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../woocommerce/action-scheduler', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '4.1.2', 'version' => '4.1.2.0', 'reference' => '38854fc46225a6e8387e75086ba2201df32415fc', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/license' => array('pretty_version' => '2.0.7', 'version' => '2.0.7.0', 'reference' => '7f8e7fe16a1bb77cdfcd29c694c5a489fc8db1b1', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/license', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.2.1', 'version' => '1.2.1.0', 'reference' => 'acd58dc5a8fb38e58c167adc2f9b2c588a7a2d87', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.27', 'version' => '4.1.27.0', 'reference' => 'e6c6a6421ade5498be4f5fd1580770bd8dbd2fd6', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/woo-core' => array('pretty_version' => '5.1.20', 'version' => '5.1.20.0', 'reference' => '2d2032c6da6b538079d8e152618b1e5493319409', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/woo-core', 'aliases' => array(), 'dev_requirement' => \false)));
     5return array('root' => array('name' => '__root__', 'pretty_version' => '5.2.1', 'version' => '5.2.1.0', 'reference' => 'ab32a279d2c760e989cbf4c8787e46fd17638393', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev' => \true), 'versions' => array('__root__' => array('pretty_version' => '5.2.1', 'version' => '5.2.1.0', 'reference' => 'ab32a279d2c760e989cbf4c8787e46fd17638393', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), 'dev_requirement' => \false), 'bacon/bacon-qr-code' => array('pretty_version' => '2.0.8', 'version' => '2.0.8.0', 'reference' => '8674e51bb65af933a5ffaf1c308a660387c35c22', 'type' => 'library', 'install_path' => __DIR__ . '/../bacon/bacon-qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'dasprid/enum' => array('pretty_version' => '1.0.7', 'version' => '1.0.7.0', 'reference' => 'b5874fa9ed0043116c72162ec7f4fb50e02e7cce', 'type' => 'library', 'install_path' => __DIR__ . '/../dasprid/enum', 'aliases' => array(), 'dev_requirement' => \false), 'dragonbe/vies' => array('pretty_version' => '2.3.2', 'version' => '2.3.2.0', 'reference' => 'd9193cbaba7e2faefbdc228fb1bf5670f20acf30', 'type' => 'tool', 'install_path' => __DIR__ . '/../dragonbe/vies', 'aliases' => array(), 'dev_requirement' => \false), 'endroid/qr-code' => array('pretty_version' => '4.5.0', 'version' => '4.5.0.0', 'reference' => '36681470bd10352b53bcb9731bdf2270e0d79b22', 'type' => 'library', 'install_path' => __DIR__ . '/../endroid/qr-code', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/guzzle' => array('pretty_version' => '7.10.0', 'version' => '7.10.0.0', 'reference' => 'b51ac707cfa420b7bfd4e4d5e510ba8008e822b4', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/guzzle', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/promises' => array('pretty_version' => '2.3.0', 'version' => '2.3.0.0', 'reference' => '481557b130ef3790cf82b713667b43030dc9c957', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/promises', 'aliases' => array(), 'dev_requirement' => \false), 'guzzlehttp/psr7' => array('pretty_version' => '2.8.0', 'version' => '2.8.0.0', 'reference' => '21dc724a0583619cd1652f673303492272778051', 'type' => 'library', 'install_path' => __DIR__ . '/../guzzlehttp/psr7', 'aliases' => array(), 'dev_requirement' => \false), 'h4kuna/ares' => array('pretty_version' => 'v3.0.13', 'version' => '3.0.13.0', 'reference' => 'd695e8b57b0410738d8eb9d7157bb8c7ec340d72', 'type' => 'library', 'install_path' => __DIR__ . '/../h4kuna/ares', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/inflection' => array('pretty_version' => 'v3.0.4', 'version' => '3.0.4.0', 'reference' => '684ca578eee3ede920d5d3ca8d568fb70e7d9076', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/inflection', 'aliases' => array(), 'dev_requirement' => \false), 'heureka/overeno-zakazniky' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => 'aa52add431bac32c67b1c00b1969a98709cd611b', 'type' => 'library', 'install_path' => __DIR__ . '/../heureka/overeno-zakazniky', 'aliases' => array(), 'dev_requirement' => \false), 'hubipe/huqrpayment' => array('pretty_version' => 'v1.1.1', 'version' => '1.1.1.0', 'reference' => 'a1d493dfd21a5a76798dd6629ac2bdae2da2b535', 'type' => 'library', 'install_path' => __DIR__ . '/../hubipe/huqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'laravel/serializable-closure' => array('pretty_version' => 'v1.3.7', 'version' => '1.3.7.0', 'reference' => '4f48ade902b94323ca3be7646db16209ec76be3d', 'type' => 'library', 'install_path' => __DIR__ . '/../laravel/serializable-closure', 'aliases' => array(), 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v4.0.8', 'version' => '4.0.8.0', 'reference' => 'c930ca4e3cf4f17dcfb03037703679d2396d2ede', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/invoker' => array('pretty_version' => '2.3.7', 'version' => '2.3.7.0', 'reference' => '3c1ddfdef181431fbc4be83378f6d036d59e81e1', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/invoker', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/php-di' => array('pretty_version' => '6.4.0', 'version' => '6.4.0.0', 'reference' => 'ae0f1b3b03d8b29dff81747063cbfd6276246cc4', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/php-di', 'aliases' => array(), 'dev_requirement' => \false), 'php-di/phpdoc-reader' => array('pretty_version' => '2.2.1', 'version' => '2.2.1.0', 'reference' => '66daff34cbd2627740ffec9469ffbac9f8c8185c', 'type' => 'library', 'install_path' => __DIR__ . '/../php-di/phpdoc-reader', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '^1.0')), 'psr/http-client' => array('pretty_version' => '1.0.3', 'version' => '1.0.3.0', 'reference' => 'bb5906edc1c324c9a05aa0873d40117941e5fa90', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-client', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-client-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-factory' => array('pretty_version' => '1.1.0', 'version' => '1.1.0.0', 'reference' => '2b4765fddfe3b508ac62f829e852b1501d3f6e8a', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-factory', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-factory-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/http-message' => array('pretty_version' => '2.0', 'version' => '2.0.0.0', 'reference' => '402d35bcb92c70c026d1a6a9883f06b2ead23d71', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'dev_requirement' => \false), 'psr/http-message-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/log' => array('pretty_version' => '3.0.2', 'version' => '3.0.2.0', 'reference' => 'f16e1d5863e37f8d8c2a01719f5b34baa2b714d3', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'dev_requirement' => \false), 'ralouphie/getallheaders' => array('pretty_version' => '3.0.3', 'version' => '3.0.3.0', 'reference' => '120b605dfeb996808c31b6477290a714d356e822', 'type' => 'library', 'install_path' => __DIR__ . '/../ralouphie/getallheaders', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/czqrpayment' => array('pretty_version' => 'v5.3.1', 'version' => '5.3.1.0', 'reference' => 'f8e0ecbbdb6d30bafb50a833cc7cfe4f575b82a4', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/czqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/euqrpayment' => array('pretty_version' => 'v1.4.0', 'version' => '1.4.0.0', 'reference' => '4587cc8fed131939e5bf2ee0898b89ab2b1d346d', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/euqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/iban' => array('pretty_version' => 'v1.3.0', 'version' => '1.3.0.0', 'reference' => '7fe69bf9274792c37d5a8d9d38ef5cb000f8377a', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/iban', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-interface' => array('pretty_version' => 'v1.1.0', 'version' => '1.1.0.0', 'reference' => '752f7a6bf1190c7d65ead90b5989f61927436c89', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-interface', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/qr-payment-qr-code-provider' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'reference' => 'd233c4bedeecf2ff7cd7e7d4ec7f4ad4a5eb4b64', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/qr-payment-qr-code-provider', 'aliases' => array(), 'dev_requirement' => \false), 'rikudou/skqrpayment' => array('pretty_version' => 'v4.2.3', 'version' => '4.2.3.0', 'reference' => '857ab3707dd7effc2050c7ef152c61aef7c33d92', 'type' => 'library', 'install_path' => __DIR__ . '/../rikudou/skqrpayment', 'aliases' => array(), 'dev_requirement' => \false), 'spatie/array-to-xml' => array('pretty_version' => '2.17.1', 'version' => '2.17.1.0', 'reference' => '5cbec9c6ab17e320c58a259f0cebe88bde4a7c46', 'type' => 'library', 'install_path' => __DIR__ . '/../spatie/array-to-xml', 'aliases' => array(), 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('pretty_version' => 'v3.6.0', 'version' => '3.6.0.0', 'reference' => '63afe740e99a13ba87ec199bb07bbdee937a5b62', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', 'aliases' => array(), 'dev_requirement' => \false), 'woocommerce/action-scheduler' => array('pretty_version' => '3.9.3', 'version' => '3.9.3.0', 'reference' => 'c58cdbab17651303d406cd3b22cf9d75c71c986c', 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../woocommerce/action-scheduler', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/asset' => array('pretty_version' => '1.3.0', 'version' => '1.3.0.0', 'reference' => 'faf957af650b441b49f03cb7ffa42abfe157b43b', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/asset', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/custom-fields' => array('pretty_version' => '4.1.2', 'version' => '4.1.2.0', 'reference' => '38854fc46225a6e8387e75086ba2201df32415fc', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/custom-fields', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/license' => array('pretty_version' => '2.0.7', 'version' => '2.0.7.0', 'reference' => '7f8e7fe16a1bb77cdfcd29c694c5a489fc8db1b1', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/license', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/log' => array('pretty_version' => '1.2.1', 'version' => '1.2.1.0', 'reference' => 'acd58dc5a8fb38e58c167adc2f9b2c588a7a2d87', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/log', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/model' => array('pretty_version' => '4.1.27', 'version' => '4.1.27.0', 'reference' => 'e6c6a6421ade5498be4f5fd1580770bd8dbd2fd6', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/model', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/plugin-utils' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'reference' => '0ace7f3a23bdfe3e2b2b05c72af79fa034c7e77a', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/plugin-utils', 'aliases' => array(), 'dev_requirement' => \false), 'wpify/woo-core' => array('pretty_version' => '5.1.20', 'version' => '5.1.20.0', 'reference' => '2d2032c6da6b538079d8e152618b1e5493319409', 'type' => 'library', 'install_path' => __DIR__ . '/../wpify/woo-core', 'aliases' => array(), 'dev_requirement' => \false)));
  • wpify-woo/trunk/wpify-woo.php

    r3400404 r3404000  
    44 * Plugin Name:          WPify Woo
    55 * Description:          Custom functionality for WooCommerce
    6  * Version:              5.2.0
     6 * Version:              5.2.1
    77 * Requires PHP:         8.1.0
    88 * Requires at least:    6.2
Note: See TracChangeset for help on using the changeset viewer.