Stripe Payments For WooCommerce by Checkout Plugins - Version 1.4.4

Version Description

  • FRIDAY, 22ND APRIL 2022 =
  • Improvement: Added support for older PHP versions.
  • Improvement: Modified display strings.
Download this release

Release Info

Developer brainstormworg
Plugin Icon 128x128 Stripe Payments For WooCommerce by Checkout Plugins
Version 1.4.4
Comparing to
See all releases

Code changes from version 1.4.3 to 1.4.4

admin/assets/js/admin.js CHANGED
@@ -196,10 +196,10 @@
196
 
197
  const CPSWAdminPaymentSettings = {
198
  init() {
199
- $( '[name^="woocommerce_' + cpsw_ajax_object.cpsw_admin_current_page + '_allowed_countries"]' ).on( 'change', this.display_children );
200
  $( '[name^="cpsw_mode"]' ).on( 'change', this.show_hide_webhook_secret );
201
 
202
- this.display_children();
203
  this.show_hide_webhook_secret();
204
  },
205
 
@@ -221,33 +221,21 @@
221
  /**
222
  * Show hide country dorpdown
223
  */
224
- display_children() {
225
- $( '[data-show-if]' ).each( function( i, el ) {
226
- const $this = $( el );
227
- const values = $this.data( 'show-if' );
228
- const hidden = [];
229
- $.each( values, function( k, v ) {
230
- const $key = $( '#woocommerce_' + cpsw_ajax_object.cpsw_admin_current_page + '_allowed_countries' );
231
- if ( hidden.indexOf( $this.attr( 'id' ) ) === -1 ) {
232
- if ( $key.is( ':checkbox' ) ) {
233
- if ( $key.is( ':checked' ) === v ) {
234
- $this.closest( 'tr' ).show();
235
- } else {
236
- $this.closest( 'tr' ).hide();
237
- hidden.push( $this.attr( 'id' ) );
238
- }
239
- } else if ( $key.val() === v ) {
240
- $this.closest( 'tr' ).show();
241
- } else {
242
- $this.closest( 'tr' ).hide();
243
- hidden.push( $this.attr( 'id' ) );
244
- }
245
- } else {
246
- $this.closest( 'tr' ).hide();
247
- hidden.push( $this.attr( 'id' ) );
248
- }
249
- }.bind( this ) );
250
- }.bind( this ) );
251
  },
252
  };
253
 
196
 
197
  const CPSWAdminPaymentSettings = {
198
  init() {
199
+ $( '[name^="woocommerce_' + cpsw_ajax_object.cpsw_admin_current_page + '_allowed_countries"]' ).on( 'change', this.toggle_select_country_sections );
200
  $( '[name^="cpsw_mode"]' ).on( 'change', this.show_hide_webhook_secret );
201
 
202
+ this.toggle_select_country_sections();
203
  this.show_hide_webhook_secret();
204
  },
205
 
221
  /**
222
  * Show hide country dorpdown
223
  */
224
+ toggle_select_country_sections() {
225
+ const getOption = $( ' [name^="woocommerce_' + cpsw_ajax_object.cpsw_admin_current_page + '_allowed_countries"] ' ).val();
226
+ const exceptCountries = $( '[name^="woocommerce_' + cpsw_ajax_object.cpsw_admin_current_page + '_except_countries[]"]' ).parents( 'tr' );
227
+ const specificCountries = $( '[name^="woocommerce_' + cpsw_ajax_object.cpsw_admin_current_page + '_specific_countries[]"]' ).parents( 'tr' );
228
+
229
+ if ( getOption === 'all_except' ) {
230
+ exceptCountries.show();
231
+ specificCountries.hide();
232
+ } else if ( getOption === 'specific' ) {
233
+ exceptCountries.hide();
234
+ specificCountries.show();
235
+ } else {
236
+ exceptCountries.hide();
237
+ specificCountries.hide();
238
+ }
 
 
 
 
 
 
 
 
 
 
 
 
239
  },
240
  };
241
 
admin/assets/js/express-checkout.js CHANGED
@@ -10,7 +10,7 @@
10
  stripe.registerAppInfo( {
11
  name: 'WordPress Checkout Plugins - Stripe for WooCommerce',
12
  partner_id: 'pp_partner_KOjySVEy3ClX6G',
13
- version: cpsw_global_settings.cpsw_version,
14
  url: 'https://wordpress.org/plugins/checkout-plugins-stripe-woo/',
15
  } );
16
 
10
  stripe.registerAppInfo( {
11
  name: 'WordPress Checkout Plugins - Stripe for WooCommerce',
12
  partner_id: 'pp_partner_KOjySVEy3ClX6G',
13
+ version: cpsw_express_checkout.cpsw_version,
14
  url: 'https://wordpress.org/plugins/checkout-plugins-stripe-woo/',
15
  } );
16
 
checkout-plugins-stripe-woo.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Checkout Plugins - Stripe for WooCommerce
4
  * Plugin URI: https://www.checkoutplugins.com/
5
  * Description: Stripe for WooCommerce delivers a simple, secure way to accept credit card payments in your WooCommerce store. Reduce payment friction and boost conversions using this free plugin!
6
- * Version: 1.4.3
7
  * Author: Checkout Plugins
8
  * Author URI: https://checkoutplugins.com/
9
  * License: GPLv2 or later
@@ -20,6 +20,6 @@ define( 'CPSW_FILE', __FILE__ );
20
  define( 'CPSW_BASE', plugin_basename( CPSW_FILE ) );
21
  define( 'CPSW_DIR', plugin_dir_path( CPSW_FILE ) );
22
  define( 'CPSW_URL', plugins_url( '/', CPSW_FILE ) );
23
- define( 'CPSW_VERSION', '1.4.3' );
24
 
25
  require_once 'autoloader.php';
3
  * Plugin Name: Checkout Plugins - Stripe for WooCommerce
4
  * Plugin URI: https://www.checkoutplugins.com/
5
  * Description: Stripe for WooCommerce delivers a simple, secure way to accept credit card payments in your WooCommerce store. Reduce payment friction and boost conversions using this free plugin!
6
+ * Version: 1.4.4
7
  * Author: Checkout Plugins
8
  * Author URI: https://checkoutplugins.com/
9
  * License: GPLv2 or later
20
  define( 'CPSW_BASE', plugin_basename( CPSW_FILE ) );
21
  define( 'CPSW_DIR', plugin_dir_path( CPSW_FILE ) );
22
  define( 'CPSW_URL', plugins_url( '/', CPSW_FILE ) );
23
+ define( 'CPSW_VERSION', '1.4.4' );
24
 
25
  require_once 'autoloader.php';
gateway/local-gateway.php CHANGED
@@ -58,7 +58,7 @@ class Local_Gateway extends Abstract_Payment_Gateway {
58
  * @return void
59
  */
60
  public function init_form_fields() {
61
- $this->form_fields = apply_filters( 'cpsw_stripe_form_fields_' . $this->id, $this->get_local_payment_settings() );
62
  }
63
 
64
  /**
@@ -110,7 +110,7 @@ class Local_Gateway extends Abstract_Payment_Gateway {
110
  *
111
  * @return array
112
  */
113
- public function get_local_payment_settings() {
114
  $method_title = $this->method_title;
115
 
116
  $settings = [
@@ -153,7 +153,7 @@ class Local_Gateway extends Abstract_Payment_Gateway {
153
  'css' => 'min-width: 350px;',
154
  'desc_tip' => true,
155
  /* translators: gateway title */
156
- 'description' => sprintf( __( 'Choose the countries where you wish to display the %1$s gateway. The gateway will appear when the customer\'s billing country is in the chosen countries.', 'checkout-plugins-stripe-woo' ), $method_title ),
157
  'options' => array(
158
  'all' => __( 'Sell to all countries', 'checkout-plugins-stripe-woo' ),
159
  'all_except' => __( 'Sell to all countries, except for…', 'checkout-plugins-stripe-woo' ),
@@ -163,12 +163,11 @@ class Local_Gateway extends Abstract_Payment_Gateway {
163
  'except_countries' => [
164
  'title' => __( 'Sell to all countries, except for…', 'checkout-plugins-stripe-woo' ),
165
  'type' => 'multi_select_countries',
166
- 'css' => 'min-width: 350px;',
167
  'options' => [],
168
  'default' => [],
169
  'desc_tip' => true,
170
- 'description' => __( 'When the billing country matches one of these values, the payment method will be hidden on the Checkout page.', 'checkout-plugins-stripe-woo' ),
171
- 'custom_attributes' => array( 'data-show-if' => array( 'allowed_countries' => 'all_except' ) ),
172
  'sanitize_callback' => function ( $value ) {
173
  return is_array( $value ) ? $value : array();
174
  },
@@ -176,12 +175,11 @@ class Local_Gateway extends Abstract_Payment_Gateway {
176
  'specific_countries' => [
177
  'title' => __( 'Sell to specific countries', 'checkout-plugins-stripe-woo' ),
178
  'type' => 'multi_select_countries',
179
- 'css' => 'min-width: 350px;',
180
  'options' => [],
181
  'default' => [],
182
  'desc_tip' => true,
183
- 'description' => __( 'When the billing country matches one of these values, the payment method will be shown on the Checkout page.', 'checkout-plugins-stripe-woo' ),
184
- 'custom_attributes' => array( 'data-show-if' => array( 'allowed_countries' => 'specific' ) ),
185
  'sanitize_callback' => function ( $value ) {
186
  return is_array( $value ) ? $value : array();
187
  },
@@ -235,7 +233,7 @@ class Local_Gateway extends Abstract_Payment_Gateway {
235
  <select multiple="multiple" name="<?php echo esc_attr( $data['id'] ); ?>[]" style="width:350px"
236
  data-placeholder="<?php esc_attr_e( 'Choose countries / regions&hellip;', 'checkout-plugins-stripe-woo' ); ?>"
237
  aria-label="<?php esc_attr_e( 'Country / Region', 'checkout-plugins-stripe-woo' ); ?>" class="wc-enhanced-select"
238
- <?php echo $this->get_custom_attribute_html( $data ); //phpcs:ignore ?>>
239
  <?php
240
  if ( ! empty( $countries ) ) {
241
  foreach ( $countries as $key => $val ) {
@@ -254,27 +252,6 @@ class Local_Gateway extends Abstract_Payment_Gateway {
254
  return ob_get_clean();
255
  }
256
 
257
- /**
258
- * Validate multi select countries form field
259
- *
260
- * @since 1.2.0
261
- *
262
- * @param array $attribs Selling location custom attributes.
263
- *
264
- * @return array
265
- */
266
- public function get_custom_attribute_html( $attribs ) {
267
- if ( ! empty( $attribs['custom_attributes'] ) && is_array( $attribs['custom_attributes'] ) ) {
268
- foreach ( $attribs['custom_attributes'] as $k => $v ) {
269
- if ( is_array( $v ) ) {
270
- $attribs['custom_attributes'][ $k ] = htmlspecialchars( wp_json_encode( $v ) );
271
- }
272
- }
273
- }
274
-
275
- return parent::get_custom_attribute_html( $attribs );
276
- }
277
-
278
  /**
279
  * Validate multi select countries form field
280
  *
@@ -373,7 +350,7 @@ class Local_Gateway extends Abstract_Payment_Gateway {
373
  $desc = '';
374
  if ( method_exists( $this, 'get_supported_currency' ) && $this->get_supported_currency() ) {
375
  // translators: %s: supported currency.
376
- $desc .= sprintf( __( 'This gateway will appear when store currency is <strong>%s</strong>.', 'checkout-plugins-stripe-woo' ), implode( ', ', $this->get_supported_currency() ) );
377
  }
378
 
379
  return $this->get_payment_description( $desc );
58
  * @return void
59
  */
60
  public function init_form_fields() {
61
+ $this->form_fields = apply_filters( 'cpsw_stripe_form_fields_' . $this->id, $this->get_default_settings() );
62
  }
63
 
64
  /**
110
  *
111
  * @return array
112
  */
113
+ public function get_default_settings() {
114
  $method_title = $this->method_title;
115
 
116
  $settings = [
153
  'css' => 'min-width: 350px;',
154
  'desc_tip' => true,
155
  /* translators: gateway title */
156
+ 'description' => sprintf( __( 'This option lets you limit the %1$s gateway to which countries you are willing to sell to.', 'checkout-plugins-stripe-woo' ), $method_title ),
157
  'options' => array(
158
  'all' => __( 'Sell to all countries', 'checkout-plugins-stripe-woo' ),
159
  'all_except' => __( 'Sell to all countries, except for&hellip;', 'checkout-plugins-stripe-woo' ),
163
  'except_countries' => [
164
  'title' => __( 'Sell to all countries, except for&hellip;', 'checkout-plugins-stripe-woo' ),
165
  'type' => 'multi_select_countries',
 
166
  'options' => [],
167
  'default' => [],
168
  'desc_tip' => true,
169
+ 'css' => 'min-width: 350px;',
170
+ 'description' => __( 'If any of the selected countries matches with the customer\'s billing country, then this payment method will not be visible on the checkout page.', 'checkout-plugins-stripe-woo' ),
171
  'sanitize_callback' => function ( $value ) {
172
  return is_array( $value ) ? $value : array();
173
  },
175
  'specific_countries' => [
176
  'title' => __( 'Sell to specific countries', 'checkout-plugins-stripe-woo' ),
177
  'type' => 'multi_select_countries',
 
178
  'options' => [],
179
  'default' => [],
180
  'desc_tip' => true,
181
+ 'css' => 'min-width: 350px;',
182
+ 'description' => __( 'If any of the selected countries matches with the customer\'s billing country, then this payment method will be visible on the checkout page.', 'checkout-plugins-stripe-woo' ),
183
  'sanitize_callback' => function ( $value ) {
184
  return is_array( $value ) ? $value : array();
185
  },
233
  <select multiple="multiple" name="<?php echo esc_attr( $data['id'] ); ?>[]" style="width:350px"
234
  data-placeholder="<?php esc_attr_e( 'Choose countries / regions&hellip;', 'checkout-plugins-stripe-woo' ); ?>"
235
  aria-label="<?php esc_attr_e( 'Country / Region', 'checkout-plugins-stripe-woo' ); ?>" class="wc-enhanced-select"
236
+ >
237
  <?php
238
  if ( ! empty( $countries ) ) {
239
  foreach ( $countries as $key => $val ) {
252
  return ob_get_clean();
253
  }
254
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
255
  /**
256
  * Validate multi select countries form field
257
  *
350
  $desc = '';
351
  if ( method_exists( $this, 'get_supported_currency' ) && $this->get_supported_currency() ) {
352
  // translators: %s: supported currency.
353
+ $desc .= sprintf( __( 'This gateway supports the following currencies only : <strong>%s</strong>.', 'checkout-plugins-stripe-woo' ), implode( ', ', $this->get_supported_currency() ) );
354
  }
355
 
356
  return $this->get_payment_description( $desc );
gateway/stripe/alipay.php CHANGED
@@ -74,7 +74,7 @@ class Alipay extends Local_Gateway {
74
  '<br/>',
75
  $payment_description,
76
  '<br/>',
77
- $extra_description,
78
  );
79
  }
80
 
74
  '<br/>',
75
  $payment_description,
76
  '<br/>',
77
+ $extra_description
78
  );
79
  }
80
 
gateway/stripe/bancontact.php CHANGED
@@ -70,7 +70,7 @@ class Bancontact extends Local_Gateway {
70
  /* translators: %1$s: Break, %2$s: Gateway appear message, %3$s: Break, %4$s: Gateway appear message currency wise, %4$s: HTML entities */
71
  __( 'Accept payment using Bancontact. %1$s %2$s', 'checkout-plugins-stripe-woo' ),
72
  '<br/>',
73
- $payment_description,
74
  );
75
  }
76
 
@@ -97,8 +97,8 @@ class Bancontact extends Local_Gateway {
97
  *
98
  * @return array
99
  */
100
- public function get_local_payment_settings() {
101
- $local_settings = parent::get_local_payment_settings();
102
 
103
  $local_settings['allowed_countries']['default'] = 'specific';
104
  $local_settings['specific_countries']['default'] = [ 'BE' ];
70
  /* translators: %1$s: Break, %2$s: Gateway appear message, %3$s: Break, %4$s: Gateway appear message currency wise, %4$s: HTML entities */
71
  __( 'Accept payment using Bancontact. %1$s %2$s', 'checkout-plugins-stripe-woo' ),
72
  '<br/>',
73
+ $payment_description
74
  );
75
  }
76
 
97
  *
98
  * @return array
99
  */
100
+ public function get_default_settings() {
101
+ $local_settings = parent::get_default_settings();
102
 
103
  $local_settings['allowed_countries']['default'] = 'specific';
104
  $local_settings['specific_countries']['default'] = [ 'BE' ];
gateway/stripe/card-payments.php CHANGED
@@ -192,7 +192,9 @@ $ */
192
  ],
193
  'default' => '',
194
  'tool_tip' => true,
195
- 'description' => __( 'This is the status of the order once payment is complete. If <b>Default</b> is selected, then WooCommerce will set the order status automatically based on internal logic which states if a product is virtual and downloadable then status is set to complete. Products that require shipping are set to Processing. Default is the recommended setting as it allows standard WooCommerce code to process the order status.', 'checkout-plugins-stripe-woo' ),
 
 
196
  ],
197
  'order_button_text' => [
198
  'title' => __( 'Order Button Label', 'checkout-plugins-stripe-woo' ),
192
  ],
193
  'default' => '',
194
  'tool_tip' => true,
195
+ /* translators: HTML tag */
196
+ 'description' => sprintf( __( '%1$1sDefault%2$2s option is recommended. This option applies the WooCommerce\'s default status on order completion.%3$3sIf you want different order status on order completion, you can use any of the following %4$4sProcessing, On Hold, Completed%5$5s as the order status.', 'checkout-plugins-stripe-woo' ), '<strong>', '</strong>', '<br/>', '<strong>', '</strong>' ),
197
+
198
  ],
199
  'order_button_text' => [
200
  'title' => __( 'Order Button Label', 'checkout-plugins-stripe-woo' ),
gateway/stripe/klarna.php CHANGED
@@ -82,7 +82,7 @@ class Klarna extends Local_Gateway {
82
  '<br/>',
83
  $payment_description,
84
  '<br/>',
85
- $extra_description,
86
  );
87
  }
88
 
@@ -133,7 +133,7 @@ class Klarna extends Local_Gateway {
133
  *
134
  * @return array
135
  */
136
- public function get_local_payment_settings() {
137
  $charge_type = [
138
  'charge_type' => [
139
  'title' => __( 'Charge Type', 'checkout-plugins-stripe-woo' ),
@@ -148,7 +148,7 @@ class Klarna extends Local_Gateway {
148
  ],
149
  ];
150
 
151
- $local_settings = parent::get_local_payment_settings();
152
 
153
  $local_settings['allowed_countries']['default'] = 'specific';
154
  $local_settings['specific_countries']['default'] = $this->allow_countries;
@@ -203,10 +203,9 @@ class Klarna extends Local_Gateway {
203
  echo '</div>';
204
  if ( 'test' === Helper::get_payment_mode() ) {
205
  echo '<div class="cpsw_stripe_test_description">';
206
- echo '<label>';
207
- esc_html_e( 'Test mode sms:', 'checkout-plugins-stripe-woo' );
208
- echo '</label>&nbsp;<strong>123456</strong>';
209
- echo '<br><br>';
210
  echo wp_kses_post( $this->get_test_mode_description() );
211
  echo '</div>';
212
  }
82
  '<br/>',
83
  $payment_description,
84
  '<br/>',
85
+ $extra_description
86
  );
87
  }
88
 
133
  *
134
  * @return array
135
  */
136
+ public function get_default_settings() {
137
  $charge_type = [
138
  'charge_type' => [
139
  'title' => __( 'Charge Type', 'checkout-plugins-stripe-woo' ),
148
  ],
149
  ];
150
 
151
+ $local_settings = parent::get_default_settings();
152
 
153
  $local_settings['allowed_countries']['default'] = 'specific';
154
  $local_settings['specific_countries']['default'] = $this->allow_countries;
203
  echo '</div>';
204
  if ( 'test' === Helper::get_payment_mode() ) {
205
  echo '<div class="cpsw_stripe_test_description">';
206
+ echo '<p>';
207
+ esc_html_e( 'Test verification code:', 'checkout-plugins-stripe-woo' );
208
+ echo '&nbsp;<strong>111000</strong></p>';
 
209
  echo wp_kses_post( $this->get_test_mode_description() );
210
  echo '</div>';
211
  }
gateway/stripe/p24.php CHANGED
@@ -111,8 +111,8 @@ class P24 extends Local_Gateway {
111
  *
112
  * @return array
113
  */
114
- public function get_local_payment_settings() {
115
- $local_settings = parent::get_local_payment_settings();
116
 
117
  $local_settings['allowed_countries']['default'] = 'specific';
118
  $local_settings['specific_countries']['default'] = [ 'PL' ];
111
  *
112
  * @return array
113
  */
114
+ public function get_default_settings() {
115
+ $local_settings = parent::get_default_settings();
116
 
117
  $local_settings['allowed_countries']['default'] = 'specific';
118
  $local_settings['specific_countries']['default'] = [ 'PL' ];
gateway/stripe/payment-request-api.php CHANGED
@@ -229,7 +229,6 @@ class Payment_Request_Api extends Card_Payments {
229
  ?>
230
  </div>
231
  <?php
232
-
233
  }
234
 
235
  /**
229
  ?>
230
  </div>
231
  <?php
 
232
  }
233
 
234
  /**
gateway/stripe/sepa.php CHANGED
@@ -228,7 +228,7 @@ class Sepa extends Local_Gateway {
228
  *
229
  * @return array
230
  */
231
- public function get_local_payment_settings() {
232
  $company_name = [
233
  'enable_saved_card' => [
234
  'label' => __( 'Enable Payment via Saved IBAN', 'checkout-plugins-stripe-woo' ),
@@ -250,11 +250,11 @@ class Sepa extends Local_Gateway {
250
  'type' => 'text',
251
  'default' => get_bloginfo( 'name' ),
252
  'desc_tip' => true,
253
- 'description' => __( 'The name of your company that will appear in the SEPA mandate.', 'checkout-plugins-stripe-woo' ),
254
  ],
255
  ];
256
 
257
- $local_settings = parent::get_local_payment_settings();
258
 
259
  $local_settings['description']['default'] = __( 'Mandate Information.', 'checkout-plugins-stripe-woo' );
260
 
@@ -360,7 +360,7 @@ class Sepa extends Local_Gateway {
360
  if ( 'live' !== Helper::get_payment_mode() ) {
361
  echo '<div class="cpsw-test-description">';
362
  /* translators: %1$1s - %6$6s: HTML Markup */
363
- printf( esc_html__( '%1$1s Test Mode Enabled %2$2s : Use demo IBAN number DE89370400440532013000. %3$3s Check more %4$4sDemo IBAN Number%5$5s', 'checkout-plugins-stripe-woo' ), '<b>', '</b>', '</br>', "<a href='https://stripe.com/docs/testing#sepa-direct-debit' referrer='noopener' target='_blank'>", '</a>' );
364
  echo '</div>';
365
  }
366
 
228
  *
229
  * @return array
230
  */
231
+ public function get_default_settings() {
232
  $company_name = [
233
  'enable_saved_card' => [
234
  'label' => __( 'Enable Payment via Saved IBAN', 'checkout-plugins-stripe-woo' ),
250
  'type' => 'text',
251
  'default' => get_bloginfo( 'name' ),
252
  'desc_tip' => true,
253
+ 'description' => __( 'The name of your company that will appear in the SEPA mandate info.', 'checkout-plugins-stripe-woo' ),
254
  ],
255
  ];
256
 
257
+ $local_settings = parent::get_default_settings();
258
 
259
  $local_settings['description']['default'] = __( 'Mandate Information.', 'checkout-plugins-stripe-woo' );
260
 
360
  if ( 'live' !== Helper::get_payment_mode() ) {
361
  echo '<div class="cpsw-test-description">';
362
  /* translators: %1$1s - %6$6s: HTML Markup */
363
+ printf( esc_html__( '%1$1s Test Mode Enabled %2$2s : Use demo IBAN number DE89370400440532013000 for test payment. %3$3s Check more %4$4sDemo IBAN Number%5$5s', 'checkout-plugins-stripe-woo' ), '<b>', '</b>', '</br>', "<a href='https://stripe.com/docs/testing#sepa-direct-debit' referrer='noopener' target='_blank'>", '</a>' );
364
  echo '</div>';
365
  }
366
 
gateway/stripe/webhook.php CHANGED
@@ -117,7 +117,7 @@ class Webhook extends Abstract_Payment_Gateway {
117
  'permission_callback' => function() {
118
  return true;
119
  },
120
- ),
121
  );
122
  }
123
 
117
  'permission_callback' => function() {
118
  return true;
119
  },
120
+ )
121
  );
122
  }
123
 
gateway/stripe/wechat.php CHANGED
@@ -72,7 +72,7 @@ class Wechat extends Local_Gateway {
72
  /* translators: %1$s: Break, %2$s: Gateway appear message, %3$s: Break, %4$s: Gateway appear message currency wise, %4$s: HTML entities */
73
  __( 'Accept payment using WeChat. %1$s %2$s', 'checkout-plugins-stripe-woo' ),
74
  '<br/>',
75
- $payment_description,
76
  );
77
  }
78
 
72
  /* translators: %1$s: Break, %2$s: Gateway appear message, %3$s: Break, %4$s: Gateway appear message currency wise, %4$s: HTML entities */
73
  __( 'Accept payment using WeChat. %1$s %2$s', 'checkout-plugins-stripe-woo' ),
74
  '<br/>',
75
+ $payment_description
76
  );
77
  }
78
 
inc/traits/subscriptions.php CHANGED
@@ -39,7 +39,6 @@ trait Subscriptions {
39
  add_action( 'cpsw_add_payment_method_' . $this->id . '_success', [ $this, 'handle_add_payment_method_success' ], 10, 2 );
40
  add_action( 'woocommerce_subscriptions_change_payment_before_submit', [ $this, 'differentiate_change_payment_method_form' ] );
41
 
42
- // Allow store managers to manually set Stripe as the payment method on a subscription.
43
  add_filter( 'woocommerce_subscription_payment_meta', [ $this, 'add_subscription_payment_meta' ], 10, 2 );
44
  add_filter( 'woocommerce_subscription_validate_payment_meta', [ $this, 'validate_subscription_payment_meta' ], 10, 2 );
45
  add_filter( 'cpsw_display_save_payment_method_checkbox', [ $this, 'display_save_payment_method_checkbox' ] );
39
  add_action( 'cpsw_add_payment_method_' . $this->id . '_success', [ $this, 'handle_add_payment_method_success' ], 10, 2 );
40
  add_action( 'woocommerce_subscriptions_change_payment_before_submit', [ $this, 'differentiate_change_payment_method_form' ] );
41
 
 
42
  add_filter( 'woocommerce_subscription_payment_meta', [ $this, 'add_subscription_payment_meta' ], 10, 2 );
43
  add_filter( 'woocommerce_subscription_validate_payment_meta', [ $this, 'validate_subscription_payment_meta' ], 10, 2 );
44
  add_filter( 'cpsw_display_save_payment_method_checkbox', [ $this, 'display_save_payment_method_checkbox' ] );
languages/checkout-plugins-stripe-woo.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the GPLv2 or later.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Checkout Plugins - Stripe for WooCommerce 1.4.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/checkout-plugins-stripe-woo\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2022-04-21T07:36:34+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: checkout-plugins-stripe-woo\n"
@@ -392,7 +392,7 @@ msgid "Stripe keys are reset successfully."
392
  msgstr ""
393
 
394
  #: admin/admin-controller.php:1218
395
- #: inc/traits/subscriptions.php:351
396
  msgid "Invalid Nonce"
397
  msgstr ""
398
 
@@ -716,7 +716,7 @@ msgid "Stripe charge complete (Charge ID: %s)"
716
  msgstr ""
717
 
718
  #: gateway/abstract-payment-gateway.php:336
719
- #: inc/traits/subscriptions.php:334
720
  msgid "Payment processing failed. Please retry."
721
  msgstr ""
722
 
@@ -831,7 +831,7 @@ msgstr ""
831
 
832
  #. translators: gateway title
833
  #: gateway/local-gateway.php:156
834
- msgid "Choose the countries where you wish to display the %1$s gateway. The gateway will appear when the customer's billing country is in the chosen countries."
835
  msgstr ""
836
 
837
  #: gateway/local-gateway.php:158
@@ -844,70 +844,70 @@ msgid "Sell to all countries, except for&hellip;"
844
  msgstr ""
845
 
846
  #: gateway/local-gateway.php:160
847
- #: gateway/local-gateway.php:177
848
  msgid "Sell to specific countries"
849
  msgstr ""
850
 
851
  #: gateway/local-gateway.php:170
852
- msgid "When the billing country matches one of these values, the payment method will be hidden on the Checkout page."
853
  msgstr ""
854
 
855
- #: gateway/local-gateway.php:183
856
- msgid "When the billing country matches one of these values, the payment method will be shown on the Checkout page."
857
  msgstr ""
858
 
859
- #: gateway/local-gateway.php:236
860
  msgid "Choose countries / regions&hellip;"
861
  msgstr ""
862
 
863
- #: gateway/local-gateway.php:237
864
  msgid "Country / Region"
865
  msgstr ""
866
 
867
- #: gateway/local-gateway.php:249
868
  msgid "Select all"
869
  msgstr ""
870
 
871
- #: gateway/local-gateway.php:250
872
  msgid "Select none"
873
  msgstr ""
874
 
875
  #. translators: %1$s Payment method, %2$s List of supported currencies
876
- #: gateway/local-gateway.php:340
877
  msgid "%1$s is enabled - it requires store currency to be set to %2$s."
878
  msgstr ""
879
 
880
  #. translators: %1$s Payment method, %2$s List of supported currencies
881
- #: gateway/local-gateway.php:351
882
  msgid "%1$s is enabled - your store currency %2$s does not match with your stripe account supported currency %3$s."
883
  msgstr ""
884
 
885
  #. translators: %s: supported currency.
886
- #: gateway/local-gateway.php:376
887
- msgid "This gateway will appear when store currency is <strong>%s</strong>."
888
  msgstr ""
889
 
890
  #. translators: HTML Entities.
891
- #: gateway/local-gateway.php:390
892
  msgid "%1$1sTest Mode Enabled :%2$2s You will be redirected to an authorization page hosted by Stripe."
893
  msgstr ""
894
 
895
  #. translators: %1$1s method title, %2$2s order id, %3$3s order total amount
896
- #: gateway/local-gateway.php:435
897
  msgid "Begin processing payment with %1$1s for order %2$2s for the amount of %3$3s"
898
  msgstr ""
899
 
900
- #: gateway/local-gateway.php:452
901
  msgid "Contact seller. "
902
  msgstr ""
903
 
904
- #: gateway/local-gateway.php:455
905
  msgid "Store currency doesn't match stripe currency. "
906
  msgstr ""
907
 
908
  #. translators: %s: payment fail message.
909
- #: gateway/local-gateway.php:574
910
- #: gateway/stripe/card-payments.php:372
911
  #: gateway/stripe/sepa.php:517
912
  msgid "Payment failed. %s"
913
  msgstr ""
@@ -1049,86 +1049,87 @@ msgstr ""
1049
  msgid "Completed"
1050
  msgstr ""
1051
 
1052
- #: gateway/stripe/card-payments.php:195
1053
- msgid "This is the status of the order once payment is complete. If <b>Default</b> is selected, then WooCommerce will set the order status automatically based on internal logic which states if a product is virtual and downloadable then status is set to complete. Products that require shipping are set to Processing. Default is the recommended setting as it allows standard WooCommerce code to process the order status."
 
1054
  msgstr ""
1055
 
1056
- #: gateway/stripe/card-payments.php:198
1057
  msgid "Order Button Label"
1058
  msgstr ""
1059
 
1060
- #: gateway/stripe/card-payments.php:200
1061
  msgid "Customize label for Order button"
1062
  msgstr ""
1063
 
1064
- #: gateway/stripe/card-payments.php:201
1065
  msgid "Pay via Stripe"
1066
  msgstr ""
1067
 
1068
  #. translators: %1$1s order id, %2$2s order total amount
1069
- #: gateway/stripe/card-payments.php:253
1070
  msgid "Begin processing payment with new payment method for order %1$1s for the amount of %2$2s"
1071
  msgstr ""
1072
 
1073
- #: gateway/stripe/card-payments.php:287
1074
  #: gateway/stripe/sepa.php:177
1075
  msgid "There was a problem adding the payment method."
1076
  msgstr ""
1077
 
1078
  #. translators: error msg
1079
- #: gateway/stripe/card-payments.php:289
1080
- #: gateway/stripe/card-payments.php:305
1081
- #: gateway/stripe/card-payments.php:322
1082
  #: gateway/stripe/sepa.php:179
1083
  #: gateway/stripe/sepa.php:194
1084
  #: gateway/stripe/sepa.php:211
1085
  msgid "Add payment method Error: %1$1s"
1086
  msgstr ""
1087
 
1088
- #: gateway/stripe/card-payments.php:302
1089
  #: gateway/stripe/sepa.php:191
1090
  msgid "Invalid stripe source"
1091
  msgstr ""
1092
 
1093
- #: gateway/stripe/card-payments.php:319
1094
  #: gateway/stripe/sepa.php:208
1095
  msgid "Unble to attach payment method to customer"
1096
  msgstr ""
1097
 
1098
- #: gateway/stripe/card-payments.php:328
1099
  #: gateway/stripe/sepa.php:217
1100
  msgid "New payment method added successfully"
1101
  msgstr ""
1102
 
1103
  #. translators: %1$1s order id, %2$2s token id
1104
- #: gateway/stripe/card-payments.php:359
1105
  #: gateway/stripe/sepa.php:489
1106
  msgid "Payment method tokenized for Order id - %1$1s with token id - %2$2s"
1107
  msgstr ""
1108
 
1109
  #. translators: %1$1s, %2$2s: HTML Markup
1110
- #: gateway/stripe/card-payments.php:489
1111
  msgid "Live Stripe.js integrations must use HTTPS. %1$1s For more information:%2$2s"
1112
  msgstr ""
1113
 
1114
- #: gateway/stripe/card-payments.php:519
1115
  msgid "Enter Card Details"
1116
  msgstr ""
1117
 
1118
- #: gateway/stripe/card-payments.php:522
1119
  msgid "Expiry Date"
1120
  msgstr ""
1121
 
1122
- #: gateway/stripe/card-payments.php:526
1123
  msgid "CVC"
1124
  msgstr ""
1125
 
1126
- #: gateway/stripe/card-payments.php:531
1127
  msgid "Save Card for Future Payments"
1128
  msgstr ""
1129
 
1130
  #. translators: %1$1s - %6$6s: HTML Markup
1131
- #: gateway/stripe/card-payments.php:537
1132
  msgid "%1$1s Test Mode Enabled:%2$2s Use demo card 4242424242424242 with any future date and CVV. Check more %3$3sdemo cards%4$4s"
1133
  msgstr ""
1134
 
@@ -1188,7 +1189,7 @@ msgid "Accept payment using Klarna. %1$s %2$s %3$s %4$s"
1188
  msgstr ""
1189
 
1190
  #: gateway/stripe/klarna.php:207
1191
- msgid "Test mode sms:"
1192
  msgstr ""
1193
 
1194
  #. translators: %1$s: Break, %2$s: HTML entities
@@ -1196,51 +1197,51 @@ msgstr ""
1196
  msgid "Accept payment using Przelewy24. %1$s %2$s"
1197
  msgstr ""
1198
 
1199
- #: gateway/stripe/payment-request-api.php:297
1200
  msgid "Empty cart"
1201
  msgstr ""
1202
 
1203
- #: gateway/stripe/payment-request-api.php:392
1204
  msgid "Sign up Fee"
1205
  msgstr ""
1206
 
1207
- #: gateway/stripe/payment-request-api.php:404
1208
- #: gateway/stripe/payment-request-api.php:505
1209
- #: gateway/stripe/payment-request-api.php:678
1210
  msgid "Tax"
1211
  msgstr ""
1212
 
1213
- #: gateway/stripe/payment-request-api.php:412
1214
- #: gateway/stripe/payment-request-api.php:512
1215
- #: gateway/stripe/payment-request-api.php:686
1216
  msgid "Shipping"
1217
  msgstr ""
1218
 
1219
- #: gateway/stripe/payment-request-api.php:419
1220
- #: gateway/stripe/payment-request-api.php:693
1221
  msgid "Pending"
1222
  msgstr ""
1223
 
1224
- #: gateway/stripe/payment-request-api.php:519
1225
  msgid "Discount"
1226
  msgstr ""
1227
 
1228
  #. translators: %d is the product Id
1229
- #: gateway/stripe/payment-request-api.php:640
1230
  msgid "Product with the ID (%d) cannot be found."
1231
  msgstr ""
1232
 
1233
  #. translators: 1: product name 2: quantity in stock
1234
- #: gateway/stripe/payment-request-api.php:661
1235
  msgid "You cannot add that amount of \"%1$s\"; to the cart because there is not enough stock (%2$s remaining)."
1236
  msgstr ""
1237
 
1238
- #: gateway/stripe/payment-request-api.php:790
1239
- #: gateway/stripe/payment-request-api.php:807
1240
  msgid "Unable to find shipping method for address."
1241
  msgstr ""
1242
 
1243
- #: gateway/stripe/payment-request-api.php:795
1244
  msgid "Unable to provide shipping options for Payment Requests."
1245
  msgstr ""
1246
 
@@ -1270,7 +1271,7 @@ msgid "Company Name"
1270
  msgstr ""
1271
 
1272
  #: gateway/stripe/sepa.php:253
1273
- msgid "The name of your company that will appear in the SEPA mandate."
1274
  msgstr ""
1275
 
1276
  #: gateway/stripe/sepa.php:259
@@ -1288,7 +1289,7 @@ msgstr ""
1288
 
1289
  #. translators: %1$1s - %6$6s: HTML Markup
1290
  #: gateway/stripe/sepa.php:363
1291
- msgid "%1$1s Test Mode Enabled %2$2s : Use demo IBAN number DE89370400440532013000. %3$3s Check more %4$4sDemo IBAN Number%5$5s"
1292
  msgstr ""
1293
 
1294
  #. translators: %1$1s order id, %2$2s order total amount
@@ -1638,41 +1639,41 @@ msgstr ""
1638
  msgid "SEPA IBAN ending in %s"
1639
  msgstr ""
1640
 
1641
- #: inc/traits/subscriptions.php:63
1642
  msgid "Update the payment method used for all of my active subscriptions."
1643
  msgstr ""
1644
 
1645
- #: inc/traits/subscriptions.php:210
1646
  msgid "Customer not found"
1647
  msgstr ""
1648
 
1649
- #: inc/traits/subscriptions.php:234
1650
  msgid "Sorry, we are unable to process your payment at this time. Please retry later."
1651
  msgstr ""
1652
 
1653
- #: inc/traits/subscriptions.php:246
1654
  msgid "This transaction requires authentication."
1655
  msgstr ""
1656
 
1657
  #. translators: %s is the stripe charge Id
1658
- #: inc/traits/subscriptions.php:255
1659
- #: inc/traits/subscriptions.php:658
1660
  msgid "Stripe charge awaiting authentication by user: %s."
1661
  msgstr ""
1662
 
1663
- #: inc/traits/subscriptions.php:587
1664
  msgid "A \"Stripe Customer ID\" value is required."
1665
  msgstr ""
1666
 
1667
- #: inc/traits/subscriptions.php:590
1668
  msgid "Invalid customer ID. A valid \"Stripe Customer ID\" must begin with \"cus_\"."
1669
  msgstr ""
1670
 
1671
- #: inc/traits/subscriptions.php:600
1672
  msgid "Invalid source ID. A valid source \"Stripe Source ID\" must begin with \"src_\", \"pm_\", or \"card_\"."
1673
  msgstr ""
1674
 
1675
- #: inc/traits/subscriptions.php:781
1676
  msgid "Invalid payment method. Please input a new card number."
1677
  msgstr ""
1678
 
2
  # This file is distributed under the GPLv2 or later.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Checkout Plugins - Stripe for WooCommerce 1.4.4\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/checkout-plugins-stripe-woo\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2022-04-22T13:13:31+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.5.0\n"
15
  "X-Domain: checkout-plugins-stripe-woo\n"
392
  msgstr ""
393
 
394
  #: admin/admin-controller.php:1218
395
+ #: inc/traits/subscriptions.php:350
396
  msgid "Invalid Nonce"
397
  msgstr ""
398
 
716
  msgstr ""
717
 
718
  #: gateway/abstract-payment-gateway.php:336
719
+ #: inc/traits/subscriptions.php:333
720
  msgid "Payment processing failed. Please retry."
721
  msgstr ""
722
 
831
 
832
  #. translators: gateway title
833
  #: gateway/local-gateway.php:156
834
+ msgid "This option lets you limit the %1$s gateway to which countries you are willing to sell to."
835
  msgstr ""
836
 
837
  #: gateway/local-gateway.php:158
844
  msgstr ""
845
 
846
  #: gateway/local-gateway.php:160
847
+ #: gateway/local-gateway.php:176
848
  msgid "Sell to specific countries"
849
  msgstr ""
850
 
851
  #: gateway/local-gateway.php:170
852
+ msgid "If any of the selected countries matches with the customer's billing country, then this payment method will not be visible on the checkout page."
853
  msgstr ""
854
 
855
+ #: gateway/local-gateway.php:182
856
+ msgid "If any of the selected countries matches with the customer's billing country, then this payment method will be visible on the checkout page."
857
  msgstr ""
858
 
859
+ #: gateway/local-gateway.php:234
860
  msgid "Choose countries / regions&hellip;"
861
  msgstr ""
862
 
863
+ #: gateway/local-gateway.php:235
864
  msgid "Country / Region"
865
  msgstr ""
866
 
867
+ #: gateway/local-gateway.php:247
868
  msgid "Select all"
869
  msgstr ""
870
 
871
+ #: gateway/local-gateway.php:248
872
  msgid "Select none"
873
  msgstr ""
874
 
875
  #. translators: %1$s Payment method, %2$s List of supported currencies
876
+ #: gateway/local-gateway.php:317
877
  msgid "%1$s is enabled - it requires store currency to be set to %2$s."
878
  msgstr ""
879
 
880
  #. translators: %1$s Payment method, %2$s List of supported currencies
881
+ #: gateway/local-gateway.php:328
882
  msgid "%1$s is enabled - your store currency %2$s does not match with your stripe account supported currency %3$s."
883
  msgstr ""
884
 
885
  #. translators: %s: supported currency.
886
+ #: gateway/local-gateway.php:353
887
+ msgid "This gateway supports the following currencies only : <strong>%s</strong>."
888
  msgstr ""
889
 
890
  #. translators: HTML Entities.
891
+ #: gateway/local-gateway.php:367
892
  msgid "%1$1sTest Mode Enabled :%2$2s You will be redirected to an authorization page hosted by Stripe."
893
  msgstr ""
894
 
895
  #. translators: %1$1s method title, %2$2s order id, %3$3s order total amount
896
+ #: gateway/local-gateway.php:412
897
  msgid "Begin processing payment with %1$1s for order %2$2s for the amount of %3$3s"
898
  msgstr ""
899
 
900
+ #: gateway/local-gateway.php:429
901
  msgid "Contact seller. "
902
  msgstr ""
903
 
904
+ #: gateway/local-gateway.php:432
905
  msgid "Store currency doesn't match stripe currency. "
906
  msgstr ""
907
 
908
  #. translators: %s: payment fail message.
909
+ #: gateway/local-gateway.php:551
910
+ #: gateway/stripe/card-payments.php:374
911
  #: gateway/stripe/sepa.php:517
912
  msgid "Payment failed. %s"
913
  msgstr ""
1049
  msgid "Completed"
1050
  msgstr ""
1051
 
1052
+ #. translators: HTML tag
1053
+ #: gateway/stripe/card-payments.php:196
1054
+ msgid "%1$1sDefault%2$2s option is recommended. This option applies the WooCommerce's default status on order completion.%3$3sIf you want different order status on order completion, you can use any of the following %4$4sProcessing, On Hold, Completed%5$5s as the order status."
1055
  msgstr ""
1056
 
1057
+ #: gateway/stripe/card-payments.php:200
1058
  msgid "Order Button Label"
1059
  msgstr ""
1060
 
1061
+ #: gateway/stripe/card-payments.php:202
1062
  msgid "Customize label for Order button"
1063
  msgstr ""
1064
 
1065
+ #: gateway/stripe/card-payments.php:203
1066
  msgid "Pay via Stripe"
1067
  msgstr ""
1068
 
1069
  #. translators: %1$1s order id, %2$2s order total amount
1070
+ #: gateway/stripe/card-payments.php:255
1071
  msgid "Begin processing payment with new payment method for order %1$1s for the amount of %2$2s"
1072
  msgstr ""
1073
 
1074
+ #: gateway/stripe/card-payments.php:289
1075
  #: gateway/stripe/sepa.php:177
1076
  msgid "There was a problem adding the payment method."
1077
  msgstr ""
1078
 
1079
  #. translators: error msg
1080
+ #: gateway/stripe/card-payments.php:291
1081
+ #: gateway/stripe/card-payments.php:307
1082
+ #: gateway/stripe/card-payments.php:324
1083
  #: gateway/stripe/sepa.php:179
1084
  #: gateway/stripe/sepa.php:194
1085
  #: gateway/stripe/sepa.php:211
1086
  msgid "Add payment method Error: %1$1s"
1087
  msgstr ""
1088
 
1089
+ #: gateway/stripe/card-payments.php:304
1090
  #: gateway/stripe/sepa.php:191
1091
  msgid "Invalid stripe source"
1092
  msgstr ""
1093
 
1094
+ #: gateway/stripe/card-payments.php:321
1095
  #: gateway/stripe/sepa.php:208
1096
  msgid "Unble to attach payment method to customer"
1097
  msgstr ""
1098
 
1099
+ #: gateway/stripe/card-payments.php:330
1100
  #: gateway/stripe/sepa.php:217
1101
  msgid "New payment method added successfully"
1102
  msgstr ""
1103
 
1104
  #. translators: %1$1s order id, %2$2s token id
1105
+ #: gateway/stripe/card-payments.php:361
1106
  #: gateway/stripe/sepa.php:489
1107
  msgid "Payment method tokenized for Order id - %1$1s with token id - %2$2s"
1108
  msgstr ""
1109
 
1110
  #. translators: %1$1s, %2$2s: HTML Markup
1111
+ #: gateway/stripe/card-payments.php:491
1112
  msgid "Live Stripe.js integrations must use HTTPS. %1$1s For more information:%2$2s"
1113
  msgstr ""
1114
 
1115
+ #: gateway/stripe/card-payments.php:521
1116
  msgid "Enter Card Details"
1117
  msgstr ""
1118
 
1119
+ #: gateway/stripe/card-payments.php:524
1120
  msgid "Expiry Date"
1121
  msgstr ""
1122
 
1123
+ #: gateway/stripe/card-payments.php:528
1124
  msgid "CVC"
1125
  msgstr ""
1126
 
1127
+ #: gateway/stripe/card-payments.php:533
1128
  msgid "Save Card for Future Payments"
1129
  msgstr ""
1130
 
1131
  #. translators: %1$1s - %6$6s: HTML Markup
1132
+ #: gateway/stripe/card-payments.php:539
1133
  msgid "%1$1s Test Mode Enabled:%2$2s Use demo card 4242424242424242 with any future date and CVV. Check more %3$3sdemo cards%4$4s"
1134
  msgstr ""
1135
 
1189
  msgstr ""
1190
 
1191
  #: gateway/stripe/klarna.php:207
1192
+ msgid "Test verification code:"
1193
  msgstr ""
1194
 
1195
  #. translators: %1$s: Break, %2$s: HTML entities
1197
  msgid "Accept payment using Przelewy24. %1$s %2$s"
1198
  msgstr ""
1199
 
1200
+ #: gateway/stripe/payment-request-api.php:296
1201
  msgid "Empty cart"
1202
  msgstr ""
1203
 
1204
+ #: gateway/stripe/payment-request-api.php:391
1205
  msgid "Sign up Fee"
1206
  msgstr ""
1207
 
1208
+ #: gateway/stripe/payment-request-api.php:403
1209
+ #: gateway/stripe/payment-request-api.php:504
1210
+ #: gateway/stripe/payment-request-api.php:677
1211
  msgid "Tax"
1212
  msgstr ""
1213
 
1214
+ #: gateway/stripe/payment-request-api.php:411
1215
+ #: gateway/stripe/payment-request-api.php:511
1216
+ #: gateway/stripe/payment-request-api.php:685
1217
  msgid "Shipping"
1218
  msgstr ""
1219
 
1220
+ #: gateway/stripe/payment-request-api.php:418
1221
+ #: gateway/stripe/payment-request-api.php:692
1222
  msgid "Pending"
1223
  msgstr ""
1224
 
1225
+ #: gateway/stripe/payment-request-api.php:518
1226
  msgid "Discount"
1227
  msgstr ""
1228
 
1229
  #. translators: %d is the product Id
1230
+ #: gateway/stripe/payment-request-api.php:639
1231
  msgid "Product with the ID (%d) cannot be found."
1232
  msgstr ""
1233
 
1234
  #. translators: 1: product name 2: quantity in stock
1235
+ #: gateway/stripe/payment-request-api.php:660
1236
  msgid "You cannot add that amount of \"%1$s\"; to the cart because there is not enough stock (%2$s remaining)."
1237
  msgstr ""
1238
 
1239
+ #: gateway/stripe/payment-request-api.php:789
1240
+ #: gateway/stripe/payment-request-api.php:806
1241
  msgid "Unable to find shipping method for address."
1242
  msgstr ""
1243
 
1244
+ #: gateway/stripe/payment-request-api.php:794
1245
  msgid "Unable to provide shipping options for Payment Requests."
1246
  msgstr ""
1247
 
1271
  msgstr ""
1272
 
1273
  #: gateway/stripe/sepa.php:253
1274
+ msgid "The name of your company that will appear in the SEPA mandate info."
1275
  msgstr ""
1276
 
1277
  #: gateway/stripe/sepa.php:259
1289
 
1290
  #. translators: %1$1s - %6$6s: HTML Markup
1291
  #: gateway/stripe/sepa.php:363
1292
+ msgid "%1$1s Test Mode Enabled %2$2s : Use demo IBAN number DE89370400440532013000 for test payment. %3$3s Check more %4$4sDemo IBAN Number%5$5s"
1293
  msgstr ""
1294
 
1295
  #. translators: %1$1s order id, %2$2s order total amount
1639
  msgid "SEPA IBAN ending in %s"
1640
  msgstr ""
1641
 
1642
+ #: inc/traits/subscriptions.php:62
1643
  msgid "Update the payment method used for all of my active subscriptions."
1644
  msgstr ""
1645
 
1646
+ #: inc/traits/subscriptions.php:209
1647
  msgid "Customer not found"
1648
  msgstr ""
1649
 
1650
+ #: inc/traits/subscriptions.php:233
1651
  msgid "Sorry, we are unable to process your payment at this time. Please retry later."
1652
  msgstr ""
1653
 
1654
+ #: inc/traits/subscriptions.php:245
1655
  msgid "This transaction requires authentication."
1656
  msgstr ""
1657
 
1658
  #. translators: %s is the stripe charge Id
1659
+ #: inc/traits/subscriptions.php:254
1660
+ #: inc/traits/subscriptions.php:657
1661
  msgid "Stripe charge awaiting authentication by user: %s."
1662
  msgstr ""
1663
 
1664
+ #: inc/traits/subscriptions.php:586
1665
  msgid "A \"Stripe Customer ID\" value is required."
1666
  msgstr ""
1667
 
1668
+ #: inc/traits/subscriptions.php:589
1669
  msgid "Invalid customer ID. A valid \"Stripe Customer ID\" must begin with \"cus_\"."
1670
  msgstr ""
1671
 
1672
+ #: inc/traits/subscriptions.php:599
1673
  msgid "Invalid source ID. A valid source \"Stripe Source ID\" must begin with \"src_\", \"pm_\", or \"card_\"."
1674
  msgstr ""
1675
 
1676
+ #: inc/traits/subscriptions.php:780
1677
  msgid "Invalid payment method. Please input a new card number."
1678
  msgstr ""
1679
 
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Checkout Plugins - Stripe for WooCommerce ===
2
  Contributors: brainstormforce
3
- Tags: stripe, credit card
4
  Requires at least: 5.4
5
- Tested up to: 5.9
6
- Stable tag: 1.4.3
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -20,6 +20,8 @@ Stripe for WooCommerce is a payment plugin that delivers a simple, secure way to
20
 
21
  With Stripe you can accept payments from several card brands, from large global networks like Visa and Mastercard to local networks like Cartes Bancaires in France or Interac in Canada. Stripe also supports American Express, Discover, JCB, Diners Club and UnionPay.
22
 
 
 
23
  = Live Demo =
24
 
25
  Visit [our demo site](https://stripe-demo.checkoutplugins.com) to see how this plugin works.
@@ -108,6 +110,10 @@ We understand the need for a quality product backed by dedicated support that ca
108
 
109
  == Changelog ==
110
 
 
 
 
 
111
  = 1.4.3 - THURSDAY, 21ST APRIL 2022 =
112
  * Fix: Syntax error of older PHP versions.
113
 
1
  === Checkout Plugins - Stripe for WooCommerce ===
2
  Contributors: brainstormforce
3
+ Tags: stripe, credit card, apple pay, google pay, express checkout
4
  Requires at least: 5.4
5
+ Tested up to: 6.0
6
+ Stable tag: 1.4.4
7
  Requires PHP: 5.6
8
  License: GPLv2 or later
9
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
20
 
21
  With Stripe you can accept payments from several card brands, from large global networks like Visa and Mastercard to local networks like Cartes Bancaires in France or Interac in Canada. Stripe also supports American Express, Discover, JCB, Diners Club and UnionPay.
22
 
23
+ [youtube https://www.youtube.com/watch?v=CeI5cWJbhvA]
24
+
25
  = Live Demo =
26
 
27
  Visit [our demo site](https://stripe-demo.checkoutplugins.com) to see how this plugin works.
110
 
111
  == Changelog ==
112
 
113
+ = 1.4.4 - FRIDAY, 22ND APRIL 2022 =
114
+ * Improvement: Added support for older PHP versions.
115
+ * Improvement: Modified display strings.
116
+
117
  = 1.4.3 - THURSDAY, 21ST APRIL 2022 =
118
  * Fix: Syntax error of older PHP versions.
119