Plugin Directory

Changeset 3470414


Ignore:
Timestamp:
02/26/2026 03:11:27 PM (4 weeks ago)
Author:
peachpay
Message:

1.120.14

Location:
peachpay-for-woocommerce
Files:
892 added
5 edited

Legend:

Unmodified
Added
Removed
  • peachpay-for-woocommerce/trunk/changelog.txt

    r3468859 r3470414  
    11*** PeachPay for WooCommerce Changelog ***
     2
     32026-02-26 - version 1.120.14
     4* CPay bug fix: OneClick fix for classic checkout
    25
    362026-02-24 - version 1.120.12
  • peachpay-for-woocommerce/trunk/core/payments/convesiopay/assets/js/convesiopay-unified-classic.js

    r3468859 r3470414  
    11301130            const cpay = window.ConvesioPay(apiKey);
    11311131
     1132
    11321133            // Get customer email
    1133             const customerEmail = $('#billing_email').val() || 'customer@example.com';
     1134            const rawEmail = $('#billing_email').val();
     1135            const customerEmail = rawEmail && rawEmail.trim() !== '' ? rawEmail.trim() : null;
    11341136
    11351137            // Initialize component (correct syntax)
    1136             const component = cpay.component({
     1138            const componentConfig = {
    11371139                environment: config.convesiopay_config?.api_url?.includes('qa') ? 'test' : 'live',
    11381140                clientKey: clientKey,
    1139                 customerEmail: customerEmail,
    11401141                integration: integrationName,
    11411142                theme: config.checkout_theme || 'light'
    1142             });
     1143            };
     1144           
     1145            // Only attach email if we actually have one
     1146            if (customerEmail) {
     1147                componentConfig.customerEmail = customerEmail;
     1148            }
     1149           
     1150            const component = cpay.component(componentConfig);
    11431151
    11441152            // Mount component to container (replaces loader)
  • peachpay-for-woocommerce/trunk/core/payments/convesiopay/gateways/class-peachpay-convesiopay-unified-gateway.php

    r3468859 r3470414  
    11451145            plugins_url( 'core/payments/convesiopay/assets/js/convesiopay-unified-classic.js', PEACHPAY_PLUGIN_FILE ),
    11461146            array( 'jquery', 'convesiopay-sdk' ),
    1147             '1.1.612',
     1147            '1.1.7',
    11481148            true
    11491149        );
  • peachpay-for-woocommerce/trunk/peachpay.php

    r3468859 r3470414  
    44 * Plugin URI: https://woocommerce.com/products/peachpay
    55 * Description: Connect and manage all your payment methods, offer shoppers a beautiful Express Checkout, and reduce cart abandonment.
    6  * Version: 1.120.12
     6 * Version: 1.120.14
    77 * Text Domain: peachpay-for-woocommerce
    88 * Domain Path: /languages
  • peachpay-for-woocommerce/trunk/readme.txt

    r3468859 r3470414  
    44Requires at least: 5.8
    55Tested up to: 6.8.1
    6 Stable tag: 1.120.12
     6Stable tag: 1.120.14
    77Requires PHP: 7.0
    88License: GPLv2 or later
     
    262262
    263263== Changelog ==
     264
     265= 1.120.14 =
     266* CPay bug fix: OneClick fix for classic checkout
    264267
    265268= 1.120.12 =
Note: See TracChangeset for help on using the changeset viewer.