Plugin Directory

Changeset 3371755


Ignore:
Timestamp:
10/02/2025 11:55:21 AM (5 months ago)
Author:
netingweb
Message:

Releasing version 20251002 - Added support for Consel and BancomatPay payments in blocks checkout.

Location:
gestpay-for-woocommerce
Files:
6 added
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • gestpay-for-woocommerce/tags/20251002/gestpay-for-woocommerce.php

    r3359815 r3371755  
    44 * Plugin URI: http://wordpress.org/plugins/gestpay-for-woocommerce/
    55 * Description: Abilita il sistema di pagamento GestPay by Axerve (Gruppo Banca Sella) in WooCommerce.
    6  * Version: 20250912
     6 * Version: 20251002
    77 * Requires at least: 4.7
    88 * Requires PHP: 7.0
     
    11091109            }
    11101110        }
     1111
     1112        // Register the Bancomatpay payment method
     1113        if ( ! class_exists( 'Gestpay_Bancomatpay_Blocks_Integration' ) ) {
     1114            $bancomatpay_blocks_integration_file = plugin_dir_path( GESTPAY_MAIN_FILE ) . 'inc/class-gestpay-bancomatpay-blocks-integration.php';
     1115            if ( file_exists( $bancomatpay_blocks_integration_file ) ) {
     1116                require_once $bancomatpay_blocks_integration_file;
     1117            } else {
     1118                // Log error and skip registration if file doesn't exist
     1119                if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
     1120                    error_log( 'Gestpay Bancomatpay Blocks Integration: File not found - ' . $bancomatpay_blocks_integration_file );
     1121                }
     1122                return;
     1123            }
     1124        }
     1125       
     1126        if ( class_exists( 'Gestpay_Bancomatpay_Blocks_Integration' ) ) {
     1127            $payment_method_registry->register( new Gestpay_Bancomatpay_Blocks_Integration( $asset_api ) );
     1128           
     1129            if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
     1130                error_log( 'Gestpay Blocks Integration: Bancomatpay payment method registered successfully' );
     1131            }
     1132        }
     1133
     1134        // Register the Consel payment method
     1135        if ( ! class_exists( 'Gestpay_Consel_Blocks_Integration' ) ) {
     1136            $consel_blocks_integration_file = plugin_dir_path( GESTPAY_MAIN_FILE ) . 'inc/class-gestpay-consel-blocks-integration.php';
     1137            if ( file_exists( $consel_blocks_integration_file ) ) {
     1138                require_once $consel_blocks_integration_file;
     1139            } else {
     1140                // Log error and skip registration if file doesn't exist
     1141                if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
     1142                    error_log( 'Gestpay Consel Blocks Integration: File not found - ' . $consel_blocks_integration_file );
     1143                }
     1144                return;
     1145            }
     1146        }
     1147       
     1148        if ( class_exists( 'Gestpay_Consel_Blocks_Integration' ) ) {
     1149            $payment_method_registry->register( new Gestpay_Consel_Blocks_Integration( $asset_api ) );
     1150           
     1151            if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
     1152                error_log( 'Gestpay Blocks Integration: Consel payment method registered successfully' );
     1153            }
     1154        }
    11111155       
    11121156    } catch ( Exception $e ) {
     
    11501194        );
    11511195    }
     1196
     1197    // Enqueue Bancomatpay blocks styles
     1198    $bancomatpay_css_path = plugin_dir_path( GESTPAY_MAIN_FILE ) . 'assets/css/blocks/gestpay-bancomatpay-blocks.css';
     1199    if ( file_exists( $bancomatpay_css_path ) ) {
     1200        wp_enqueue_style(
     1201            'gestpay-bancomatpay-blocks-styles',
     1202            plugin_dir_url( GESTPAY_MAIN_FILE ) . 'assets/css/blocks/gestpay-bancomatpay-blocks.css',
     1203            array(),
     1204            '20250603'
     1205        );
     1206    }
     1207
     1208    // Enqueue Consel blocks styles
     1209    $consel_css_path = plugin_dir_path( GESTPAY_MAIN_FILE ) . 'assets/css/blocks/gestpay-consel-blocks.css';
     1210    if ( file_exists( $consel_css_path ) ) {
     1211        wp_enqueue_style(
     1212            'gestpay-consel-blocks-styles',
     1213            plugin_dir_url( GESTPAY_MAIN_FILE ) . 'assets/css/blocks/gestpay-consel-blocks.css',
     1214            array(),
     1215            '20250603'
     1216        );
     1217    }
    11521218}
    11531219
  • gestpay-for-woocommerce/tags/20251002/inc/class-wc-settings-tab-gestpay.php

    r3359611 r3371755  
    312312            array(
    313313                'title' => '',
    314                 'desc' => 'Con Gestpay Professional è possibile aggiungere pagine di pagamento differenti per differenti metodi di pagamento.<br>Seleziona qui quali modilità di pagamento abilitare; poi salva e infine vai nel tab "Cassa" per vedere abilitati i tipi di pagamento selezionati.<br>Si faccia riferimento al manuale per maggiori informazioni. Nota: i metodi di pagamento selezionati devono essere abilitati anche nel Backoffice Gestpay.<br/><br/>Con l’ultima versione del nostro plugin, il <b>checkout a blocchi di WooCommerce è già compatibile con i pagamenti con carta e PayPal</b>.
    315 Se utilizzi esclusivamente questi metodi, puoi attivarlo subito e offrire un\'esperienza d’acquisto più moderna ai tuoi clienti.<br/>
    316 Il supporto per gli altri metodi di pagamento (es. MyBank, BancomatPay) verrà rilasciato progressivamente nelle prossime versioni.<br/><br/>
    317 ⚠️ Attivando il checkout a blocchi, verranno mostrati solo i metodi di pagamento compatibili (Carte di Credito e PayPal). Eventuali altri metodi attivi nel tuo shop non saranno visibili ai clienti fino al completamento del supporto.<br/><br/>
    318 Se vuoi <b>disabilitare il checkout a blocchi per garantire l\'utilizzo di tutti i metodi di pagamento attivi nel tuo shop, puoi seguire la guida disponibile sulla <a href="https://doc.fabrick.it/it/plugin/woocommerce/blocks-integration/" target="_blank">documentazione ufficiale di Fabrick</a>.</b><br/>',
     314                'desc' => 'Con Gestpay Professional è possibile aggiungere pagine di pagamento differenti per differenti metodi di pagamento.<br>Seleziona qui quali modilità di pagamento abilitare; poi salva e infine vai nel tab "Cassa" per vedere abilitati i tipi di pagamento selezionati.<br>Si faccia riferimento al manuale per maggiori informazioni. Nota: i metodi di pagamento selezionati devono essere abilitati anche nel Backoffice Gestpay.<br/><br/>Con l’ultima versione del nostro plugin, il <b>il checkout a blocchi di WooCommerce è già compatibile con i pagamenti con carta, PayPal, BANCOMATPay e Consel</b>.
     315Se utilizzi esclusivamente questi metodi, puoi <b>attivarlo subito</b> e offrire un\'esperienza d’acquisto più moderna ai tuoi clienti.<br/>
     316Il supporto per gli altri metodi di pagamento (es. MyBank) <b>verrà rilasciato progressivamente</b> nelle prossime versioni.<br/><br/>
     317⚠️ Attivando il checkout a blocchi, <b>verranno mostrati solo i metodi di pagamento compatibili</b>. Eventuali altri metodi attivi nel tuo shop non saranno visibili ai clienti fino al completamento del supporto.<br/><br/>
     318Se vuoi disabilitare il checkout a blocchi per garantire l\'utilizzo di tutti i metodi di pagamento attivi nel tuo shop, puoi seguire la guida disponibile sulla <a href="https://doc.fabrick.it/it/plugin/woocommerce/blocks-integration/" target="_blank">documentazione ufficiale di Fabrick</a>.<br/>',
    319319                'type' => 'title',
    320320                'id' => 'wc_gestpaypro_moregateways_options',
  • gestpay-for-woocommerce/tags/20251002/readme.txt

    r3359815 r3371755  
    55Requires PHP: 7.0
    66Tested up to: 6.8.2
    7 Stable tag: 20250912
     7Stable tag: 20251002
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6969== Changelog ==
    7070
     71= 20251002 =
     72* Feature: Extended WooCommerce Blocks support for additional payment methods
     73  - Added support for Consel payments in blocks checkout
     74  - Added support for BancomatPay payments in blocks checkout
     75  - Enhanced checkout experience with comprehensive block-based interface
     76  - Improved payment method coverage for Italian market
     77* Fix: Nothing added
     78* Security: Nothing added
     79* Improvement: Enhanced checkout experience with extended blocks integration
     80* Checks: Verified compatibility with WordPress 6.8.2, WooCommerce 10.0.4
     81* Note: This release completes the blocks integration for major Italian payment methods
     82
    7183= 20250912 =
    7284* Fix: Critical bug fix for WooCommerce Blocks integration
  • gestpay-for-woocommerce/trunk/gestpay-for-woocommerce.php

    r3359815 r3371755  
    44 * Plugin URI: http://wordpress.org/plugins/gestpay-for-woocommerce/
    55 * Description: Abilita il sistema di pagamento GestPay by Axerve (Gruppo Banca Sella) in WooCommerce.
    6  * Version: 20250912
     6 * Version: 20251002
    77 * Requires at least: 4.7
    88 * Requires PHP: 7.0
     
    11091109            }
    11101110        }
     1111
     1112        // Register the Bancomatpay payment method
     1113        if ( ! class_exists( 'Gestpay_Bancomatpay_Blocks_Integration' ) ) {
     1114            $bancomatpay_blocks_integration_file = plugin_dir_path( GESTPAY_MAIN_FILE ) . 'inc/class-gestpay-bancomatpay-blocks-integration.php';
     1115            if ( file_exists( $bancomatpay_blocks_integration_file ) ) {
     1116                require_once $bancomatpay_blocks_integration_file;
     1117            } else {
     1118                // Log error and skip registration if file doesn't exist
     1119                if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
     1120                    error_log( 'Gestpay Bancomatpay Blocks Integration: File not found - ' . $bancomatpay_blocks_integration_file );
     1121                }
     1122                return;
     1123            }
     1124        }
     1125       
     1126        if ( class_exists( 'Gestpay_Bancomatpay_Blocks_Integration' ) ) {
     1127            $payment_method_registry->register( new Gestpay_Bancomatpay_Blocks_Integration( $asset_api ) );
     1128           
     1129            if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
     1130                error_log( 'Gestpay Blocks Integration: Bancomatpay payment method registered successfully' );
     1131            }
     1132        }
     1133
     1134        // Register the Consel payment method
     1135        if ( ! class_exists( 'Gestpay_Consel_Blocks_Integration' ) ) {
     1136            $consel_blocks_integration_file = plugin_dir_path( GESTPAY_MAIN_FILE ) . 'inc/class-gestpay-consel-blocks-integration.php';
     1137            if ( file_exists( $consel_blocks_integration_file ) ) {
     1138                require_once $consel_blocks_integration_file;
     1139            } else {
     1140                // Log error and skip registration if file doesn't exist
     1141                if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
     1142                    error_log( 'Gestpay Consel Blocks Integration: File not found - ' . $consel_blocks_integration_file );
     1143                }
     1144                return;
     1145            }
     1146        }
     1147       
     1148        if ( class_exists( 'Gestpay_Consel_Blocks_Integration' ) ) {
     1149            $payment_method_registry->register( new Gestpay_Consel_Blocks_Integration( $asset_api ) );
     1150           
     1151            if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) {
     1152                error_log( 'Gestpay Blocks Integration: Consel payment method registered successfully' );
     1153            }
     1154        }
    11111155       
    11121156    } catch ( Exception $e ) {
     
    11501194        );
    11511195    }
     1196
     1197    // Enqueue Bancomatpay blocks styles
     1198    $bancomatpay_css_path = plugin_dir_path( GESTPAY_MAIN_FILE ) . 'assets/css/blocks/gestpay-bancomatpay-blocks.css';
     1199    if ( file_exists( $bancomatpay_css_path ) ) {
     1200        wp_enqueue_style(
     1201            'gestpay-bancomatpay-blocks-styles',
     1202            plugin_dir_url( GESTPAY_MAIN_FILE ) . 'assets/css/blocks/gestpay-bancomatpay-blocks.css',
     1203            array(),
     1204            '20250603'
     1205        );
     1206    }
     1207
     1208    // Enqueue Consel blocks styles
     1209    $consel_css_path = plugin_dir_path( GESTPAY_MAIN_FILE ) . 'assets/css/blocks/gestpay-consel-blocks.css';
     1210    if ( file_exists( $consel_css_path ) ) {
     1211        wp_enqueue_style(
     1212            'gestpay-consel-blocks-styles',
     1213            plugin_dir_url( GESTPAY_MAIN_FILE ) . 'assets/css/blocks/gestpay-consel-blocks.css',
     1214            array(),
     1215            '20250603'
     1216        );
     1217    }
    11521218}
    11531219
  • gestpay-for-woocommerce/trunk/inc/class-wc-settings-tab-gestpay.php

    r3359611 r3371755  
    312312            array(
    313313                'title' => '',
    314                 'desc' => 'Con Gestpay Professional è possibile aggiungere pagine di pagamento differenti per differenti metodi di pagamento.<br>Seleziona qui quali modilità di pagamento abilitare; poi salva e infine vai nel tab "Cassa" per vedere abilitati i tipi di pagamento selezionati.<br>Si faccia riferimento al manuale per maggiori informazioni. Nota: i metodi di pagamento selezionati devono essere abilitati anche nel Backoffice Gestpay.<br/><br/>Con l’ultima versione del nostro plugin, il <b>checkout a blocchi di WooCommerce è già compatibile con i pagamenti con carta e PayPal</b>.
    315 Se utilizzi esclusivamente questi metodi, puoi attivarlo subito e offrire un\'esperienza d’acquisto più moderna ai tuoi clienti.<br/>
    316 Il supporto per gli altri metodi di pagamento (es. MyBank, BancomatPay) verrà rilasciato progressivamente nelle prossime versioni.<br/><br/>
    317 ⚠️ Attivando il checkout a blocchi, verranno mostrati solo i metodi di pagamento compatibili (Carte di Credito e PayPal). Eventuali altri metodi attivi nel tuo shop non saranno visibili ai clienti fino al completamento del supporto.<br/><br/>
    318 Se vuoi <b>disabilitare il checkout a blocchi per garantire l\'utilizzo di tutti i metodi di pagamento attivi nel tuo shop, puoi seguire la guida disponibile sulla <a href="https://doc.fabrick.it/it/plugin/woocommerce/blocks-integration/" target="_blank">documentazione ufficiale di Fabrick</a>.</b><br/>',
     314                'desc' => 'Con Gestpay Professional è possibile aggiungere pagine di pagamento differenti per differenti metodi di pagamento.<br>Seleziona qui quali modilità di pagamento abilitare; poi salva e infine vai nel tab "Cassa" per vedere abilitati i tipi di pagamento selezionati.<br>Si faccia riferimento al manuale per maggiori informazioni. Nota: i metodi di pagamento selezionati devono essere abilitati anche nel Backoffice Gestpay.<br/><br/>Con l’ultima versione del nostro plugin, il <b>il checkout a blocchi di WooCommerce è già compatibile con i pagamenti con carta, PayPal, BANCOMATPay e Consel</b>.
     315Se utilizzi esclusivamente questi metodi, puoi <b>attivarlo subito</b> e offrire un\'esperienza d’acquisto più moderna ai tuoi clienti.<br/>
     316Il supporto per gli altri metodi di pagamento (es. MyBank) <b>verrà rilasciato progressivamente</b> nelle prossime versioni.<br/><br/>
     317⚠️ Attivando il checkout a blocchi, <b>verranno mostrati solo i metodi di pagamento compatibili</b>. Eventuali altri metodi attivi nel tuo shop non saranno visibili ai clienti fino al completamento del supporto.<br/><br/>
     318Se vuoi disabilitare il checkout a blocchi per garantire l\'utilizzo di tutti i metodi di pagamento attivi nel tuo shop, puoi seguire la guida disponibile sulla <a href="https://doc.fabrick.it/it/plugin/woocommerce/blocks-integration/" target="_blank">documentazione ufficiale di Fabrick</a>.<br/>',
    319319                'type' => 'title',
    320320                'id' => 'wc_gestpaypro_moregateways_options',
  • gestpay-for-woocommerce/trunk/readme.txt

    r3359815 r3371755  
    55Requires PHP: 7.0
    66Tested up to: 6.8.2
    7 Stable tag: 20250912
     7Stable tag: 20251002
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6969== Changelog ==
    7070
     71= 20251002 =
     72* Feature: Extended WooCommerce Blocks support for additional payment methods
     73  - Added support for Consel payments in blocks checkout
     74  - Added support for BancomatPay payments in blocks checkout
     75  - Enhanced checkout experience with comprehensive block-based interface
     76  - Improved payment method coverage for Italian market
     77* Fix: Nothing added
     78* Security: Nothing added
     79* Improvement: Enhanced checkout experience with extended blocks integration
     80* Checks: Verified compatibility with WordPress 6.8.2, WooCommerce 10.0.4
     81* Note: This release completes the blocks integration for major Italian payment methods
     82
    7183= 20250912 =
    7284* Fix: Critical bug fix for WooCommerce Blocks integration
Note: See TracChangeset for help on using the changeset viewer.