Plugin Directory

Changeset 3372655


Ignore:
Timestamp:
10/04/2025 01:44:10 AM (6 months ago)
Author:
weeconnectpay
Message:

Deploying version 3.16.2 from pipeline

Location:
weeconnectpay
Files:
647 added
4 edited

Legend:

Unmodified
Added
Removed
  • weeconnectpay/trunk/README.txt

    r3370623 r3372655  
    66Author: WeeConnectPay
    77Contributors: weeconnectpay
    8 Stable Tag: 3.16.1
     8Stable Tag: 3.16.2
    99Requires at least: 5.6
    1010Tested Up To: 6.8.2
     
    128128
    129129== Changelog ==
     130= 3.16.2 =
     131* Fixed Google Pay not loading anymore
     132
    130133= 3.16.1 =
    131134* Updated the translation warning fix to prevent other plugins from interfering with the plugin load order
  • weeconnectpay/trunk/dist/js/payment-fields.js

    r3368762 r3372655  
    163163        // showPrivacyPolicy:  false,
    164164    };
     165    // Add merchantId if available from localized data
     166    const merchantId = window.WeeConnectPayPaymentFieldsData?.merchantId;
     167    if (merchantId && merchantId.length > 0) {
     168        clover.options.merchantId = merchantId;
     169    }
     170    else {
     171        console.warn('WeeConnectPay: merchantId not available from settings');
     172    }
    165173    // Sample payment amount -- Google Pay support
    166174    const paymentReqData = {
  • weeconnectpay/trunk/includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php

    r3368762 r3372655  
    600600            );
    601601
     602            // Safely add merchantId if available
     603            try {
     604                $merchant = $this->integrationSettings->getCloverMerchant();
     605                if ( $merchant && method_exists( $merchant, 'getUuid' ) ) {
     606                    $merchantId = $merchant->getUuid();
     607                    if ( ! empty( $merchantId ) ) {
     608                        $script_data['merchantId'] = $merchantId;
     609                    }
     610                }
     611            } catch ( Exception $e ) {
     612                // merchantId is optional; log but continue
     613                LogService::debug( 'merchantId not available for Classic checkout: ' . $e->getMessage() );
     614            }
     615
    602616            $payment_fields = new PaymentFields();
    603617            $payment_fields->init( $script_data );
  • weeconnectpay/trunk/weeconnectpay.php

    r3370623 r3372655  
    1818 * Description:       Integrate Clover Payments with your WooCommerce online store.
    1919 * Tags:              clover, payments, weeconnect, e-commerce, gateway
    20  * Version:           3.16.1
     20 * Version:           3.16.2
    2121 * Requires at least: 5.6
    2222 * Tested Up To:      6.8.2
     
    3838    die;
    3939}
    40 const WEECONNECT_VERSION = '3.16.1';
     40const WEECONNECT_VERSION = '3.16.2';
    4141
    4242define( 'WEECONNECTPAY_PLUGIN_URL', plugin_dir_url(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.