Version Description
- 2018-11-20 =
- Update - WP 5.0 compatibility.
See changelog for all versions.
=
Download this release
Release Info
| Developer | bor0 |
| Plugin | |
| Version | 4.1.13 |
| Comparing to | |
| See all releases | |
Code changes from version 4.1.12 to 4.1.13
- changelog.txt +3 -0
- includes/class-wc-gateway-stripe.php +2 -2
- readme.txt +4 -5
- woocommerce-gateway-stripe.php +3 -3
changelog.txt
CHANGED
|
@@ -1,5 +1,8 @@
|
|
| 1 |
*** Changelog ***
|
| 2 |
|
|
|
|
|
|
|
|
|
|
| 3 |
= 4.1.12 - 2018-10-19 =
|
| 4 |
* Fix - Typo on notice banner.
|
| 5 |
* Fix - On auth/capture scenario, error can occur when completing the order in backend.
|
| 1 |
*** Changelog ***
|
| 2 |
|
| 3 |
+
= 4.1.13 - 2018-11-20 =
|
| 4 |
+
* Update - WP 5.0 compatibility.
|
| 5 |
+
|
| 6 |
= 4.1.12 - 2018-10-19 =
|
| 7 |
* Fix - Typo on notice banner.
|
| 8 |
* Fix - On auth/capture scenario, error can occur when completing the order in backend.
|
includes/class-wc-gateway-stripe.php
CHANGED
|
@@ -502,7 +502,7 @@ class WC_Gateway_Stripe extends WC_Stripe_Payment_Gateway {
|
|
| 502 |
}
|
| 503 |
}
|
| 504 |
|
| 505 |
-
$stripe_params['no_prepaid_card_msg'] = __( 'Sorry, we\'re not accepting prepaid cards at this time. Your credit card has not been
|
| 506 |
$stripe_params['no_sepa_owner_msg'] = __( 'Please enter your IBAN account name.', 'woocommerce-gateway-stripe' );
|
| 507 |
$stripe_params['no_sepa_iban_msg'] = __( 'Please enter your IBAN account number.', 'woocommerce-gateway-stripe' );
|
| 508 |
$stripe_params['sepa_mandate_notification'] = apply_filters( 'wc_stripe_sepa_mandate_notification', 'email' );
|
|
@@ -717,7 +717,7 @@ class WC_Gateway_Stripe extends WC_Stripe_Payment_Gateway {
|
|
| 717 |
|
| 718 |
// Check if we don't allow prepaid credit cards.
|
| 719 |
if ( ! apply_filters( 'wc_stripe_allow_prepaid_card', true ) && $this->is_prepaid_card( $prepared_source->source_object ) ) {
|
| 720 |
-
$localized_message = __( 'Sorry, we\'re not accepting prepaid cards at this time. Your credit card has not been
|
| 721 |
throw new WC_Stripe_Exception( print_r( $prepared_source->source_object, true ), $localized_message );
|
| 722 |
}
|
| 723 |
|
| 502 |
}
|
| 503 |
}
|
| 504 |
|
| 505 |
+
$stripe_params['no_prepaid_card_msg'] = __( 'Sorry, we\'re not accepting prepaid cards at this time. Your credit card has not been charged. Please try with alternative payment method.', 'woocommerce-gateway-stripe' );
|
| 506 |
$stripe_params['no_sepa_owner_msg'] = __( 'Please enter your IBAN account name.', 'woocommerce-gateway-stripe' );
|
| 507 |
$stripe_params['no_sepa_iban_msg'] = __( 'Please enter your IBAN account number.', 'woocommerce-gateway-stripe' );
|
| 508 |
$stripe_params['sepa_mandate_notification'] = apply_filters( 'wc_stripe_sepa_mandate_notification', 'email' );
|
| 717 |
|
| 718 |
// Check if we don't allow prepaid credit cards.
|
| 719 |
if ( ! apply_filters( 'wc_stripe_allow_prepaid_card', true ) && $this->is_prepaid_card( $prepared_source->source_object ) ) {
|
| 720 |
+
$localized_message = __( 'Sorry, we\'re not accepting prepaid cards at this time. Your credit card has not been charged. Please try with alternative payment method.', 'woocommerce-gateway-stripe' );
|
| 721 |
throw new WC_Stripe_Exception( print_r( $prepared_source->source_object, true ), $localized_message );
|
| 722 |
}
|
| 723 |
|
readme.txt
CHANGED
|
@@ -2,9 +2,9 @@
|
|
| 2 |
Contributors: automattic, royho, akeda, mattyza, bor0, woothemes
|
| 3 |
Tags: credit card, stripe, apple pay, payment request, google pay, sepa, sofort, bancontact, alipay, giropay, ideal, p24, woocommerce, automattic
|
| 4 |
Requires at least: 4.4
|
| 5 |
-
Tested up to:
|
| 6 |
Requires PHP: 5.6
|
| 7 |
-
Stable tag: 4.1.
|
| 8 |
License: GPLv3
|
| 9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
| 10 |
Attributions: thorsten-stripe
|
|
@@ -101,9 +101,8 @@ If you get stuck, you can ask for help in the Plugin Forum.
|
|
| 101 |
|
| 102 |
== Changelog ==
|
| 103 |
|
| 104 |
-
= 4.1.
|
| 105 |
-
*
|
| 106 |
-
* Fix - On auth/capture scenario, error can occur when completing the order in backend.
|
| 107 |
|
| 108 |
[See changelog for all versions](https://raw.githubusercontent.com/woothemes/woocommerce-gateway-stripe/master/changelog.txt).
|
| 109 |
|
| 2 |
Contributors: automattic, royho, akeda, mattyza, bor0, woothemes
|
| 3 |
Tags: credit card, stripe, apple pay, payment request, google pay, sepa, sofort, bancontact, alipay, giropay, ideal, p24, woocommerce, automattic
|
| 4 |
Requires at least: 4.4
|
| 5 |
+
Tested up to: 5.0
|
| 6 |
Requires PHP: 5.6
|
| 7 |
+
Stable tag: 4.1.13
|
| 8 |
License: GPLv3
|
| 9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
| 10 |
Attributions: thorsten-stripe
|
| 101 |
|
| 102 |
== Changelog ==
|
| 103 |
|
| 104 |
+
= 4.1.13 - 2018-11-20 =
|
| 105 |
+
* Update - WP 5.0 compatibility.
|
|
|
|
| 106 |
|
| 107 |
[See changelog for all versions](https://raw.githubusercontent.com/woothemes/woocommerce-gateway-stripe/master/changelog.txt).
|
| 108 |
|
woocommerce-gateway-stripe.php
CHANGED
|
@@ -5,9 +5,9 @@
|
|
| 5 |
* Description: Take credit card payments on your store using Stripe.
|
| 6 |
* Author: WooCommerce
|
| 7 |
* Author URI: https://woocommerce.com/
|
| 8 |
-
* Version: 4.1.
|
| 9 |
* Requires at least: 4.4
|
| 10 |
-
* Tested up to:
|
| 11 |
* WC requires at least: 2.6
|
| 12 |
* WC tested up to: 3.5
|
| 13 |
* Text Domain: woocommerce-gateway-stripe
|
|
@@ -46,7 +46,7 @@ function woocommerce_gateway_stripe_init() {
|
|
| 46 |
/**
|
| 47 |
* Required minimums and constants
|
| 48 |
*/
|
| 49 |
-
define( 'WC_STRIPE_VERSION', '4.1.
|
| 50 |
define( 'WC_STRIPE_MIN_PHP_VER', '5.6.0' );
|
| 51 |
define( 'WC_STRIPE_MIN_WC_VER', '2.6.0' );
|
| 52 |
define( 'WC_STRIPE_MAIN_FILE', __FILE__ );
|
| 5 |
* Description: Take credit card payments on your store using Stripe.
|
| 6 |
* Author: WooCommerce
|
| 7 |
* Author URI: https://woocommerce.com/
|
| 8 |
+
* Version: 4.1.13
|
| 9 |
* Requires at least: 4.4
|
| 10 |
+
* Tested up to: 5.0
|
| 11 |
* WC requires at least: 2.6
|
| 12 |
* WC tested up to: 3.5
|
| 13 |
* Text Domain: woocommerce-gateway-stripe
|
| 46 |
/**
|
| 47 |
* Required minimums and constants
|
| 48 |
*/
|
| 49 |
+
define( 'WC_STRIPE_VERSION', '4.1.13' );
|
| 50 |
define( 'WC_STRIPE_MIN_PHP_VER', '5.6.0' );
|
| 51 |
define( 'WC_STRIPE_MIN_WC_VER', '2.6.0' );
|
| 52 |
define( 'WC_STRIPE_MAIN_FILE', __FILE__ );
|
