Plugin Directory

Changeset 3259214


Ignore:
Timestamp:
03/20/2025 02:51:38 PM (13 months ago)
Author:
simplercheckout
Message:

Version 1.1.4

Location:
simpler-checkout
Files:
16 edited
1 copied

Legend:

Unmodified
Added
Removed
  • simpler-checkout/tags/1.1.4/README.txt

    r3259036 r3259214  
    55Tested up to: 6.5
    66Requires PHP: 7.0
    7 Stable tag: 1.1.3
     7Stable tag: 1.1.4
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    3535
    3636== Changelog ==
     37
     38== 1.1.4
     39Fix/Compat: WC Smart COD / include tax
    3740
    3841== 1.1.3
  • simpler-checkout/tags/1.1.4/includes/compat.php

    r3259036 r3259214  
    7272        if ($availablePaymentMethods['cod'] instanceof \WC_Smart_COD_Admin ) {
    7373            $smartCod = new \WC_Smart_COD_Public('wc-smart-cod');
    74             $smartCod->init_wsc_settings();
    7574            $codCost = $smartCod->apply_smart_cod_fees(WC()->cart,false);
     75            if (isset($availablePaymentMethods['cod']->settings['extra_fee_tax']) && $availablePaymentMethods['cod']->settings['extra_fee_tax']=='enable') {
     76                $taxes = \wc_array_merge_recursive_numeric([],\WC_Tax::calc_tax($codCost, \WC_Tax::get_rates(''), false));
     77                if (!empty($taxes)) {
     78                    $codCost += array_sum($taxes);
     79                }
     80            }
    7681        } else if (class_exists('Pay4Pay')) {
    7782            $codCost = $availablePaymentMethods['cod']->settings['pay4pay_charges_fixed'] ?? 0;
  • simpler-checkout/tags/1.1.4/includes/constants.php

    r3259036 r3259214  
    11<?php
    22
    3 const SIMPLERWC_VERSION = '1.1.3';
     3const SIMPLERWC_VERSION = '1.1.4';
    44
    55function simplerwc_get_sdk_uri()
  • simpler-checkout/tags/1.1.4/simpler.php

    r3259036 r3259214  
    88 * Description: Simpler Checkout lets your customers complete their purchases in seconds, with any payment method they want, in any device or browser and without a password.
    99 * Tags: woocommerce, checkout, payments, conversion rate
    10  * Version: 1.1.3
     10 * Version: 1.1.4
    1111 * Requires at least: 5.1
    1212 * Tested up to: 6.3.1
  • simpler-checkout/tags/1.1.4/vendor/autoload.php

    r3259036 r3259214  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit6df9aced8afe088af39be718d3c8614e::getLoader();
     7return ComposerAutoloaderInitc2b39bc4fe6e6352ded3aa5b3acc7e1a::getLoader();
  • simpler-checkout/tags/1.1.4/vendor/composer/autoload_real.php

    r3259036 r3259214  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit6df9aced8afe088af39be718d3c8614e
     5class ComposerAutoloaderInitc2b39bc4fe6e6352ded3aa5b3acc7e1a
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit6df9aced8afe088af39be718d3c8614e', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInitc2b39bc4fe6e6352ded3aa5b3acc7e1a', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit6df9aced8afe088af39be718d3c8614e', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitc2b39bc4fe6e6352ded3aa5b3acc7e1a', 'loadClassLoader'));
    3030
    3131        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3333            require __DIR__ . '/autoload_static.php';
    3434
    35             call_user_func(\Composer\Autoload\ComposerStaticInit6df9aced8afe088af39be718d3c8614e::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInitc2b39bc4fe6e6352ded3aa5b3acc7e1a::getInitializer($loader));
    3636        } else {
    3737            $map = require __DIR__ . '/autoload_namespaces.php';
  • simpler-checkout/tags/1.1.4/vendor/composer/autoload_static.php

    r3259036 r3259214  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit6df9aced8afe088af39be718d3c8614e
     7class ComposerStaticInitc2b39bc4fe6e6352ded3aa5b3acc7e1a
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    8686    {
    8787        return \Closure::bind(function () use ($loader) {
    88             $loader->prefixLengthsPsr4 = ComposerStaticInit6df9aced8afe088af39be718d3c8614e::$prefixLengthsPsr4;
    89             $loader->prefixDirsPsr4 = ComposerStaticInit6df9aced8afe088af39be718d3c8614e::$prefixDirsPsr4;
    90             $loader->classMap = ComposerStaticInit6df9aced8afe088af39be718d3c8614e::$classMap;
     88            $loader->prefixLengthsPsr4 = ComposerStaticInitc2b39bc4fe6e6352ded3aa5b3acc7e1a::$prefixLengthsPsr4;
     89            $loader->prefixDirsPsr4 = ComposerStaticInitc2b39bc4fe6e6352ded3aa5b3acc7e1a::$prefixDirsPsr4;
     90            $loader->classMap = ComposerStaticInitc2b39bc4fe6e6352ded3aa5b3acc7e1a::$classMap;
    9191
    9292        }, null, ClassLoader::class);
  • simpler-checkout/tags/1.1.4/vendor/composer/installed.php

    r3259036 r3259214  
    11<?php return array(
    22    'root' => array(
    3         'pretty_version' => '1.1.3',
    4         'version' => '1.1.3.0',
     3        'pretty_version' => '1.1.4',
     4        'version' => '1.1.4.0',
    55        'type' => 'wordpress-plugin',
    66        'install_path' => __DIR__ . '/../../',
    77        'aliases' => array(),
    8         'reference' => '8a881535bb25d6277783f28d762c531abb185130',
     8        'reference' => 'f419d3cf2ca78e7e8a0ac20549768514672f3b16',
    99        'name' => 'simpler-checkout/woo',
    1010        'dev' => false,
     
    1212    'versions' => array(
    1313        'simpler-checkout/woo' => array(
    14             'pretty_version' => '1.1.3',
    15             'version' => '1.1.3.0',
     14            'pretty_version' => '1.1.4',
     15            'version' => '1.1.4.0',
    1616            'type' => 'wordpress-plugin',
    1717            'install_path' => __DIR__ . '/../../',
    1818            'aliases' => array(),
    19             'reference' => '8a881535bb25d6277783f28d762c531abb185130',
     19            'reference' => 'f419d3cf2ca78e7e8a0ac20549768514672f3b16',
    2020            'dev_requirement' => false,
    2121        ),
  • simpler-checkout/trunk/README.txt

    r3259036 r3259214  
    55Tested up to: 6.5
    66Requires PHP: 7.0
    7 Stable tag: 1.1.3
     7Stable tag: 1.1.4
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    3535
    3636== Changelog ==
     37
     38== 1.1.4
     39Fix/Compat: WC Smart COD / include tax
    3740
    3841== 1.1.3
  • simpler-checkout/trunk/includes/compat.php

    r3259036 r3259214  
    7272        if ($availablePaymentMethods['cod'] instanceof \WC_Smart_COD_Admin ) {
    7373            $smartCod = new \WC_Smart_COD_Public('wc-smart-cod');
    74             $smartCod->init_wsc_settings();
    7574            $codCost = $smartCod->apply_smart_cod_fees(WC()->cart,false);
     75            if (isset($availablePaymentMethods['cod']->settings['extra_fee_tax']) && $availablePaymentMethods['cod']->settings['extra_fee_tax']=='enable') {
     76                $taxes = \wc_array_merge_recursive_numeric([],\WC_Tax::calc_tax($codCost, \WC_Tax::get_rates(''), false));
     77                if (!empty($taxes)) {
     78                    $codCost += array_sum($taxes);
     79                }
     80            }
    7681        } else if (class_exists('Pay4Pay')) {
    7782            $codCost = $availablePaymentMethods['cod']->settings['pay4pay_charges_fixed'] ?? 0;
  • simpler-checkout/trunk/includes/constants.php

    r3259036 r3259214  
    11<?php
    22
    3 const SIMPLERWC_VERSION = '1.1.3';
     3const SIMPLERWC_VERSION = '1.1.4';
    44
    55function simplerwc_get_sdk_uri()
  • simpler-checkout/trunk/simpler.php

    r3259036 r3259214  
    88 * Description: Simpler Checkout lets your customers complete their purchases in seconds, with any payment method they want, in any device or browser and without a password.
    99 * Tags: woocommerce, checkout, payments, conversion rate
    10  * Version: 1.1.3
     10 * Version: 1.1.4
    1111 * Requires at least: 5.1
    1212 * Tested up to: 6.3.1
  • simpler-checkout/trunk/vendor/autoload.php

    r3259036 r3259214  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit6df9aced8afe088af39be718d3c8614e::getLoader();
     7return ComposerAutoloaderInitc2b39bc4fe6e6352ded3aa5b3acc7e1a::getLoader();
  • simpler-checkout/trunk/vendor/composer/autoload_real.php

    r3259036 r3259214  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit6df9aced8afe088af39be718d3c8614e
     5class ComposerAutoloaderInitc2b39bc4fe6e6352ded3aa5b3acc7e1a
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit6df9aced8afe088af39be718d3c8614e', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInitc2b39bc4fe6e6352ded3aa5b3acc7e1a', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit6df9aced8afe088af39be718d3c8614e', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitc2b39bc4fe6e6352ded3aa5b3acc7e1a', 'loadClassLoader'));
    3030
    3131        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3333            require __DIR__ . '/autoload_static.php';
    3434
    35             call_user_func(\Composer\Autoload\ComposerStaticInit6df9aced8afe088af39be718d3c8614e::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInitc2b39bc4fe6e6352ded3aa5b3acc7e1a::getInitializer($loader));
    3636        } else {
    3737            $map = require __DIR__ . '/autoload_namespaces.php';
  • simpler-checkout/trunk/vendor/composer/autoload_static.php

    r3259036 r3259214  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit6df9aced8afe088af39be718d3c8614e
     7class ComposerStaticInitc2b39bc4fe6e6352ded3aa5b3acc7e1a
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    8686    {
    8787        return \Closure::bind(function () use ($loader) {
    88             $loader->prefixLengthsPsr4 = ComposerStaticInit6df9aced8afe088af39be718d3c8614e::$prefixLengthsPsr4;
    89             $loader->prefixDirsPsr4 = ComposerStaticInit6df9aced8afe088af39be718d3c8614e::$prefixDirsPsr4;
    90             $loader->classMap = ComposerStaticInit6df9aced8afe088af39be718d3c8614e::$classMap;
     88            $loader->prefixLengthsPsr4 = ComposerStaticInitc2b39bc4fe6e6352ded3aa5b3acc7e1a::$prefixLengthsPsr4;
     89            $loader->prefixDirsPsr4 = ComposerStaticInitc2b39bc4fe6e6352ded3aa5b3acc7e1a::$prefixDirsPsr4;
     90            $loader->classMap = ComposerStaticInitc2b39bc4fe6e6352ded3aa5b3acc7e1a::$classMap;
    9191
    9292        }, null, ClassLoader::class);
  • simpler-checkout/trunk/vendor/composer/installed.php

    r3259036 r3259214  
    11<?php return array(
    22    'root' => array(
    3         'pretty_version' => '1.1.3',
    4         'version' => '1.1.3.0',
     3        'pretty_version' => '1.1.4',
     4        'version' => '1.1.4.0',
    55        'type' => 'wordpress-plugin',
    66        'install_path' => __DIR__ . '/../../',
    77        'aliases' => array(),
    8         'reference' => '8a881535bb25d6277783f28d762c531abb185130',
     8        'reference' => 'f419d3cf2ca78e7e8a0ac20549768514672f3b16',
    99        'name' => 'simpler-checkout/woo',
    1010        'dev' => false,
     
    1212    'versions' => array(
    1313        'simpler-checkout/woo' => array(
    14             'pretty_version' => '1.1.3',
    15             'version' => '1.1.3.0',
     14            'pretty_version' => '1.1.4',
     15            'version' => '1.1.4.0',
    1616            'type' => 'wordpress-plugin',
    1717            'install_path' => __DIR__ . '/../../',
    1818            'aliases' => array(),
    19             'reference' => '8a881535bb25d6277783f28d762c531abb185130',
     19            'reference' => 'f419d3cf2ca78e7e8a0ac20549768514672f3b16',
    2020            'dev_requirement' => false,
    2121        ),
Note: See TracChangeset for help on using the changeset viewer.