Changeset 3129146
- Timestamp:
- 08/01/2024 03:00:53 AM (20 months ago)
- Location:
- bread-finance/trunk
- Files:
-
- 5 edited
-
README.md (modified) (2 diffs)
-
assets/js/v2/main.js (modified) (1 diff)
-
bread-finance.php (modified) (2 diffs)
-
classes/class-bread-finance-admin-carts-helper.php (modified) (2 diffs)
-
classes/class-bread-finance-form-fields.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bread-finance/trunk/README.md
r3118819 r3129146 4 4 Requires at least: 4.9 5 5 Tested up to: 6.1.1 6 Stable tag: 3.5. 46 Stable tag: 3.5.5 7 7 Requires PHP: 5.6 8 8 WC requires at least: 3.0 … … 73 73 == Changelog == 74 74 75 = 3.5.5 76 * Current release 77 * Fix admin cart 78 75 79 = 3.5.4 76 * Current release77 80 * Fix issue when using multiple coupons 78 81 -
bread-finance/trunk/assets/js/v2/main.js
r3118819 r3129146 1 1 /** 2 * Bread v3.5. 42 * Bread v3.5.5 3 3 * 4 4 * @author Maritim, Kiprotich -
bread-finance/trunk/bread-finance.php
r3118819 r3129146 6 6 * Author: Bread Financial 7 7 * Author URI: https://payments.breadfinancial.com/ 8 * Version: 3.5. 48 * Version: 3.5.5 9 9 * Text Domain: bread_finance 10 10 * Domain Path: /i18n/languages/ … … 206 206 207 207 //Require minimums and constants 208 define('WC_' . $tenant . '_VERSION', '3.5. 4');208 define('WC_' . $tenant . '_VERSION', '3.5.5'); 209 209 define('WC_' . $tenant . '_MIN_PHP_VER', '5.6.0'); 210 210 define('WC_' . $tenant . '_MIN_WC_VER', '3.4.0'); -
bread-finance/trunk/classes/class-bread-finance-admin-carts-helper.php
r2984693 r3129146 114 114 //Get order currency 115 115 $order_currency = $order->get_currency(); 116 117 $subtotal = $order->get_subtotal() * 100; 116 118 117 119 /* Add line items */ … … 160 162 "subTotal" => array( 161 163 "currency" => "$order_currency", 162 "value" => $ total164 "value" => $subtotal 163 165 ), 164 166 "totalDiscounts" => array( -
bread-finance/trunk/classes/class-bread-finance-form-fields.php
r2984693 r3129146 380 380 ), 381 381 'sandbox_platform_merchantId' => array( 382 'title' => esc_html__('Sandbox Platform MerchantId', $text_domain),383 'type' => 'text', 384 'desc_tip' => esc_html__('Your Bread Sandbox Merchant Id. 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') 385 385 ), 386 386 'sandbox_platform_programId' => array( 387 'title' => esc_html__('Sandbox P latform ProgramId', $text_domain),387 'title' => esc_html__('Sandbox Program ID', $text_domain), 388 388 'type' => 'text', 389 389 'desc_tip' => esc_html__('Your Bread Sandbox ProgramId. Contact your Bread representative') 390 390 ), 391 391 'production_platform_merchantId' => array( 392 'title' => esc_html__('Production Platform MerchantId', $text_domain),393 'type' => 'text', 394 'desc_tip' => esc_html__('Your Bread Production Merchant Id. 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') 395 395 ), 396 396 'production_platform_programId' => array( 397 'title' => esc_html__('Production P latform ProgramId', $text_domain),398 'type' => 'text', 399 'desc_tip' => esc_html__('Your Bread Production Program Id. 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') 400 400 ), 401 401 ); … … 410 410 ), 411 411 ); 412 $settings = $this->mergeWithCondition($this->bread_config->get('sdk_versions'), $general, $environment, $platform_credentials, $classic_credentials, $button_appearance, $button_defaults, $ad vanced);412 $settings = $this->mergeWithCondition($this->bread_config->get('sdk_versions'), $general, $environment, $platform_credentials, $classic_credentials, $button_appearance, $button_defaults, $admin_carts, $advanced); 413 413 return apply_filters('bread_finance_wc_gateway_settings', $settings); 414 414 }
Note: See TracChangeset
for help on using the changeset viewer.