Plugin Directory

Changeset 3316454


Ignore:
Timestamp:
06/23/2025 04:05:46 PM (9 months ago)
Author:
montonio
Message:

Update to version 9.0.4 from GitHub

Location:
montonio-for-woocommerce
Files:
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • montonio-for-woocommerce/tags/9.0.4/assets/js/montonio-embedded-blik.js

    r3283410 r3316454  
    4141        window.embeddedPayment = new Montonio.Checkout.Blik({
    4242            locale: wc_montonio_embedded_blik.locale,
    43             environment: wc_montonio_embedded_blik.sandbox_mode === 'yes' ? 'sandbox' : 'production',
     43            environment: wc_montonio_embedded_blik.test_mode === 'yes' ? 'sandbox' : 'production',
    4444            targetElement: targetElement.get(0),
    4545        });
  • montonio-for-woocommerce/tags/9.0.4/assets/js/montonio-inline-blik.js

    r3270541 r3316454  
    4040            'action': 'get_payment_intent',
    4141            'method': 'blik',
    42             'sandbox_mode': params.sandbox_mode,
     42            'sandbox_mode': params.test_mode,
    4343            'nonce': params.nonce,
    4444        };
     
    114114    async function confirmPayment() {
    115115        try {
    116             const result = await embeddedPayment.confirmPayment(params.sandbox_mode === 'yes');
     116            const result = await embeddedPayment.confirmPayment(params.test_mode === 'yes');
    117117
    118118            window.location.replace(result.returnUrl);
  • montonio-for-woocommerce/tags/9.0.4/assets/js/montonio-inline-card.js

    r3270541 r3316454  
    4141            'action': 'get_payment_intent',
    4242            'method': 'cardPayments',
    43             'sandbox_mode': params.sandbox_mode,
     43            'sandbox_mode': params.test_mode,
    4444            'nonce': params.nonce
    4545        };
     
    106106    async function confirmPayment() {
    107107        try {
    108             const result = await embeddedPayment.confirmPayment(params.sandbox_mode === 'yes');
     108            const result = await embeddedPayment.confirmPayment(params.test_mode === 'yes');
    109109
    110110            window.location.replace(result.returnUrl);
  • montonio-for-woocommerce/tags/9.0.4/includes/payment/class-wc-montonio-api.php

    r3315103 r3316454  
    5555    const MONTONIO_API_URL = 'https://stargate.montonio.com/api';
    5656
    57     public function __construct( $sandbox_mode ) {
     57    public function __construct( $sandbox_mode = 'no' ) {
    5858        $this->sandbox_mode = $sandbox_mode;
    5959
  • montonio-for-woocommerce/tags/9.0.4/includes/payment/payment-methods/class-wc-montonio-payments.php

    r3315103 r3316454  
    301301    public function sync_banks( $settings ) {
    302302        try {
    303             $montonio_api = new WC_Montonio_API( $settings['test_mode'] );
     303            $montonio_api = new WC_Montonio_API( $settings['test_mode'] ?? 'no' );
    304304            $response     = json_decode( $montonio_api->fetch_payment_methods() );
    305305
  • montonio-for-woocommerce/tags/9.0.4/languages/montonio-for-woocommerce.pot

    r3315103 r3316454  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Montonio for WooCommerce 9.0.2\n"
     5"Project-Id-Version: Montonio for WooCommerce 9.0.4\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/montonio-for-woocommerce\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-06-20T09:45:46+00:00\n"
     12"POT-Creation-Date: 2025-06-23T15:04:41+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
  • montonio-for-woocommerce/tags/9.0.4/montonio.php

    r3315137 r3316454  
    44 * Plugin URI:        https://www.montonio.com
    55 * Description:       All-in-one plug & play checkout solution
    6  * Version:           9.0.3
     6 * Version:           9.0.4
    77 * Author:            Montonio
    88 * Author URI:        https://www.montonio.com
     
    2121}
    2222
    23 define( 'WC_MONTONIO_PLUGIN_VERSION', '9.0.3' );
     23define( 'WC_MONTONIO_PLUGIN_VERSION', '9.0.4' );
    2424define( 'WC_MONTONIO_PLUGIN_URL', plugins_url( '', __FILE__ ) );
    2525define( 'WC_MONTONIO_PLUGIN_PATH', dirname( __FILE__ ) );
  • montonio-for-woocommerce/tags/9.0.4/readme.txt

    r3315137 r3316454  
    11=== Montonio for WooCommerce ===
    2 Version: 9.0.3
     2Version: 9.0.4
    33Date: 2019-09-04
    44Contributors: Montonio
     
    66Requires at least: 5.0
    77Tested up to: 6.8
    8 Stable tag: 9.0.3
     8Stable tag: 9.0.4
    99Requires PHP: 7.0
    1010Minimum requirements: WooCommerce 3.2 or greater
     
    136136
    137137== Changelog ==
     138= 9.0.4 =
     139* Fix - Embedded payment fields not working properly in checkout
     140
    138141= 9.0.3 =
    139142* Fix - Payment test mode badge now displays correctly in admin settings page
  • montonio-for-woocommerce/trunk/assets/js/montonio-embedded-blik.js

    r3283410 r3316454  
    4141        window.embeddedPayment = new Montonio.Checkout.Blik({
    4242            locale: wc_montonio_embedded_blik.locale,
    43             environment: wc_montonio_embedded_blik.sandbox_mode === 'yes' ? 'sandbox' : 'production',
     43            environment: wc_montonio_embedded_blik.test_mode === 'yes' ? 'sandbox' : 'production',
    4444            targetElement: targetElement.get(0),
    4545        });
  • montonio-for-woocommerce/trunk/assets/js/montonio-inline-blik.js

    r3270541 r3316454  
    4040            'action': 'get_payment_intent',
    4141            'method': 'blik',
    42             'sandbox_mode': params.sandbox_mode,
     42            'sandbox_mode': params.test_mode,
    4343            'nonce': params.nonce,
    4444        };
     
    114114    async function confirmPayment() {
    115115        try {
    116             const result = await embeddedPayment.confirmPayment(params.sandbox_mode === 'yes');
     116            const result = await embeddedPayment.confirmPayment(params.test_mode === 'yes');
    117117
    118118            window.location.replace(result.returnUrl);
  • montonio-for-woocommerce/trunk/assets/js/montonio-inline-card.js

    r3270541 r3316454  
    4141            'action': 'get_payment_intent',
    4242            'method': 'cardPayments',
    43             'sandbox_mode': params.sandbox_mode,
     43            'sandbox_mode': params.test_mode,
    4444            'nonce': params.nonce
    4545        };
     
    106106    async function confirmPayment() {
    107107        try {
    108             const result = await embeddedPayment.confirmPayment(params.sandbox_mode === 'yes');
     108            const result = await embeddedPayment.confirmPayment(params.test_mode === 'yes');
    109109
    110110            window.location.replace(result.returnUrl);
  • montonio-for-woocommerce/trunk/includes/payment/class-wc-montonio-api.php

    r3315103 r3316454  
    5555    const MONTONIO_API_URL = 'https://stargate.montonio.com/api';
    5656
    57     public function __construct( $sandbox_mode ) {
     57    public function __construct( $sandbox_mode = 'no' ) {
    5858        $this->sandbox_mode = $sandbox_mode;
    5959
  • montonio-for-woocommerce/trunk/includes/payment/payment-methods/class-wc-montonio-payments.php

    r3315103 r3316454  
    301301    public function sync_banks( $settings ) {
    302302        try {
    303             $montonio_api = new WC_Montonio_API( $settings['test_mode'] );
     303            $montonio_api = new WC_Montonio_API( $settings['test_mode'] ?? 'no' );
    304304            $response     = json_decode( $montonio_api->fetch_payment_methods() );
    305305
  • montonio-for-woocommerce/trunk/languages/montonio-for-woocommerce.pot

    r3315103 r3316454  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Montonio for WooCommerce 9.0.2\n"
     5"Project-Id-Version: Montonio for WooCommerce 9.0.4\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/montonio-for-woocommerce\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-06-20T09:45:46+00:00\n"
     12"POT-Creation-Date: 2025-06-23T15:04:41+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.11.0\n"
  • montonio-for-woocommerce/trunk/montonio.php

    r3315137 r3316454  
    44 * Plugin URI:        https://www.montonio.com
    55 * Description:       All-in-one plug & play checkout solution
    6  * Version:           9.0.3
     6 * Version:           9.0.4
    77 * Author:            Montonio
    88 * Author URI:        https://www.montonio.com
     
    2121}
    2222
    23 define( 'WC_MONTONIO_PLUGIN_VERSION', '9.0.3' );
     23define( 'WC_MONTONIO_PLUGIN_VERSION', '9.0.4' );
    2424define( 'WC_MONTONIO_PLUGIN_URL', plugins_url( '', __FILE__ ) );
    2525define( 'WC_MONTONIO_PLUGIN_PATH', dirname( __FILE__ ) );
  • montonio-for-woocommerce/trunk/readme.txt

    r3315137 r3316454  
    11=== Montonio for WooCommerce ===
    2 Version: 9.0.3
     2Version: 9.0.4
    33Date: 2019-09-04
    44Contributors: Montonio
     
    66Requires at least: 5.0
    77Tested up to: 6.8
    8 Stable tag: 9.0.3
     8Stable tag: 9.0.4
    99Requires PHP: 7.0
    1010Minimum requirements: WooCommerce 3.2 or greater
     
    136136
    137137== Changelog ==
     138= 9.0.4 =
     139* Fix - Embedded payment fields not working properly in checkout
     140
    138141= 9.0.3 =
    139142* Fix - Payment test mode badge now displays correctly in admin settings page
Note: See TracChangeset for help on using the changeset viewer.