Plugin Directory

Changeset 3129146


Ignore:
Timestamp:
08/01/2024 03:00:53 AM (20 months ago)
Author:
breadintegrations
Message:

Version 3.5.5 changes

Location:
bread-finance/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • bread-finance/trunk/README.md

    r3118819 r3129146  
    44Requires at least: 4.9
    55Tested up to: 6.1.1
    6 Stable tag: 3.5.4
     6Stable tag: 3.5.5
    77Requires PHP: 5.6
    88WC requires at least: 3.0
     
    7373== Changelog ==
    7474
     75= 3.5.5
     76* Current release
     77* Fix admin cart
     78
    7579= 3.5.4
    76 * Current release
    7780* Fix issue when using multiple coupons
    7881
  • bread-finance/trunk/assets/js/v2/main.js

    r3118819 r3129146  
    11/**
    2  * Bread v3.5.4
     2 * Bread v3.5.5
    33 *
    44 * @author Maritim, Kiprotich
  • bread-finance/trunk/bread-finance.php

    r3118819 r3129146  
    66 * Author: Bread Financial
    77 * Author URI: https://payments.breadfinancial.com/
    8  * Version: 3.5.4
     8 * Version: 3.5.5
    99 * Text Domain: bread_finance
    1010 * Domain Path: /i18n/languages/
     
    206206           
    207207            //Require minimums and constants
    208             define('WC_' . $tenant . '_VERSION', '3.5.4');
     208            define('WC_' . $tenant . '_VERSION', '3.5.5');
    209209            define('WC_' . $tenant . '_MIN_PHP_VER', '5.6.0');
    210210            define('WC_' . $tenant . '_MIN_WC_VER', '3.4.0');
  • bread-finance/trunk/classes/class-bread-finance-admin-carts-helper.php

    r2984693 r3129146  
    114114            //Get order currency
    115115            $order_currency = $order->get_currency();
     116
     117            $subtotal = $order->get_subtotal() * 100;
    116118
    117119            /* Add line items */
     
    160162                "subTotal" => array(
    161163                    "currency" => "$order_currency",
    162                     "value" => $total
     164                    "value" => $subtotal
    163165                ),
    164166                "totalDiscounts" => array(
  • bread-finance/trunk/classes/class-bread-finance-form-fields.php

    r2984693 r3129146  
    380380            ),
    381381            'sandbox_platform_merchantId' => array(
    382                 'title' => esc_html__('Sandbox Platform MerchantId', $text_domain),
    383                 'type' => 'text',
    384                 'desc_tip' => esc_html__('Your Bread Sandbox MerchantId. Contact your Bread representative')
     382                'title' => esc_html__('Sandbox Merchant ID', $text_domain),
     383                'type' => 'text',
     384                'desc_tip' => esc_html__('Your Bread Sandbox Merchant ID. Contact your Bread representative')
    385385            ),
    386386            'sandbox_platform_programId' => array(
    387                 'title' => esc_html__('Sandbox Platform ProgramId', $text_domain),
     387                'title' => esc_html__('Sandbox Program ID', $text_domain),
    388388                'type' => 'text',
    389389                'desc_tip' => esc_html__('Your Bread Sandbox ProgramId. Contact your Bread representative')
    390390            ),
    391391            'production_platform_merchantId' => array(
    392                 'title' => esc_html__('Production Platform MerchantId', $text_domain),
    393                 'type' => 'text',
    394                 'desc_tip' => esc_html__('Your Bread Production MerchantId. Contact your Bread representative')
     392                'title' => esc_html__('Production Merchant ID', $text_domain),
     393                'type' => 'text',
     394                'desc_tip' => esc_html__('Your Bread Production Merchant ID. Contact your Bread representative')
    395395            ),
    396396            'production_platform_programId' => array(
    397                 'title' => esc_html__('Production Platform ProgramId', $text_domain),
    398                 'type' => 'text',
    399                 'desc_tip' => esc_html__('Your Bread Production ProgramId. Contact your Bread representative')
     397                'title' => esc_html__('Production Program ID', $text_domain),
     398                'type' => 'text',
     399                'desc_tip' => esc_html__('Your Bread Production Program ID. Contact your Bread representative')
    400400            ),
    401401        );
     
    410410            ),
    411411        );
    412         $settings = $this->mergeWithCondition($this->bread_config->get('sdk_versions'), $general, $environment, $platform_credentials, $classic_credentials, $button_appearance, $button_defaults, $advanced);
     412        $settings = $this->mergeWithCondition($this->bread_config->get('sdk_versions'), $general, $environment, $platform_credentials, $classic_credentials, $button_appearance, $button_defaults, $admin_carts, $advanced);
    413413        return apply_filters('bread_finance_wc_gateway_settings', $settings);
    414414    }
Note: See TracChangeset for help on using the changeset viewer.