Version Description
Download this release
Release Info
Developer | SkyVerge |
Plugin | WooCommerce PayPal Powered by Braintree Payment Gateway |
Version | 2.2.4 |
Comparing to | |
See all releases |
Code changes from version 2.2.3 to 2.2.4
class-wc-braintree.php
CHANGED
@@ -88,7 +88,7 @@ class WC_Braintree extends WC_Braintree_Framework\SV_WC_Payment_Gateway_Plugin {
|
|
88 |
|
89 |
|
90 |
/** plugin version number */
|
91 |
-
const VERSION = '2.2.
|
92 |
|
93 |
/** Braintree JS SDK version */
|
94 |
const BRAINTREE_JS_SDK_VERSION = '3.38.0';
|
88 |
|
89 |
|
90 |
/** plugin version number */
|
91 |
+
const VERSION = '2.2.4';
|
92 |
|
93 |
/** Braintree JS SDK version */
|
94 |
const BRAINTREE_JS_SDK_VERSION = '3.38.0';
|
i18n/languages/woocommerce-gateway-paypal-powered-by-braintree.pot
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
# This file is distributed under the same license as the WooCommerce PayPal Powered by Braintree Gateway package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: WooCommerce PayPal Powered by Braintree Gateway 2.2.
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://woocommerce.com/my-account/marketplace-ticket-form/\n"
|
8 |
-
"POT-Creation-Date: 2019-
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
2 |
# This file is distributed under the same license as the WooCommerce PayPal Powered by Braintree Gateway package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: WooCommerce PayPal Powered by Braintree Gateway 2.2.4\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://woocommerce.com/my-account/marketplace-ticket-form/\n"
|
8 |
+
"POT-Creation-Date: 2019-04-02 00:20:38+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
lib/skyverge/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php
CHANGED
@@ -299,7 +299,7 @@ class SV_WC_Payment_Gateway_Integration_Pre_Orders extends SV_WC_Payment_Gateway
|
|
299 |
}
|
300 |
|
301 |
// perform the transaction
|
302 |
-
if ( $this->get_gateway()->is_credit_card_gateway() ) {
|
303 |
|
304 |
if ( $this->get_gateway()->perform_credit_card_charge( $order ) ) {
|
305 |
$response = $this->get_gateway()->get_api()->credit_card_charge( $order );
|
@@ -333,6 +333,13 @@ class SV_WC_Payment_Gateway_Integration_Pre_Orders extends SV_WC_Payment_Gateway
|
|
333 |
// account type (checking/savings) may or may not be available, which is fine
|
334 |
$message = sprintf( __( '%s eCheck Pre-Order Release Payment Approved: %s ending in %s', 'woocommerce-gateway-paypal-powered-by-braintree' ), $this->get_gateway()->get_method_title(), SV_WC_Payment_Gateway_Helper::payment_type_to_name( ( ! empty( $order->payment->account_type ) ? $order->payment->account_type : 'bank' ) ), $last_four );
|
335 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
336 |
}
|
337 |
|
338 |
// adds the transaction id (if any) to the order note
|
299 |
}
|
300 |
|
301 |
// perform the transaction
|
302 |
+
if ( $this->get_gateway()->is_credit_card_gateway() || $this->get_gateway()->is_paypal_gateway() ) {
|
303 |
|
304 |
if ( $this->get_gateway()->perform_credit_card_charge( $order ) ) {
|
305 |
$response = $this->get_gateway()->get_api()->credit_card_charge( $order );
|
333 |
// account type (checking/savings) may or may not be available, which is fine
|
334 |
$message = sprintf( __( '%s eCheck Pre-Order Release Payment Approved: %s ending in %s', 'woocommerce-gateway-paypal-powered-by-braintree' ), $this->get_gateway()->get_method_title(), SV_WC_Payment_Gateway_Helper::payment_type_to_name( ( ! empty( $order->payment->account_type ) ? $order->payment->account_type : 'bank' ) ), $last_four );
|
335 |
|
336 |
+
} else {
|
337 |
+
|
338 |
+
$message = sprintf(
|
339 |
+
/* translators: Placeholders: %s - payment method title, like PayPal */
|
340 |
+
__( '%s Pre-Order Release Payment Approved', 'woocommerce-gateway-paypal-powered-by-braintree' ),
|
341 |
+
$this->get_gateway()->get_method_title()
|
342 |
+
);
|
343 |
}
|
344 |
|
345 |
// adds the transaction id (if any) to the order note
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: ecommerce, e-commerce, commerce, woothemes, wordpress ecommerce, store, sa
|
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.1.1
|
6 |
Requires PHP: 5.4
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -124,6 +124,9 @@ New feature requests and bugs reports can be made in the plugin forum.
|
|
124 |
|
125 |
== Changelog ==
|
126 |
|
|
|
|
|
|
|
127 |
= 2019.03.20 - version 2.2.3 =
|
128 |
* Fix - Ensure Kount merchant ID is set in device data for stores using advanced fraud tools via Kount
|
129 |
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 5.1.1
|
6 |
Requires PHP: 5.4
|
7 |
+
Stable tag: 2.2.4
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
124 |
|
125 |
== Changelog ==
|
126 |
|
127 |
+
= 2019.04.01 - version 2.2.4 =
|
128 |
+
* Fix - Prevent an error when completing pre-orders that were placed using the PayPal gateway
|
129 |
+
|
130 |
= 2019.03.20 - version 2.2.3 =
|
131 |
* Fix - Ensure Kount merchant ID is set in device data for stores using advanced fraud tools via Kount
|
132 |
|
woocommerce-gateway-paypal-powered-by-braintree.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Receive credit card or PayPal payments using Paypal Powered by Braintree. A server with cURL, SSL support, and a valid SSL certificate is required (for security reasons) for this gateway to function. Requires PHP 5.4+
|
6 |
* Author: WooCommerce
|
7 |
* Author URI: http://woocommerce.com/
|
8 |
-
* Version: 2.2.
|
9 |
* Text Domain: woocommerce-gateway-paypal-powered-by-braintree
|
10 |
* Domain Path: /i18n/languages/
|
11 |
*
|
5 |
* Description: Receive credit card or PayPal payments using Paypal Powered by Braintree. A server with cURL, SSL support, and a valid SSL certificate is required (for security reasons) for this gateway to function. Requires PHP 5.4+
|
6 |
* Author: WooCommerce
|
7 |
* Author URI: http://woocommerce.com/
|
8 |
+
* Version: 2.2.4
|
9 |
* Text Domain: woocommerce-gateway-paypal-powered-by-braintree
|
10 |
* Domain Path: /i18n/languages/
|
11 |
*
|