Changeset 3404000
- Timestamp:
- 11/27/2025 11:31:51 AM (4 months ago)
- Location:
- wpify-woo
- Files:
-
- 20 edited
- 1 copied
-
tags/5.2.1 (copied) (copied from wpify-woo/trunk)
-
tags/5.2.1/readme.txt (modified) (2 diffs)
-
tags/5.2.1/src/Modules/EmailAttachments/EmailAttachmentsModule.php (modified) (2 diffs)
-
tags/5.2.1/src/Modules/FreeShippingNotice/FreeShippingNoticeModule.php (modified) (1 diff)
-
tags/5.2.1/src/Modules/QRPayment/QRPaymentModule.php (modified) (15 diffs)
-
tags/5.2.1/src/Modules/Vocative/VocativeModule.php (modified) (1 diff)
-
tags/5.2.1/src/Plugin.php (modified) (1 diff)
-
tags/5.2.1/src/WooCommerceIntegration.php (modified) (8 diffs)
-
tags/5.2.1/vendor/composer/installed.php (modified) (2 diffs)
-
tags/5.2.1/vendor/wpify-woo/composer/installed.php (modified) (1 diff)
-
tags/5.2.1/wpify-woo.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Modules/EmailAttachments/EmailAttachmentsModule.php (modified) (2 diffs)
-
trunk/src/Modules/FreeShippingNotice/FreeShippingNoticeModule.php (modified) (1 diff)
-
trunk/src/Modules/QRPayment/QRPaymentModule.php (modified) (15 diffs)
-
trunk/src/Modules/Vocative/VocativeModule.php (modified) (1 diff)
-
trunk/src/Plugin.php (modified) (1 diff)
-
trunk/src/WooCommerceIntegration.php (modified) (8 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/vendor/wpify-woo/composer/installed.php (modified) (1 diff)
-
trunk/wpify-woo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wpify-woo/tags/5.2.1/readme.txt
r3400404 r3404000 5 5 Tested up to: 6.8 6 6 Requires PHP: 8.1 7 Stable tag: 5.2. 07 Stable tag: 5.2.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 220 220 221 221 == 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 222 228 = 5.2.0 = 223 229 * Add Auto detection for QR payment standard -
wpify-woo/tags/5.2.1/src/Modules/EmailAttachments/EmailAttachmentsModule.php
r3257809 r3404000 66 66 'label' => __( 'Attach to emails', 'wpify-woo' ), 67 67 '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); 70 70 }, 71 71 'async' => true, … … 81 81 'desc' => __( 'Select the countries for which the attachment should be added. Leave empty for all.', 'wpify-woo' ), 82 82 '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); 85 85 }, 86 86 'async' => true, -
wpify-woo/tags/5.2.1/src/Modules/FreeShippingNotice/FreeShippingNoticeModule.php
r3352558 r3404000 152 152 'type' => 'multi_select', 153 153 '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 ); 156 156 }, 157 157 'async' => true, -
wpify-woo/tags/5.2.1/src/Modules/QRPayment/QRPaymentModule.php
r3400404 r3404000 120 120 'type' => 'select', 121 121 '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 ); 124 124 }, 125 125 'async' => true, … … 134 134 'type' => 'multi_select', 135 135 '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 ); 138 138 }, 139 139 'async' => true, … … 156 156 'type' => 'select', 157 157 'label' => __( 'Account data source', 'wpify-woo' ), 158 'options' => function ( ) {158 'options' => function ( $args ) { 159 159 return $this->get_bacs_accounts_options(); 160 160 }, … … 169 169 ], 170 170 [ 171 'id' => 'iban',172 'type' => 'text',173 'label' => __( 'IBAN', 'wpify-woo' ),171 'id' => 'iban', 172 'type' => 'text', 173 'label' => __( 'IBAN', 'wpify-woo' ), 174 174 'conditions' => array( 175 175 array( … … 180 180 ], 181 181 [ 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' ), 185 185 'conditions' => array( 186 186 array( … … 191 191 ], 192 192 [ 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' ), 196 196 'conditions' => array( 197 197 array( … … 202 202 ], 203 203 [ 204 'id' => 'bic',205 'type' => 'text',206 'label' => __( 'BIC (SWIFT)', 'wpify-woo' ),204 'id' => 'bic', 205 'type' => 'text', 206 'label' => __( 'BIC (SWIFT)', 'wpify-woo' ), 207 207 'conditions' => array( 208 208 array( … … 223 223 'label' => __( 'QR Type', 'wpify-woo' ), 224 224 'required' => true, 225 'default' => 'auto', 225 226 'options' => [ 226 227 [ … … 247 248 ], 248 249 [ 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 ), 261 263 ), 262 264 ], … … 265 267 'type' => 'multi_select', 266 268 '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 ); 269 271 }, 270 272 'async' => true, … … 273 275 'section' => $this->id(), 274 276 'module_id' => $this->id(), 277 'qr_type' => '{{#.type}}' 275 278 ), 276 279 ], … … 597 600 * 598 601 * @param int|WC_Order $order 602 * @param array $qr_method 599 603 * 600 604 * @return void|WP_Error|null 601 605 * @throws Exception 602 606 */ 603 public function display_qr_code( $order ) {607 public function display_qr_code( $order, $qr_method = [] ) { 604 608 if ( is_numeric( $order ) ) { 605 609 $order = wc_get_order( $order ); 606 610 } 607 611 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 } 609 617 610 618 if ( ! is_array( $payment_methods ) || empty( $payment_methods ) ) { … … 757 765 } 758 766 759 $this->display_qr_code( $order );767 $this->display_qr_code( $order, $item ); 760 768 } 761 769 } … … 862 870 $bacs_data = $this->get_bacs_account_data( $account['source'] ); 863 871 864 if ( ! empty( $bacs_data ) ) {872 if ( ! empty( $bacs_data ) ) { 865 873 866 874 if ( ! empty( $bacs_data['account_number'] ) ) { … … 917 925 $bacs_accounts_info = get_option( 'woocommerce_bacs_accounts' ); 918 926 919 return $bacs_accounts_info[ $key] ?: null;927 return $bacs_accounts_info[ $key ] ?: null; 920 928 } 921 929 -
wpify-woo/tags/5.2.1/src/Modules/Vocative/VocativeModule.php
r3352558 r3404000 55 55 '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.', 56 56 '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); 59 59 }, 60 60 'async' => true, -
wpify-woo/tags/5.2.1/src/Plugin.php
r3400404 r3404000 23 23 24 24 /** Plugin version */ 25 public const VERSION = '5.2. 0';25 public const VERSION = '5.2.1'; 26 26 27 27 /** Plugin slug name */ -
wpify-woo/tags/5.2.1/src/WooCommerceIntegration.php
r3352558 r3404000 68 68 * @return array 69 69 */ 70 public function get_shipping_methods_option(): array { 70 public function get_shipping_methods_option( array $args = [] ): array { 71 $search = sanitize_title( $args['search'] ?? '' ); 71 72 $shipping_methods = []; 72 73 … … 76 77 foreach ( $zone['shipping_methods'] as $shipping ) { 77 78 /** @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 78 87 $shipping_methods[] = array( 79 'label' => sprintf( '%s: %s', $name, $shipping->get_title() ),88 'label' => $label, 80 89 'value' => $shipping->get_rate_id(), 81 90 ); … … 102 111 } 103 112 104 public function get_gateways() { 113 public function get_gateways( array $args = [] ) { 114 $search = sanitize_title( $args['search'] ?? '' ); 105 115 $gateways = array(); 106 116 $available_gateways = WC()->payment_gateways()->payment_gateways(); 107 117 foreach ( $available_gateways as $key => $gateway ) { 118 if ( ! empty( $search ) ) { 119 if ( strpos( sanitize_title( $gateway->title ), $search ) === false ) { 120 continue; 121 } 122 } 123 108 124 $gateways[] = array( 109 125 'label' => $gateway->title, … … 115 131 } 116 132 117 public function get_order_statuses() { 133 public function get_order_statuses( array $args = [] ) { 134 $search = sanitize_title( $args['search'] ?? '' ); 118 135 $statuses = wc_get_order_statuses(); 119 136 $result = []; 120 137 foreach ( $statuses as $id => $label ) { 138 if ( ! empty( $search ) ) { 139 if ( strpos( sanitize_title( $label ), $search ) === false ) { 140 continue; 141 } 142 } 143 121 144 $result[] = [ 122 145 'label' => $label, … … 128 151 } 129 152 130 public function get_emails_select() { 153 public function get_emails_select( array $args = [] ) { 154 $search = sanitize_title( $args['search'] ?? '' ); 131 155 $emails = []; 132 156 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 133 164 $emails[] = [ 134 'label' => $ wc_email->title . ' - ' . esc_html( $wc_email->is_customer_email() ? __( 'Customer', 'wpify-woo' ) : $wc_email->get_recipient() ),165 'label' => $label, 135 166 'value' => $wc_email->id, 136 167 ]; … … 140 171 } 141 172 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[] = [ 146 186 'label' => $val, 147 187 'value' => $key, … … 149 189 } 150 190 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'] ?? '' ); 155 216 $currencies = []; 156 217 foreach ( get_woocommerce_currencies() as $key => $val ) { 218 if ( ! empty( $search ) ) { 219 if ( strpos( sanitize_title( $val ), $search ) === false ) { 220 continue; 221 } 222 } 223 157 224 $currencies[] = [ 158 225 'label' => $val, … … 164 231 } 165 232 166 public function get_language_select() { 233 public function get_language_select( array $args = [] ) { 234 $search = sanitize_title( $args['search'] ?? '' ); 167 235 $languages = []; 168 236 foreach ( get_available_languages() as $val ) { 237 if ( ! empty( $search ) ) { 238 if ( strpos( sanitize_title( $val ), $search ) === false ) { 239 continue; 240 } 241 } 242 169 243 $languages[] = [ 170 244 'label' => $val, -
wpify-woo/tags/5.2.1/vendor/composer/installed.php
r3400404 r3404000 2 2 'root' => array( 3 3 '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', 7 7 'type' => 'project', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 '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', 17 17 'type' => 'project', 18 18 'install_path' => __DIR__ . '/../../', -
wpify-woo/tags/5.2.1/vendor/wpify-woo/composer/installed.php
r3400404 r3404000 3 3 namespace WpifyWooDeps; 4 4 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)));5 return 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 4 4 * Plugin Name: WPify Woo 5 5 * Description: Custom functionality for WooCommerce 6 * Version: 5.2. 06 * Version: 5.2.1 7 7 * Requires PHP: 8.1.0 8 8 * Requires at least: 6.2 -
wpify-woo/trunk/readme.txt
r3400404 r3404000 5 5 Tested up to: 6.8 6 6 Requires PHP: 8.1 7 Stable tag: 5.2. 07 Stable tag: 5.2.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 220 220 221 221 == 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 222 228 = 5.2.0 = 223 229 * Add Auto detection for QR payment standard -
wpify-woo/trunk/src/Modules/EmailAttachments/EmailAttachmentsModule.php
r3257809 r3404000 66 66 'label' => __( 'Attach to emails', 'wpify-woo' ), 67 67 '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); 70 70 }, 71 71 'async' => true, … … 81 81 'desc' => __( 'Select the countries for which the attachment should be added. Leave empty for all.', 'wpify-woo' ), 82 82 '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); 85 85 }, 86 86 'async' => true, -
wpify-woo/trunk/src/Modules/FreeShippingNotice/FreeShippingNoticeModule.php
r3352558 r3404000 152 152 'type' => 'multi_select', 153 153 '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 ); 156 156 }, 157 157 'async' => true, -
wpify-woo/trunk/src/Modules/QRPayment/QRPaymentModule.php
r3400404 r3404000 120 120 'type' => 'select', 121 121 '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 ); 124 124 }, 125 125 'async' => true, … … 134 134 'type' => 'multi_select', 135 135 '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 ); 138 138 }, 139 139 'async' => true, … … 156 156 'type' => 'select', 157 157 'label' => __( 'Account data source', 'wpify-woo' ), 158 'options' => function ( ) {158 'options' => function ( $args ) { 159 159 return $this->get_bacs_accounts_options(); 160 160 }, … … 169 169 ], 170 170 [ 171 'id' => 'iban',172 'type' => 'text',173 'label' => __( 'IBAN', 'wpify-woo' ),171 'id' => 'iban', 172 'type' => 'text', 173 'label' => __( 'IBAN', 'wpify-woo' ), 174 174 'conditions' => array( 175 175 array( … … 180 180 ], 181 181 [ 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' ), 185 185 'conditions' => array( 186 186 array( … … 191 191 ], 192 192 [ 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' ), 196 196 'conditions' => array( 197 197 array( … … 202 202 ], 203 203 [ 204 'id' => 'bic',205 'type' => 'text',206 'label' => __( 'BIC (SWIFT)', 'wpify-woo' ),204 'id' => 'bic', 205 'type' => 'text', 206 'label' => __( 'BIC (SWIFT)', 'wpify-woo' ), 207 207 'conditions' => array( 208 208 array( … … 223 223 'label' => __( 'QR Type', 'wpify-woo' ), 224 224 'required' => true, 225 'default' => 'auto', 225 226 'options' => [ 226 227 [ … … 247 248 ], 248 249 [ 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 ), 261 263 ), 262 264 ], … … 265 267 'type' => 'multi_select', 266 268 '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 ); 269 271 }, 270 272 'async' => true, … … 273 275 'section' => $this->id(), 274 276 'module_id' => $this->id(), 277 'qr_type' => '{{#.type}}' 275 278 ), 276 279 ], … … 597 600 * 598 601 * @param int|WC_Order $order 602 * @param array $qr_method 599 603 * 600 604 * @return void|WP_Error|null 601 605 * @throws Exception 602 606 */ 603 public function display_qr_code( $order ) {607 public function display_qr_code( $order, $qr_method = [] ) { 604 608 if ( is_numeric( $order ) ) { 605 609 $order = wc_get_order( $order ); 606 610 } 607 611 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 } 609 617 610 618 if ( ! is_array( $payment_methods ) || empty( $payment_methods ) ) { … … 757 765 } 758 766 759 $this->display_qr_code( $order );767 $this->display_qr_code( $order, $item ); 760 768 } 761 769 } … … 862 870 $bacs_data = $this->get_bacs_account_data( $account['source'] ); 863 871 864 if ( ! empty( $bacs_data ) ) {872 if ( ! empty( $bacs_data ) ) { 865 873 866 874 if ( ! empty( $bacs_data['account_number'] ) ) { … … 917 925 $bacs_accounts_info = get_option( 'woocommerce_bacs_accounts' ); 918 926 919 return $bacs_accounts_info[ $key] ?: null;927 return $bacs_accounts_info[ $key ] ?: null; 920 928 } 921 929 -
wpify-woo/trunk/src/Modules/Vocative/VocativeModule.php
r3352558 r3404000 55 55 '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.', 56 56 '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); 59 59 }, 60 60 'async' => true, -
wpify-woo/trunk/src/Plugin.php
r3400404 r3404000 23 23 24 24 /** Plugin version */ 25 public const VERSION = '5.2. 0';25 public const VERSION = '5.2.1'; 26 26 27 27 /** Plugin slug name */ -
wpify-woo/trunk/src/WooCommerceIntegration.php
r3352558 r3404000 68 68 * @return array 69 69 */ 70 public function get_shipping_methods_option(): array { 70 public function get_shipping_methods_option( array $args = [] ): array { 71 $search = sanitize_title( $args['search'] ?? '' ); 71 72 $shipping_methods = []; 72 73 … … 76 77 foreach ( $zone['shipping_methods'] as $shipping ) { 77 78 /** @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 78 87 $shipping_methods[] = array( 79 'label' => sprintf( '%s: %s', $name, $shipping->get_title() ),88 'label' => $label, 80 89 'value' => $shipping->get_rate_id(), 81 90 ); … … 102 111 } 103 112 104 public function get_gateways() { 113 public function get_gateways( array $args = [] ) { 114 $search = sanitize_title( $args['search'] ?? '' ); 105 115 $gateways = array(); 106 116 $available_gateways = WC()->payment_gateways()->payment_gateways(); 107 117 foreach ( $available_gateways as $key => $gateway ) { 118 if ( ! empty( $search ) ) { 119 if ( strpos( sanitize_title( $gateway->title ), $search ) === false ) { 120 continue; 121 } 122 } 123 108 124 $gateways[] = array( 109 125 'label' => $gateway->title, … … 115 131 } 116 132 117 public function get_order_statuses() { 133 public function get_order_statuses( array $args = [] ) { 134 $search = sanitize_title( $args['search'] ?? '' ); 118 135 $statuses = wc_get_order_statuses(); 119 136 $result = []; 120 137 foreach ( $statuses as $id => $label ) { 138 if ( ! empty( $search ) ) { 139 if ( strpos( sanitize_title( $label ), $search ) === false ) { 140 continue; 141 } 142 } 143 121 144 $result[] = [ 122 145 'label' => $label, … … 128 151 } 129 152 130 public function get_emails_select() { 153 public function get_emails_select( array $args = [] ) { 154 $search = sanitize_title( $args['search'] ?? '' ); 131 155 $emails = []; 132 156 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 133 164 $emails[] = [ 134 'label' => $ wc_email->title . ' - ' . esc_html( $wc_email->is_customer_email() ? __( 'Customer', 'wpify-woo' ) : $wc_email->get_recipient() ),165 'label' => $label, 135 166 'value' => $wc_email->id, 136 167 ]; … … 140 171 } 141 172 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[] = [ 146 186 'label' => $val, 147 187 'value' => $key, … … 149 189 } 150 190 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'] ?? '' ); 155 216 $currencies = []; 156 217 foreach ( get_woocommerce_currencies() as $key => $val ) { 218 if ( ! empty( $search ) ) { 219 if ( strpos( sanitize_title( $val ), $search ) === false ) { 220 continue; 221 } 222 } 223 157 224 $currencies[] = [ 158 225 'label' => $val, … … 164 231 } 165 232 166 public function get_language_select() { 233 public function get_language_select( array $args = [] ) { 234 $search = sanitize_title( $args['search'] ?? '' ); 167 235 $languages = []; 168 236 foreach ( get_available_languages() as $val ) { 237 if ( ! empty( $search ) ) { 238 if ( strpos( sanitize_title( $val ), $search ) === false ) { 239 continue; 240 } 241 } 242 169 243 $languages[] = [ 170 244 'label' => $val, -
wpify-woo/trunk/vendor/composer/installed.php
r3400404 r3404000 2 2 'root' => array( 3 3 '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', 7 7 'type' => 'project', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 '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', 17 17 'type' => 'project', 18 18 'install_path' => __DIR__ . '/../../', -
wpify-woo/trunk/vendor/wpify-woo/composer/installed.php
r3400404 r3404000 3 3 namespace WpifyWooDeps; 4 4 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)));5 return 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 4 4 * Plugin Name: WPify Woo 5 5 * Description: Custom functionality for WooCommerce 6 * Version: 5.2. 06 * Version: 5.2.1 7 7 * Requires PHP: 8.1.0 8 8 * Requires at least: 6.2
Note: See TracChangeset
for help on using the changeset viewer.