Plugin Directory

Changeset 3090882


Ignore:
Timestamp:
05/22/2024 12:46:37 PM (23 months ago)
Author:
ecommpay
Message:

new version 3.4.3

Location:
ecommpay-payments/trunk
Files:
3 added
10 edited

Legend:

Unmodified
Added
Removed
  • ecommpay-payments/trunk/common/__autoload.php

    r3054258 r3090882  
    8686require_once __DIR__ . '/settings/class-ecp-gateway-settings-card.php';             // Card settings
    8787require_once __DIR__ . '/settings/class-ecp-gateway-settings-paypal.php';           // PayPal settings
     88require_once __DIR__ . '/settings/class-ecp-gateway-settings-paypal-paylater.php';  // PayPal PayLater settings
    8889require_once __DIR__ . '/settings/class-ecp-gateway-settings-klarna.php';           // Klarna settings
    8990require_once __DIR__ . '/settings/class-ecp-gateway-settings-giropay.php';          // Giropay settings
     
    110111require_once __DIR__ . '/gateways/class-ecp-gateway-card.php';                           // Card Gateway
    111112require_once __DIR__ . '/gateways/class-ecp-gateway-paypal.php';                         // PayPal Gateway
     113require_once __DIR__ . '/gateways/class-ecp-gateway-paypal-paylater.php';                // PayPal PayLater Gateway
    112114require_once __DIR__ . '/gateways/class-ecp-gateway-klarna.php';                         // Klarna Gateway
    113115require_once __DIR__ . '/gateways/class-ecp-gateway-giropay.php';                        // Giropay Gateway
  • ecommpay-payments/trunk/common/class-ecp-core.php

    r3077527 r3090882  
    4343     * @since 2.0.0
    4444     */
    45     const WC_ECP_VERSION = '3.4.2';
     45    const WC_ECP_VERSION = '3.4.3';
    4646    // endregion
    4747
     
    7272        Ecp_Gateway_Banks::class,
    7373        Ecp_Gateway_PayPal::class,
     74        Ecp_Gateway_PayPal_PayLater::class,
    7475        Ecp_Gateway_Sofort::class,
    7576        Ecp_Gateway_Ideal::class,
     
    135136            Ecp_Gateway_Settings_Card::ID => Ecp_Gateway_Card::get_instance(),
    136137            Ecp_Gateway_Settings_PayPal::ID => Ecp_Gateway_PayPal::get_instance(),
     138            Ecp_Gateway_Settings_PayPal_PayLater::ID => Ecp_Gateway_PayPal_PayLater::get_instance(),
    137139            Ecp_Gateway_Settings_Klarna::ID => Ecp_Gateway_Klarna::get_instance(),
    138140            Ecp_Gateway_Settings_Sofort::ID => Ecp_Gateway_Sofort::get_instance(),
  • ecommpay-payments/trunk/common/gateways/abstract-ecp-gateway.php

    r2888311 r3090882  
    4343     * @return array
    4444     */
    45     public function apply_payment_args($values, $order)
     45    public function apply_payment_args(array $values, Ecp_Gateway_Order $order)
    4646    {
    4747        return $values;
  • ecommpay-payments/trunk/common/gateways/class-ecp-gateway-paypal.php

    r3054258 r3090882  
    88 * <h2>ECOMMPAY Gateway PayPal.</h2>
    99 *
    10  * @class    Ecp_Gateway_Klarna
     10 * @class    Ecp_Gateway_PayPal
    1111 * @version  3.0.0
    1212 * @package  Woocommerce_Ecommpay/Classes
     
    5858
    5959    /**
    60      * <h2>ECOMMPAY Klarna Gateway constructor.</h2>
     60     * <h2>ECOMMPAY PayPal Gateway constructor.</h2>
    6161     */
    6262    public function __construct()
  • ecommpay-payments/trunk/common/includes/class-ecp-gateway-blocks-support.php

    r3054271 r3090882  
    1111    {
    1212        $gateway_class = get_class($gateway);
    13         $icon = defined($gateway_class . '::PAYMENT_METHOD')
    14             ? ecp_img_url(constant($gateway_class . '::PAYMENT_METHOD')) . '.svg'
    15             : null;
     13        $icon = null;
     14        if (defined($gateway_class . '::ICON_NAME')) {
     15            $icon = ecp_img_url(constant($gateway_class . '::ICON_NAME')) . '.svg';
     16        } elseif (defined($gateway_class . '::PAYMENT_METHOD')) {
     17            $icon = ecp_img_url(constant($gateway_class . '::PAYMENT_METHOD')) . '.svg';
     18        }
    1619
    1720        $this->payment_method = $payment_method;
  • ecommpay-payments/trunk/common/modules/class-ecp-gateway-signer.php

    r3054258 r3090882  
    152152            }
    153153
    154             $paramKey = ($prefix ? $prefix . self::KEY_SEPARATOR : self::BLANK) . $key;
     154            $paramKey = ($prefix ? $prefix . self::KEY_SEPARATOR : self::BLANK) . str_replace(':', '::', $key);
    155155
    156156            switch (true) {
  • ecommpay-payments/trunk/common/settings/class-ecp-form.php

    r3054258 r3090882  
    7070                new Ecp_Gateway_Settings_Banks(),
    7171                new Ecp_Gateway_Settings_PayPal(),
     72                new Ecp_Gateway_Settings_PayPal_PayLater(),
    7273                new Ecp_Gateway_Settings_Sofort(),
    7374                new Ecp_Gateway_Settings_Ideal(),
  • ecommpay-payments/trunk/gateway-ecommpay.php

    r3077527 r3090882  
    55 * GitHub Plugin URI:
    66 * Description:       Easy payment from WooCommerce by different methods in single Payment Page.
    7  * Version:           3.4.2
     7 * Version:           3.4.3
    88 * License:           GPL2
    99 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
  • ecommpay-payments/trunk/helpers/ecp-woo-blocks-support.php

    r3054271 r3090882  
    3131                    Ecp_Gateway_Settings_More::ID => new Ecp_Gateway_More(),
    3232                    Ecp_Gateway_Settings_PayPal::ID => new Ecp_Gateway_PayPal(),
     33                    Ecp_Gateway_Settings_PayPal_PayLater::ID => new Ecp_Gateway_PayPal_PayLater(),
    3334                    Ecp_Gateway_Settings_Sofort::ID => new Ecp_Gateway_Sofort(),
    3435                ];
  • ecommpay-payments/trunk/readme.txt

    r3077527 r3090882  
    44Requires at least: 4.0.0
    55Tested up to: 6.4
    6 Stable tag: 3.4.2
     6Stable tag: 3.4.3
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.