Version Description
- 2019-04-18 =
- Deprecate - Warn about the future removal of the Modal Checkout option.
- Tweak - WC 3.6 compatibility.
See changelog for all versions.
=
Download this release
Release Info
| Developer | royho |
| Plugin | |
| Version | 4.1.16 |
| Comparing to | |
| See all releases | |
Code changes from version 4.1.15 to 4.1.16
- changelog.txt +4 -0
- includes/abstracts/abstract-wc-stripe-payment-gateway.php +0 -14
- includes/admin/class-wc-stripe-admin-notices.php +7 -0
- includes/class-wc-gateway-stripe.php +1 -0
- includes/class-wc-stripe-helper.php +5 -1
- languages/woocommerce-gateway-stripe.pot +73 -66
- readme.txt +5 -6
- woocommerce-gateway-stripe.php +4 -4
changelog.txt
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
*** Changelog ***
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
= 4.1.15 - 2019-03-12 =
|
| 4 |
* Fix - Prevent canceled webhook from processing non Stripe payments.
|
| 5 |
* Fix - "Retain Stripe Data" setting placement on WooCommerce settings page.
|
| 1 |
*** Changelog ***
|
| 2 |
|
| 3 |
+
= 4.1.16 - 2019-04-18 =
|
| 4 |
+
* Deprecate - Warn about the future removal of the Modal Checkout option.
|
| 5 |
+
* Tweak - WC 3.6 compatibility.
|
| 6 |
+
|
| 7 |
= 4.1.15 - 2019-03-12 =
|
| 8 |
* Fix - Prevent canceled webhook from processing non Stripe payments.
|
| 9 |
* Fix - "Retain Stripe Data" setting placement on WooCommerce settings page.
|
includes/abstracts/abstract-wc-stripe-payment-gateway.php
CHANGED
|
@@ -199,20 +199,6 @@ abstract class WC_Stripe_Payment_Gateway extends WC_Payment_Gateway_CC {
|
|
| 199 |
);
|
| 200 |
}
|
| 201 |
|
| 202 |
-
/**
|
| 203 |
-
* Allow this class and other classes to add slug keyed notices (to avoid duplication).
|
| 204 |
-
*
|
| 205 |
-
* @since 1.0.0
|
| 206 |
-
* @version 4.0.0
|
| 207 |
-
*/
|
| 208 |
-
public function add_admin_notice( $slug, $class, $message, $dismissible = false ) {
|
| 209 |
-
$this->notices[ $slug ] = array(
|
| 210 |
-
'class' => $class,
|
| 211 |
-
'message' => $message,
|
| 212 |
-
'dismissible' => $dismissible,
|
| 213 |
-
);
|
| 214 |
-
}
|
| 215 |
-
|
| 216 |
/**
|
| 217 |
* All payment icons that work with Stripe. Some icons references
|
| 218 |
* WC core icons.
|
| 199 |
);
|
| 200 |
}
|
| 201 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 202 |
/**
|
| 203 |
* All payment icons that work with Stripe. Some icons references
|
| 204 |
* WC core icons.
|
includes/admin/class-wc-stripe-admin-notices.php
CHANGED
|
@@ -111,8 +111,15 @@ class WC_Stripe_Admin_Notices {
|
|
| 111 |
$test_secret_key = isset( $options['test_secret_key'] ) ? $options['test_secret_key'] : '';
|
| 112 |
$live_pub_key = isset( $options['publishable_key'] ) ? $options['publishable_key'] : '';
|
| 113 |
$live_secret_key = isset( $options['secret_key'] ) ? $options['secret_key'] : '';
|
|
|
|
| 114 |
|
| 115 |
if ( isset( $options['enabled'] ) && 'yes' === $options['enabled'] ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
if ( empty( $show_style_notice ) ) {
|
| 117 |
/* translators: 1) int version 2) int version */
|
| 118 |
$message = __( 'WooCommerce Stripe - We recently made changes to Stripe that may impact the appearance of your checkout. If your checkout has changed unexpectedly, please follow these <a href="https://docs.woocommerce.com/document/stripe/#section-45" target="_blank">instructions</a> to fix.', 'woocommerce-gateway-stripe' );
|
| 111 |
$test_secret_key = isset( $options['test_secret_key'] ) ? $options['test_secret_key'] : '';
|
| 112 |
$live_pub_key = isset( $options['publishable_key'] ) ? $options['publishable_key'] : '';
|
| 113 |
$live_secret_key = isset( $options['secret_key'] ) ? $options['secret_key'] : '';
|
| 114 |
+
$checkout_enabled = isset( $options['stripe_checkout'] ) && 'yes' === $options['stripe_checkout'];
|
| 115 |
|
| 116 |
if ( isset( $options['enabled'] ) && 'yes' === $options['enabled'] ) {
|
| 117 |
+
if ( $checkout_enabled ) {
|
| 118 |
+
$url = 'https://docs.woocommerce.com/document/stripe/modal-checkout';
|
| 119 |
+
$message = sprintf( __( 'WooCommerce Stripe - Support for Stripe Modal Checkout will be ending soon. This will impact the appearance of your checkout. <a href="%1$s" target="_blank">Click here to learn more.</a>', 'woocommerce-gateway-stripe' ), $url );
|
| 120 |
+
$this->add_admin_notice( 'legacy_checkout', 'notice notice-warning', $message );
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
if ( empty( $show_style_notice ) ) {
|
| 124 |
/* translators: 1) int version 2) int version */
|
| 125 |
$message = __( 'WooCommerce Stripe - We recently made changes to Stripe that may impact the appearance of your checkout. If your checkout has changed unexpectedly, please follow these <a href="https://docs.woocommerce.com/document/stripe/#section-45" target="_blank">instructions</a> to fix.', 'woocommerce-gateway-stripe' );
|
includes/class-wc-gateway-stripe.php
CHANGED
|
@@ -447,6 +447,7 @@ class WC_Gateway_Stripe extends WC_Stripe_Payment_Gateway {
|
|
| 447 |
// If no SSL bail.
|
| 448 |
if ( ! $this->testmode && ! is_ssl() ) {
|
| 449 |
WC_Stripe_Logger::log( 'Stripe live mode requires SSL.' );
|
|
|
|
| 450 |
}
|
| 451 |
|
| 452 |
$current_theme = wp_get_theme();
|
| 447 |
// If no SSL bail.
|
| 448 |
if ( ! $this->testmode && ! is_ssl() ) {
|
| 449 |
WC_Stripe_Logger::log( 'Stripe live mode requires SSL.' );
|
| 450 |
+
return;
|
| 451 |
}
|
| 452 |
|
| 453 |
$current_theme = wp_get_theme();
|
includes/class-wc-stripe-helper.php
CHANGED
|
@@ -412,12 +412,16 @@ class WC_Stripe_Helper {
|
|
| 412 |
* Gets the order by Stripe charge ID.
|
| 413 |
*
|
| 414 |
* @since 4.0.0
|
| 415 |
-
* @
|
| 416 |
* @param string $charge_id
|
| 417 |
*/
|
| 418 |
public static function get_order_by_charge_id( $charge_id ) {
|
| 419 |
global $wpdb;
|
| 420 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 421 |
$order_id = $wpdb->get_var( $wpdb->prepare( "SELECT DISTINCT ID FROM $wpdb->posts as posts LEFT JOIN $wpdb->postmeta as meta ON posts.ID = meta.post_id WHERE meta.meta_value = %s AND meta.meta_key = %s", $charge_id, '_transaction_id' ) );
|
| 422 |
|
| 423 |
if ( ! empty( $order_id ) ) {
|
| 412 |
* Gets the order by Stripe charge ID.
|
| 413 |
*
|
| 414 |
* @since 4.0.0
|
| 415 |
+
* @since 4.1.16 Return false if charge_id is empty.
|
| 416 |
* @param string $charge_id
|
| 417 |
*/
|
| 418 |
public static function get_order_by_charge_id( $charge_id ) {
|
| 419 |
global $wpdb;
|
| 420 |
|
| 421 |
+
if ( empty( $charge_id ) ) {
|
| 422 |
+
return false;
|
| 423 |
+
}
|
| 424 |
+
|
| 425 |
$order_id = $wpdb->get_var( $wpdb->prepare( "SELECT DISTINCT ID FROM $wpdb->posts as posts LEFT JOIN $wpdb->postmeta as meta ON posts.ID = meta.post_id WHERE meta.meta_value = %s AND meta.meta_key = %s", $charge_id, '_transaction_id' ) );
|
| 426 |
|
| 427 |
if ( ! empty( $order_id ) ) {
|
languages/woocommerce-gateway-stripe.pot
CHANGED
|
@@ -2,10 +2,10 @@
|
|
| 2 |
# This file is distributed under the same license as the WooCommerce Stripe Gateway package.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: WooCommerce Stripe Gateway 4.1.
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"https://wordpress.org/support/plugin/woocommerce-gateway-stripe\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"
|
|
@@ -28,7 +28,7 @@ msgstr ""
|
|
| 28 |
msgid "Save payment information to my account for future purchases."
|
| 29 |
msgstr ""
|
| 30 |
|
| 31 |
-
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:
|
| 32 |
#: includes/compat/class-wc-stripe-sepa-subs-compat.php:225
|
| 33 |
#: includes/compat/class-wc-stripe-subs-compat.php:206
|
| 34 |
#. translators: 1) dollar amount
|
|
@@ -36,25 +36,25 @@ msgstr ""
|
|
| 36 |
msgid "Sorry, the minimum allowed order total is %1$s to use this payment method."
|
| 37 |
msgstr ""
|
| 38 |
|
| 39 |
-
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:
|
| 40 |
#. translators: 1) blog name 2) order number
|
| 41 |
msgid "%1$s - Order %2$s"
|
| 42 |
msgstr ""
|
| 43 |
|
| 44 |
-
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:
|
| 45 |
msgid "customer_name"
|
| 46 |
msgstr ""
|
| 47 |
|
| 48 |
-
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:
|
| 49 |
msgid "customer_email"
|
| 50 |
msgstr ""
|
| 51 |
|
| 52 |
-
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:
|
| 53 |
#. translators: transaction id
|
| 54 |
msgid "Stripe charge awaiting payment: %s."
|
| 55 |
msgstr ""
|
| 56 |
|
| 57 |
-
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:
|
| 58 |
#: includes/class-wc-stripe-order-handler.php:267
|
| 59 |
#: includes/class-wc-stripe-webhook-handler.php:314
|
| 60 |
#: includes/class-wc-stripe-webhook-handler.php:361
|
|
@@ -62,38 +62,45 @@ msgstr ""
|
|
| 62 |
msgid "Stripe charge complete (Charge ID: %s)"
|
| 63 |
msgstr ""
|
| 64 |
|
| 65 |
-
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:
|
| 66 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 67 |
#: includes/compat/class-wc-stripe-sepa-subs-compat.php:182
|
| 68 |
#: includes/compat/class-wc-stripe-subs-compat.php:145
|
| 69 |
msgid "Payment processing failed. Please retry."
|
| 70 |
msgstr ""
|
| 71 |
|
| 72 |
-
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:
|
| 73 |
#. translators: transaction id
|
| 74 |
msgid ""
|
| 75 |
"Stripe charge authorized (Charge ID: %s). Process order to take payment, or "
|
| 76 |
"cancel to remove the pre-authorization."
|
| 77 |
msgstr ""
|
| 78 |
|
| 79 |
-
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:
|
| 80 |
msgid "Invalid payment method. Please input a new card number."
|
| 81 |
msgstr ""
|
| 82 |
|
| 83 |
-
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:
|
| 84 |
#. translators: 1) dollar amount 2) transaction id 3) refund message
|
| 85 |
msgid "Refunded %1$s - Refund ID: %2$s - Reason: %3$s"
|
| 86 |
msgstr ""
|
| 87 |
|
| 88 |
-
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:
|
| 89 |
msgid "Pre-Authorization Released"
|
| 90 |
msgstr ""
|
| 91 |
|
| 92 |
-
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:
|
| 93 |
msgid "There was a problem adding the payment method."
|
| 94 |
msgstr ""
|
| 95 |
|
| 96 |
-
#: includes/admin/class-wc-stripe-admin-notices.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 97 |
#. translators: 1) int version 2) int version
|
| 98 |
msgid ""
|
| 99 |
"WooCommerce Stripe - We recently made changes to Stripe that may impact the "
|
|
@@ -103,32 +110,32 @@ msgid ""
|
|
| 103 |
"target=\"_blank\">instructions</a> to fix."
|
| 104 |
msgstr ""
|
| 105 |
|
| 106 |
-
#: includes/admin/class-wc-stripe-admin-notices.php:
|
| 107 |
#. translators: 1) int version 2) int version
|
| 108 |
msgid ""
|
| 109 |
"WooCommerce Stripe - The minimum PHP version required for this plugin is "
|
| 110 |
"%1$s. You are running %2$s."
|
| 111 |
msgstr ""
|
| 112 |
|
| 113 |
-
#: includes/admin/class-wc-stripe-admin-notices.php:
|
| 114 |
#. translators: 1) int version 2) int version
|
| 115 |
msgid ""
|
| 116 |
"WooCommerce Stripe - The minimum WooCommerce version required for this "
|
| 117 |
"plugin is %1$s. You are running %2$s."
|
| 118 |
msgstr ""
|
| 119 |
|
| 120 |
-
#: includes/admin/class-wc-stripe-admin-notices.php:
|
| 121 |
msgid "WooCommerce Stripe - cURL is not installed."
|
| 122 |
msgstr ""
|
| 123 |
|
| 124 |
-
#: includes/admin/class-wc-stripe-admin-notices.php:
|
| 125 |
#. translators: 1) link
|
| 126 |
msgid ""
|
| 127 |
"Stripe is almost ready. To get started, <a href=\"%s\">set your Stripe "
|
| 128 |
"account keys</a>."
|
| 129 |
msgstr ""
|
| 130 |
|
| 131 |
-
#: includes/admin/class-wc-stripe-admin-notices.php:
|
| 132 |
#. translators: 1) link
|
| 133 |
msgid ""
|
| 134 |
"Stripe is in test mode however your test keys may not be valid. Test keys "
|
|
@@ -136,7 +143,7 @@ msgid ""
|
|
| 136 |
"<a href=\"%s\">set your Stripe account keys</a>."
|
| 137 |
msgstr ""
|
| 138 |
|
| 139 |
-
#: includes/admin/class-wc-stripe-admin-notices.php:
|
| 140 |
#. translators: 1) link
|
| 141 |
msgid ""
|
| 142 |
"Stripe is in live mode however your test keys may not be valid. Live keys "
|
|
@@ -144,7 +151,7 @@ msgid ""
|
|
| 144 |
"<a href=\"%s\">set your Stripe account keys</a>."
|
| 145 |
msgstr ""
|
| 146 |
|
| 147 |
-
#: includes/admin/class-wc-stripe-admin-notices.php:
|
| 148 |
#. translators: 1) link
|
| 149 |
msgid ""
|
| 150 |
"Stripe is enabled, but a SSL certificate is not detected. Your checkout may "
|
|
@@ -152,16 +159,16 @@ msgid ""
|
|
| 152 |
"target=\"_blank\">SSL certificate</a>"
|
| 153 |
msgstr ""
|
| 154 |
|
| 155 |
-
#: includes/admin/class-wc-stripe-admin-notices.php:
|
| 156 |
#. translators: %1$s Payment method, %2$s List of supported currencies
|
| 157 |
msgid "%1$s is enabled - it requires store currency to be set to %2$s"
|
| 158 |
msgstr ""
|
| 159 |
|
| 160 |
-
#: includes/admin/class-wc-stripe-admin-notices.php:
|
| 161 |
msgid "Action failed. Please refresh the page and retry."
|
| 162 |
msgstr ""
|
| 163 |
|
| 164 |
-
#: includes/admin/class-wc-stripe-admin-notices.php:
|
| 165 |
msgid "Cheatin’ huh?"
|
| 166 |
msgstr ""
|
| 167 |
|
|
@@ -202,7 +209,7 @@ msgstr ""
|
|
| 202 |
msgid "N/A"
|
| 203 |
msgstr ""
|
| 204 |
|
| 205 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 206 |
#. translators: %s URL to docs
|
| 207 |
msgid ""
|
| 208 |
"By using this extension, you may be storing personal data or sharing data "
|
|
@@ -211,54 +218,54 @@ msgid ""
|
|
| 211 |
"policy.</a>"
|
| 212 |
msgstr ""
|
| 213 |
|
| 214 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 215 |
msgid "Orders"
|
| 216 |
msgstr ""
|
| 217 |
|
| 218 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 219 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 220 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 221 |
msgid "Stripe payment id"
|
| 222 |
msgstr ""
|
| 223 |
|
| 224 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 225 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 226 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 227 |
msgid "Stripe customer id"
|
| 228 |
msgstr ""
|
| 229 |
|
| 230 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 231 |
msgid "Subscriptions"
|
| 232 |
msgstr ""
|
| 233 |
|
| 234 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 235 |
msgid "Customer Data"
|
| 236 |
msgstr ""
|
| 237 |
|
| 238 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 239 |
msgid "Stripe User Data Erased."
|
| 240 |
msgstr ""
|
| 241 |
|
| 242 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 243 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 244 |
#. translators: %d Order ID
|
| 245 |
msgid ""
|
| 246 |
"Order ID %d is less than set retention days. Personal data retained. "
|
| 247 |
"(Stripe)"
|
| 248 |
msgstr ""
|
| 249 |
|
| 250 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 251 |
#. translators: %d Order ID
|
| 252 |
msgid ""
|
| 253 |
"Order ID %d contains an active Subscription. Personal data retained. "
|
| 254 |
"(Stripe)"
|
| 255 |
msgstr ""
|
| 256 |
|
| 257 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 258 |
msgid "Stripe Subscription Data Erased."
|
| 259 |
msgstr ""
|
| 260 |
|
| 261 |
-
#: includes/admin/class-wc-stripe-privacy.php:
|
| 262 |
msgid "Stripe personal data erased."
|
| 263 |
msgstr ""
|
| 264 |
|
|
@@ -582,9 +589,9 @@ msgstr ""
|
|
| 582 |
|
| 583 |
#: includes/admin/stripe-settings.php:82
|
| 584 |
msgid ""
|
| 585 |
-
"
|
| 586 |
-
"
|
| 587 |
-
"customer's statement in capital letters."
|
| 588 |
msgstr ""
|
| 589 |
|
| 590 |
#: includes/admin/stripe-settings.php:87
|
|
@@ -833,45 +840,45 @@ msgstr ""
|
|
| 833 |
msgid "Card Code (CVC)"
|
| 834 |
msgstr ""
|
| 835 |
|
| 836 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 837 |
msgid "Please accept the terms and conditions first"
|
| 838 |
msgstr ""
|
| 839 |
|
| 840 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 841 |
msgid "Please fill in required checkout fields first"
|
| 842 |
msgstr ""
|
| 843 |
|
| 844 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 845 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 846 |
msgid ""
|
| 847 |
"Sorry, we're not accepting prepaid cards at this time. Your credit card has "
|
| 848 |
"not been charged. Please try with alternative payment method."
|
| 849 |
msgstr ""
|
| 850 |
|
| 851 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 852 |
msgid "Please enter your IBAN account name."
|
| 853 |
msgstr ""
|
| 854 |
|
| 855 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 856 |
msgid "Please enter your IBAN account number."
|
| 857 |
msgstr ""
|
| 858 |
|
| 859 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 860 |
msgid "Billing First Name and Last Name are required."
|
| 861 |
msgstr ""
|
| 862 |
|
| 863 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 864 |
msgid "Place Order"
|
| 865 |
msgstr ""
|
| 866 |
|
| 867 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 868 |
#: includes/class-wc-stripe-order-handler.php:144
|
| 869 |
#: includes/class-wc-stripe-webhook-handler.php:187
|
| 870 |
#: includes/payment-methods/class-wc-gateway-stripe-sepa.php:353
|
| 871 |
msgid "This card is no longer available and has been removed."
|
| 872 |
msgstr ""
|
| 873 |
|
| 874 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 875 |
#: includes/class-wc-stripe-order-handler.php:162
|
| 876 |
#: includes/class-wc-stripe-webhook-handler.php:206
|
| 877 |
#: includes/compat/class-wc-stripe-sepa-subs-compat.php:272
|
|
@@ -882,22 +889,22 @@ msgid ""
|
|
| 882 |
"later."
|
| 883 |
msgstr ""
|
| 884 |
|
| 885 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 886 |
#. translators: error message
|
| 887 |
msgid "This represents the fee Stripe collects for the transaction."
|
| 888 |
msgstr ""
|
| 889 |
|
| 890 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 891 |
msgid "Stripe Fee:"
|
| 892 |
msgstr ""
|
| 893 |
|
| 894 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 895 |
msgid ""
|
| 896 |
"This represents the net total that will be credited to your Stripe bank "
|
| 897 |
"account. This may be in the currency that is set in your Stripe account."
|
| 898 |
msgstr ""
|
| 899 |
|
| 900 |
-
#: includes/class-wc-gateway-stripe.php:
|
| 901 |
msgid "Stripe Payout:"
|
| 902 |
msgstr ""
|
| 903 |
|
|
@@ -1048,25 +1055,25 @@ msgstr ""
|
|
| 1048 |
msgid "This payment failed to clear."
|
| 1049 |
msgstr ""
|
| 1050 |
|
| 1051 |
-
#: includes/class-wc-stripe-webhook-handler.php:
|
| 1052 |
msgid "This payment has cancelled."
|
| 1053 |
msgstr ""
|
| 1054 |
|
| 1055 |
-
#: includes/class-wc-stripe-webhook-handler.php:
|
| 1056 |
msgid "Refunded via Stripe Dashboard"
|
| 1057 |
msgstr ""
|
| 1058 |
|
| 1059 |
-
#: includes/class-wc-stripe-webhook-handler.php:
|
| 1060 |
-
#: includes/class-wc-stripe-webhook-handler.php:
|
| 1061 |
msgid "Pre-Authorization Released via Stripe Dashboard"
|
| 1062 |
msgstr ""
|
| 1063 |
|
| 1064 |
-
#: includes/class-wc-stripe-webhook-handler.php:
|
| 1065 |
#. translators: 1) dollar amount 2) transaction id 3) refund message
|
| 1066 |
msgid "Refunded %1$s - Refund ID: %2$s - %3$s"
|
| 1067 |
msgstr ""
|
| 1068 |
|
| 1069 |
-
#: includes/class-wc-stripe-webhook-handler.php:
|
| 1070 |
#. translators: 1) The URL to the order. 2) The reason type.
|
| 1071 |
msgid ""
|
| 1072 |
"A review has been opened for this order. Action is needed. Please go to "
|
|
@@ -1074,7 +1081,7 @@ msgid ""
|
|
| 1074 |
"Dashboard</a> to review the issue. Reason: (%2$s)"
|
| 1075 |
msgstr ""
|
| 1076 |
|
| 1077 |
-
#: includes/class-wc-stripe-webhook-handler.php:
|
| 1078 |
#. translators: 1) The reason type.
|
| 1079 |
msgid "The opened review for this order is now closed. Reason: (%s)"
|
| 1080 |
msgstr ""
|
| 2 |
# This file is distributed under the same license as the WooCommerce Stripe Gateway package.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: WooCommerce Stripe Gateway 4.1.16\n"
|
| 6 |
"Report-Msgid-Bugs-To: "
|
| 7 |
"https://wordpress.org/support/plugin/woocommerce-gateway-stripe\n"
|
| 8 |
+
"POT-Creation-Date: 2019-04-18 15:59:41+00:00\n"
|
| 9 |
"MIME-Version: 1.0\n"
|
| 10 |
"Content-Type: text/plain; charset=utf-8\n"
|
| 11 |
"Content-Transfer-Encoding: 8bit\n"
|
| 28 |
msgid "Save payment information to my account for future purchases."
|
| 29 |
msgstr ""
|
| 30 |
|
| 31 |
+
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:245
|
| 32 |
#: includes/compat/class-wc-stripe-sepa-subs-compat.php:225
|
| 33 |
#: includes/compat/class-wc-stripe-subs-compat.php:206
|
| 34 |
#. translators: 1) dollar amount
|
| 36 |
msgid "Sorry, the minimum allowed order total is %1$s to use this payment method."
|
| 37 |
msgstr ""
|
| 38 |
|
| 39 |
+
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:341
|
| 40 |
#. translators: 1) blog name 2) order number
|
| 41 |
msgid "%1$s - Order %2$s"
|
| 42 |
msgstr ""
|
| 43 |
|
| 44 |
+
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:368
|
| 45 |
msgid "customer_name"
|
| 46 |
msgstr ""
|
| 47 |
|
| 48 |
+
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:369
|
| 49 |
msgid "customer_email"
|
| 50 |
msgstr ""
|
| 51 |
|
| 52 |
+
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:443
|
| 53 |
#. translators: transaction id
|
| 54 |
msgid "Stripe charge awaiting payment: %s."
|
| 55 |
msgstr ""
|
| 56 |
|
| 57 |
+
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:450
|
| 58 |
#: includes/class-wc-stripe-order-handler.php:267
|
| 59 |
#: includes/class-wc-stripe-webhook-handler.php:314
|
| 60 |
#: includes/class-wc-stripe-webhook-handler.php:361
|
| 62 |
msgid "Stripe charge complete (Charge ID: %s)"
|
| 63 |
msgstr ""
|
| 64 |
|
| 65 |
+
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:455
|
| 66 |
+
#: includes/class-wc-gateway-stripe.php:707
|
| 67 |
#: includes/compat/class-wc-stripe-sepa-subs-compat.php:182
|
| 68 |
#: includes/compat/class-wc-stripe-subs-compat.php:145
|
| 69 |
msgid "Payment processing failed. Please retry."
|
| 70 |
msgstr ""
|
| 71 |
|
| 72 |
+
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:467
|
| 73 |
#. translators: transaction id
|
| 74 |
msgid ""
|
| 75 |
"Stripe charge authorized (Charge ID: %s). Process order to take payment, or "
|
| 76 |
"cancel to remove the pre-authorization."
|
| 77 |
msgstr ""
|
| 78 |
|
| 79 |
+
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:698
|
| 80 |
msgid "Invalid payment method. Please input a new card number."
|
| 81 |
msgstr ""
|
| 82 |
|
| 83 |
+
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:949
|
| 84 |
#. translators: 1) dollar amount 2) transaction id 3) refund message
|
| 85 |
msgid "Refunded %1$s - Refund ID: %2$s - Reason: %3$s"
|
| 86 |
msgstr ""
|
| 87 |
|
| 88 |
+
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:949
|
| 89 |
msgid "Pre-Authorization Released"
|
| 90 |
msgstr ""
|
| 91 |
|
| 92 |
+
#: includes/abstracts/abstract-wc-stripe-payment-gateway.php:967
|
| 93 |
msgid "There was a problem adding the payment method."
|
| 94 |
msgstr ""
|
| 95 |
|
| 96 |
+
#: includes/admin/class-wc-stripe-admin-notices.php:119
|
| 97 |
+
msgid ""
|
| 98 |
+
"WooCommerce Stripe - Support for Stripe Modal Checkout will be ending soon. "
|
| 99 |
+
"This will impact the appearance of your checkout. <a href=\"%1$s\" "
|
| 100 |
+
"target=\"_blank\">Click here to learn more.</a>"
|
| 101 |
+
msgstr ""
|
| 102 |
+
|
| 103 |
+
#: includes/admin/class-wc-stripe-admin-notices.php:125
|
| 104 |
#. translators: 1) int version 2) int version
|
| 105 |
msgid ""
|
| 106 |
"WooCommerce Stripe - We recently made changes to Stripe that may impact the "
|
| 110 |
"target=\"_blank\">instructions</a> to fix."
|
| 111 |
msgstr ""
|
| 112 |
|
| 113 |
+
#: includes/admin/class-wc-stripe-admin-notices.php:135
|
| 114 |
#. translators: 1) int version 2) int version
|
| 115 |
msgid ""
|
| 116 |
"WooCommerce Stripe - The minimum PHP version required for this plugin is "
|
| 117 |
"%1$s. You are running %2$s."
|
| 118 |
msgstr ""
|
| 119 |
|
| 120 |
+
#: includes/admin/class-wc-stripe-admin-notices.php:146
|
| 121 |
#. translators: 1) int version 2) int version
|
| 122 |
msgid ""
|
| 123 |
"WooCommerce Stripe - The minimum WooCommerce version required for this "
|
| 124 |
"plugin is %1$s. You are running %2$s."
|
| 125 |
msgstr ""
|
| 126 |
|
| 127 |
+
#: includes/admin/class-wc-stripe-admin-notices.php:156
|
| 128 |
msgid "WooCommerce Stripe - cURL is not installed."
|
| 129 |
msgstr ""
|
| 130 |
|
| 131 |
+
#: includes/admin/class-wc-stripe-admin-notices.php:166
|
| 132 |
#. translators: 1) link
|
| 133 |
msgid ""
|
| 134 |
"Stripe is almost ready. To get started, <a href=\"%s\">set your Stripe "
|
| 135 |
"account keys</a>."
|
| 136 |
msgstr ""
|
| 137 |
|
| 138 |
+
#: includes/admin/class-wc-stripe-admin-notices.php:177
|
| 139 |
#. translators: 1) link
|
| 140 |
msgid ""
|
| 141 |
"Stripe is in test mode however your test keys may not be valid. Test keys "
|
| 143 |
"<a href=\"%s\">set your Stripe account keys</a>."
|
| 144 |
msgstr ""
|
| 145 |
|
| 146 |
+
#: includes/admin/class-wc-stripe-admin-notices.php:186
|
| 147 |
#. translators: 1) link
|
| 148 |
msgid ""
|
| 149 |
"Stripe is in live mode however your test keys may not be valid. Live keys "
|
| 151 |
"<a href=\"%s\">set your Stripe account keys</a>."
|
| 152 |
msgstr ""
|
| 153 |
|
| 154 |
+
#: includes/admin/class-wc-stripe-admin-notices.php:195
|
| 155 |
#. translators: 1) link
|
| 156 |
msgid ""
|
| 157 |
"Stripe is enabled, but a SSL certificate is not detected. Your checkout may "
|
| 159 |
"target=\"_blank\">SSL certificate</a>"
|
| 160 |
msgstr ""
|
| 161 |
|
| 162 |
+
#: includes/admin/class-wc-stripe-admin-notices.php:219
|
| 163 |
#. translators: %1$s Payment method, %2$s List of supported currencies
|
| 164 |
msgid "%1$s is enabled - it requires store currency to be set to %2$s"
|
| 165 |
msgstr ""
|
| 166 |
|
| 167 |
+
#: includes/admin/class-wc-stripe-admin-notices.php:233
|
| 168 |
msgid "Action failed. Please refresh the page and retry."
|
| 169 |
msgstr ""
|
| 170 |
|
| 171 |
+
#: includes/admin/class-wc-stripe-admin-notices.php:237
|
| 172 |
msgid "Cheatin’ huh?"
|
| 173 |
msgstr ""
|
| 174 |
|
| 209 |
msgid "N/A"
|
| 210 |
msgstr ""
|
| 211 |
|
| 212 |
+
#: includes/admin/class-wc-stripe-privacy.php:95
|
| 213 |
#. translators: %s URL to docs
|
| 214 |
msgid ""
|
| 215 |
"By using this extension, you may be storing personal data or sharing data "
|
| 218 |
"policy.</a>"
|
| 219 |
msgstr ""
|
| 220 |
|
| 221 |
+
#: includes/admin/class-wc-stripe-privacy.php:118
|
| 222 |
msgid "Orders"
|
| 223 |
msgstr ""
|
| 224 |
|
| 225 |
+
#: includes/admin/class-wc-stripe-privacy.php:122
|
| 226 |
+
#: includes/admin/class-wc-stripe-privacy.php:187
|
| 227 |
+
#: includes/admin/class-wc-stripe-privacy.php:227
|
| 228 |
msgid "Stripe payment id"
|
| 229 |
msgstr ""
|
| 230 |
|
| 231 |
+
#: includes/admin/class-wc-stripe-privacy.php:126
|
| 232 |
+
#: includes/admin/class-wc-stripe-privacy.php:191
|
| 233 |
+
#: includes/admin/class-wc-stripe-privacy.php:231
|
| 234 |
msgid "Stripe customer id"
|
| 235 |
msgstr ""
|
| 236 |
|
| 237 |
+
#: includes/admin/class-wc-stripe-privacy.php:183
|
| 238 |
msgid "Subscriptions"
|
| 239 |
msgstr ""
|
| 240 |
|
| 241 |
+
#: includes/admin/class-wc-stripe-privacy.php:223
|
| 242 |
msgid "Customer Data"
|
| 243 |
msgstr ""
|
| 244 |
|
| 245 |
+
#: includes/admin/class-wc-stripe-privacy.php:269
|
| 246 |
msgid "Stripe User Data Erased."
|
| 247 |
msgstr ""
|
| 248 |
|
| 249 |
+
#: includes/admin/class-wc-stripe-privacy.php:345
|
| 250 |
+
#: includes/admin/class-wc-stripe-privacy.php:382
|
| 251 |
#. translators: %d Order ID
|
| 252 |
msgid ""
|
| 253 |
"Order ID %d is less than set retention days. Personal data retained. "
|
| 254 |
"(Stripe)"
|
| 255 |
msgstr ""
|
| 256 |
|
| 257 |
+
#: includes/admin/class-wc-stripe-privacy.php:350
|
| 258 |
#. translators: %d Order ID
|
| 259 |
msgid ""
|
| 260 |
"Order ID %d contains an active Subscription. Personal data retained. "
|
| 261 |
"(Stripe)"
|
| 262 |
msgstr ""
|
| 263 |
|
| 264 |
+
#: includes/admin/class-wc-stripe-privacy.php:365
|
| 265 |
msgid "Stripe Subscription Data Erased."
|
| 266 |
msgstr ""
|
| 267 |
|
| 268 |
+
#: includes/admin/class-wc-stripe-privacy.php:393
|
| 269 |
msgid "Stripe personal data erased."
|
| 270 |
msgstr ""
|
| 271 |
|
| 589 |
|
| 590 |
#: includes/admin/stripe-settings.php:82
|
| 591 |
msgid ""
|
| 592 |
+
"Statement descriptors are limited to 22 characters, cannot use the special "
|
| 593 |
+
"characters >, <, \", \\, ', *, and must not consist solely of numbers. This "
|
| 594 |
+
"will appear on your customer's statement in capital letters."
|
| 595 |
msgstr ""
|
| 596 |
|
| 597 |
#: includes/admin/stripe-settings.php:87
|
| 840 |
msgid "Card Code (CVC)"
|
| 841 |
msgstr ""
|
| 842 |
|
| 843 |
+
#: includes/class-wc-gateway-stripe.php:466
|
| 844 |
msgid "Please accept the terms and conditions first"
|
| 845 |
msgstr ""
|
| 846 |
|
| 847 |
+
#: includes/class-wc-gateway-stripe.php:467
|
| 848 |
msgid "Please fill in required checkout fields first"
|
| 849 |
msgstr ""
|
| 850 |
|
| 851 |
+
#: includes/class-wc-gateway-stripe.php:487
|
| 852 |
+
#: includes/class-wc-gateway-stripe.php:702
|
| 853 |
msgid ""
|
| 854 |
"Sorry, we're not accepting prepaid cards at this time. Your credit card has "
|
| 855 |
"not been charged. Please try with alternative payment method."
|
| 856 |
msgstr ""
|
| 857 |
|
| 858 |
+
#: includes/class-wc-gateway-stripe.php:488
|
| 859 |
msgid "Please enter your IBAN account name."
|
| 860 |
msgstr ""
|
| 861 |
|
| 862 |
+
#: includes/class-wc-gateway-stripe.php:489
|
| 863 |
msgid "Please enter your IBAN account number."
|
| 864 |
msgstr ""
|
| 865 |
|
| 866 |
+
#: includes/class-wc-gateway-stripe.php:508
|
| 867 |
msgid "Billing First Name and Last Name are required."
|
| 868 |
msgstr ""
|
| 869 |
|
| 870 |
+
#: includes/class-wc-gateway-stripe.php:592
|
| 871 |
msgid "Place Order"
|
| 872 |
msgstr ""
|
| 873 |
|
| 874 |
+
#: includes/class-wc-gateway-stripe.php:793
|
| 875 |
#: includes/class-wc-stripe-order-handler.php:144
|
| 876 |
#: includes/class-wc-stripe-webhook-handler.php:187
|
| 877 |
#: includes/payment-methods/class-wc-gateway-stripe-sepa.php:353
|
| 878 |
msgid "This card is no longer available and has been removed."
|
| 879 |
msgstr ""
|
| 880 |
|
| 881 |
+
#: includes/class-wc-gateway-stripe.php:812
|
| 882 |
#: includes/class-wc-stripe-order-handler.php:162
|
| 883 |
#: includes/class-wc-stripe-webhook-handler.php:206
|
| 884 |
#: includes/compat/class-wc-stripe-sepa-subs-compat.php:272
|
| 889 |
"later."
|
| 890 |
msgstr ""
|
| 891 |
|
| 892 |
+
#: includes/class-wc-gateway-stripe.php:889
|
| 893 |
#. translators: error message
|
| 894 |
msgid "This represents the fee Stripe collects for the transaction."
|
| 895 |
msgstr ""
|
| 896 |
|
| 897 |
+
#: includes/class-wc-gateway-stripe.php:890
|
| 898 |
msgid "Stripe Fee:"
|
| 899 |
msgstr ""
|
| 900 |
|
| 901 |
+
#: includes/class-wc-gateway-stripe.php:926
|
| 902 |
msgid ""
|
| 903 |
"This represents the net total that will be credited to your Stripe bank "
|
| 904 |
"account. This may be in the currency that is set in your Stripe account."
|
| 905 |
msgstr ""
|
| 906 |
|
| 907 |
+
#: includes/class-wc-gateway-stripe.php:927
|
| 908 |
msgid "Stripe Payout:"
|
| 909 |
msgstr ""
|
| 910 |
|
| 1055 |
msgid "This payment failed to clear."
|
| 1056 |
msgstr ""
|
| 1057 |
|
| 1058 |
+
#: includes/class-wc-stripe-webhook-handler.php:423
|
| 1059 |
msgid "This payment has cancelled."
|
| 1060 |
msgstr ""
|
| 1061 |
|
| 1062 |
+
#: includes/class-wc-stripe-webhook-handler.php:458
|
| 1063 |
msgid "Refunded via Stripe Dashboard"
|
| 1064 |
msgstr ""
|
| 1065 |
|
| 1066 |
+
#: includes/class-wc-stripe-webhook-handler.php:458
|
| 1067 |
+
#: includes/class-wc-stripe-webhook-handler.php:486
|
| 1068 |
msgid "Pre-Authorization Released via Stripe Dashboard"
|
| 1069 |
msgstr ""
|
| 1070 |
|
| 1071 |
+
#: includes/class-wc-stripe-webhook-handler.php:486
|
| 1072 |
#. translators: 1) dollar amount 2) transaction id 3) refund message
|
| 1073 |
msgid "Refunded %1$s - Refund ID: %2$s - %3$s"
|
| 1074 |
msgstr ""
|
| 1075 |
|
| 1076 |
+
#: includes/class-wc-stripe-webhook-handler.php:508
|
| 1077 |
#. translators: 1) The URL to the order. 2) The reason type.
|
| 1078 |
msgid ""
|
| 1079 |
"A review has been opened for this order. Action is needed. Please go to "
|
| 1081 |
"Dashboard</a> to review the issue. Reason: (%2$s)"
|
| 1082 |
msgstr ""
|
| 1083 |
|
| 1084 |
+
#: includes/class-wc-stripe-webhook-handler.php:532
|
| 1085 |
#. translators: 1) The reason type.
|
| 1086 |
msgid "The opened review for this order is now closed. Reason: (%s)"
|
| 1087 |
msgstr ""
|
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: 5.
|
| 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,10 +101,9 @@ If you get stuck, you can ask for help in the Plugin Forum.
|
|
| 101 |
|
| 102 |
== Changelog ==
|
| 103 |
|
| 104 |
-
= 4.1.
|
| 105 |
-
*
|
| 106 |
-
*
|
| 107 |
-
* Tweak - Stripe API version updated to support 2019-02-19.
|
| 108 |
|
| 109 |
[See changelog for all versions](https://raw.githubusercontent.com/woothemes/woocommerce-gateway-stripe/master/changelog.txt).
|
| 110 |
|
| 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.1
|
| 6 |
Requires PHP: 5.6
|
| 7 |
+
Stable tag: 4.1.16
|
| 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.16 - 2019-04-18 =
|
| 105 |
+
* Deprecate - Warn about the future removal of the Modal Checkout option.
|
| 106 |
+
* Tweak - WC 3.6 compatibility.
|
|
|
|
| 107 |
|
| 108 |
[See changelog for all versions](https://raw.githubusercontent.com/woothemes/woocommerce-gateway-stripe/master/changelog.txt).
|
| 109 |
|
woocommerce-gateway-stripe.php
CHANGED
|
@@ -5,11 +5,11 @@
|
|
| 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: 5.
|
| 11 |
* WC requires at least: 2.6
|
| 12 |
-
* WC tested up to: 3.
|
| 13 |
* Text Domain: woocommerce-gateway-stripe
|
| 14 |
* Domain Path: /languages
|
| 15 |
*
|
|
@@ -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.16
|
| 9 |
* Requires at least: 4.4
|
| 10 |
+
* Tested up to: 5.1
|
| 11 |
* WC requires at least: 2.6
|
| 12 |
+
* WC tested up to: 3.6
|
| 13 |
* Text Domain: woocommerce-gateway-stripe
|
| 14 |
* Domain Path: /languages
|
| 15 |
*
|
| 46 |
/**
|
| 47 |
* Required minimums and constants
|
| 48 |
*/
|
| 49 |
+
define( 'WC_STRIPE_VERSION', '4.1.16' );
|
| 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__ );
|
