Version Description
- 2022-06-29 =
- Fix - Fix terminal location creation if site title is missing.
- Fix - Add compatibility with WooCommerce 6.6.
See changelog for all versions.
Download this release
Release Info
| Developer | automattic |
| Plugin | |
| Version | 6.4.2 |
| Comparing to | |
| See all releases | |
Code changes from version 6.4.1 to 6.4.2
- build/payment_gateways.asset.php +1 -1
- build/payment_requests_settings.asset.php +1 -1
- build/upe_settings.asset.php +1 -1
- changelog.txt +4 -0
- includes/admin/class-wc-rest-stripe-locations-controller.php +5 -3
- includes/admin/class-wc-rest-stripe-settings-controller.php +15 -15
- includes/admin/stripe-settings.php +11 -2
- includes/class-wc-gateway-stripe.php +58 -5
- includes/class-wc-stripe-order-handler.php +1 -1
- languages/woocommerce-gateway-stripe.pot +96 -88
- readme.txt +4 -3
- woocommerce-gateway-stripe.php +2 -2
build/payment_gateways.asset.php
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
<?php return array('dependencies' => array('react', 'react-dom', 'wc-navigation', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '
|
| 1 |
+
<?php return array('dependencies' => array('react', 'react-dom', 'wc-navigation', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'cc66234e67b9aea8fcb4b369000d2d2b');
|
build/payment_requests_settings.asset.php
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
<?php return array('dependencies' => array('react', 'react-dom', 'wc-navigation', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '
|
| 1 |
+
<?php return array('dependencies' => array('react', 'react-dom', 'wc-navigation', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '3e78698bd64fded88ba80a26794197e9');
|
build/upe_settings.asset.php
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wc-currency', 'wc-navigation', 'wc-store-data', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '
|
| 1 |
+
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wc-currency', 'wc-navigation', 'wc-store-data', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '6b4791ceae5bc045ae7684f8bbe4fda0');
|
changelog.txt
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
*** Changelog ***
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
= 6.4.1 - 2022-06-01 =
|
| 4 |
* Fix - Ensure proper URL formatting.
|
| 5 |
|
| 1 |
*** Changelog ***
|
| 2 |
|
| 3 |
+
= 6.4.2 - 2022-06-29 =
|
| 4 |
+
* Fix - Fix terminal location creation if site title is missing.
|
| 5 |
+
* Fix - Add compatibility with WooCommerce 6.6.
|
| 6 |
+
|
| 7 |
= 6.4.1 - 2022-06-01 =
|
| 8 |
* Fix - Ensure proper URL formatting.
|
| 9 |
|
includes/admin/class-wc-rest-stripe-locations-controller.php
CHANGED
|
@@ -178,7 +178,9 @@ class WC_REST_Stripe_Locations_Controller extends WC_Stripe_REST_Base_Controller
|
|
| 178 |
* @param WP_REST_Request $request Full data about the request.
|
| 179 |
*/
|
| 180 |
public function get_store_location( $request ) {
|
| 181 |
-
|
|
|
|
|
|
|
| 182 |
$store_address = WC()->countries;
|
| 183 |
$address = array_filter(
|
| 184 |
[
|
|
@@ -213,7 +215,7 @@ class WC_REST_Stripe_Locations_Controller extends WC_Stripe_REST_Base_Controller
|
|
| 213 |
try {
|
| 214 |
foreach ( $this->fetch_locations() as $location ) {
|
| 215 |
if (
|
| 216 |
-
$location->display_name
|
| 217 |
&& count( array_intersect( (array) $location->address, $address ) ) === count( $address )
|
| 218 |
) {
|
| 219 |
return rest_ensure_response( $location );
|
|
@@ -223,7 +225,7 @@ class WC_REST_Stripe_Locations_Controller extends WC_Stripe_REST_Base_Controller
|
|
| 223 |
// Create new location if no location matches display name and address.
|
| 224 |
$response = WC_Stripe_API::request(
|
| 225 |
[
|
| 226 |
-
'display_name' => $
|
| 227 |
'address' => $address,
|
| 228 |
],
|
| 229 |
'terminal/locations'
|
| 178 |
* @param WP_REST_Request $request Full data about the request.
|
| 179 |
*/
|
| 180 |
public function get_store_location( $request ) {
|
| 181 |
+
// Originally `get_bloginfo` was used for location name, later switched to `site_url` as the former may be blank.
|
| 182 |
+
$store_hostname = str_replace( [ 'https://', 'http://' ], '', get_site_url() );
|
| 183 |
+
$possible_names = [ get_bloginfo(), $store_hostname ];
|
| 184 |
$store_address = WC()->countries;
|
| 185 |
$address = array_filter(
|
| 186 |
[
|
| 215 |
try {
|
| 216 |
foreach ( $this->fetch_locations() as $location ) {
|
| 217 |
if (
|
| 218 |
+
in_array( $location->display_name, $possible_names, true )
|
| 219 |
&& count( array_intersect( (array) $location->address, $address ) ) === count( $address )
|
| 220 |
) {
|
| 221 |
return rest_ensure_response( $location );
|
| 225 |
// Create new location if no location matches display name and address.
|
| 226 |
$response = WC_Stripe_API::request(
|
| 227 |
[
|
| 228 |
+
'display_name' => $store_hostname,
|
| 229 |
'address' => $address,
|
| 230 |
],
|
| 231 |
'terminal/locations'
|
includes/admin/class-wc-rest-stripe-settings-controller.php
CHANGED
|
@@ -240,9 +240,9 @@ class WC_REST_Stripe_Settings_Controller extends WC_Stripe_REST_Base_Controller
|
|
| 240 |
/* Settings > General */
|
| 241 |
'is_stripe_enabled' => $this->gateway->is_enabled(),
|
| 242 |
'is_test_mode_enabled' => $this->gateway->is_in_test_mode(),
|
| 243 |
-
'title' => $this->gateway->
|
| 244 |
-
'title_upe' => $this->gateway->
|
| 245 |
-
'description' => $this->gateway->
|
| 246 |
|
| 247 |
/* Settings > Payments accepted on checkout */
|
| 248 |
'enabled_payment_method_ids' => $this->gateway->get_upe_enabled_payment_method_ids(),
|
|
@@ -250,18 +250,18 @@ class WC_REST_Stripe_Settings_Controller extends WC_Stripe_REST_Base_Controller
|
|
| 250 |
|
| 251 |
/* Settings > Express checkouts */
|
| 252 |
'is_payment_request_enabled' => 'yes' === $this->gateway->get_option( 'payment_request' ),
|
| 253 |
-
'payment_request_button_type' => $this->gateway->
|
| 254 |
-
'payment_request_button_theme' => $this->gateway->
|
| 255 |
-
'payment_request_button_size' => $this->gateway->
|
| 256 |
-
'payment_request_button_locations' => $this->gateway->
|
| 257 |
|
| 258 |
/* Settings > Payments & transactions */
|
| 259 |
'is_manual_capture_enabled' => ! $this->gateway->is_automatic_capture_enabled(),
|
| 260 |
'is_saved_cards_enabled' => 'yes' === $this->gateway->get_option( 'saved_cards' ),
|
| 261 |
'is_separate_card_form_enabled' => 'no' === $this->gateway->get_option( 'inline_cc_form' ),
|
| 262 |
-
'statement_descriptor' => $this->gateway->
|
| 263 |
'is_short_statement_descriptor_enabled' => 'yes' === $this->gateway->get_option( 'is_short_statement_descriptor_enabled' ),
|
| 264 |
-
'short_statement_descriptor' => $this->gateway->
|
| 265 |
|
| 266 |
/* Settings > Advanced settings */
|
| 267 |
'is_debug_log_enabled' => 'yes' === $this->gateway->get_option( 'logging' ),
|
|
@@ -336,7 +336,7 @@ class WC_REST_Stripe_Settings_Controller extends WC_Stripe_REST_Base_Controller
|
|
| 336 |
return;
|
| 337 |
}
|
| 338 |
|
| 339 |
-
$this->gateway->
|
| 340 |
}
|
| 341 |
|
| 342 |
/**
|
|
@@ -351,7 +351,7 @@ class WC_REST_Stripe_Settings_Controller extends WC_Stripe_REST_Base_Controller
|
|
| 351 |
return;
|
| 352 |
}
|
| 353 |
|
| 354 |
-
$this->gateway->
|
| 355 |
}
|
| 356 |
|
| 357 |
/**
|
|
@@ -366,7 +366,7 @@ class WC_REST_Stripe_Settings_Controller extends WC_Stripe_REST_Base_Controller
|
|
| 366 |
return;
|
| 367 |
}
|
| 368 |
|
| 369 |
-
$this->gateway->
|
| 370 |
}
|
| 371 |
|
| 372 |
/**
|
|
@@ -456,7 +456,7 @@ class WC_REST_Stripe_Settings_Controller extends WC_Stripe_REST_Base_Controller
|
|
| 456 |
return;
|
| 457 |
}
|
| 458 |
|
| 459 |
-
$this->gateway->
|
| 460 |
}
|
| 461 |
|
| 462 |
/**
|
|
@@ -492,7 +492,7 @@ class WC_REST_Stripe_Settings_Controller extends WC_Stripe_REST_Base_Controller
|
|
| 492 |
return;
|
| 493 |
}
|
| 494 |
|
| 495 |
-
$this->gateway->
|
| 496 |
}
|
| 497 |
|
| 498 |
/**
|
|
@@ -553,7 +553,7 @@ class WC_REST_Stripe_Settings_Controller extends WC_Stripe_REST_Base_Controller
|
|
| 553 |
}
|
| 554 |
|
| 555 |
$value = $request->get_param( $request_key );
|
| 556 |
-
$this->gateway->
|
| 557 |
}
|
| 558 |
}
|
| 559 |
|
| 240 |
/* Settings > General */
|
| 241 |
'is_stripe_enabled' => $this->gateway->is_enabled(),
|
| 242 |
'is_test_mode_enabled' => $this->gateway->is_in_test_mode(),
|
| 243 |
+
'title' => $this->gateway->get_validated_option( 'title' ),
|
| 244 |
+
'title_upe' => $this->gateway->get_validated_option( 'title_upe' ),
|
| 245 |
+
'description' => $this->gateway->get_validated_option( 'description' ),
|
| 246 |
|
| 247 |
/* Settings > Payments accepted on checkout */
|
| 248 |
'enabled_payment_method_ids' => $this->gateway->get_upe_enabled_payment_method_ids(),
|
| 250 |
|
| 251 |
/* Settings > Express checkouts */
|
| 252 |
'is_payment_request_enabled' => 'yes' === $this->gateway->get_option( 'payment_request' ),
|
| 253 |
+
'payment_request_button_type' => $this->gateway->get_validated_option( 'payment_request_button_type' ),
|
| 254 |
+
'payment_request_button_theme' => $this->gateway->get_validated_option( 'payment_request_button_theme' ),
|
| 255 |
+
'payment_request_button_size' => $this->gateway->get_validated_option( 'payment_request_button_size' ),
|
| 256 |
+
'payment_request_button_locations' => $this->gateway->get_validated_option( 'payment_request_button_locations' ),
|
| 257 |
|
| 258 |
/* Settings > Payments & transactions */
|
| 259 |
'is_manual_capture_enabled' => ! $this->gateway->is_automatic_capture_enabled(),
|
| 260 |
'is_saved_cards_enabled' => 'yes' === $this->gateway->get_option( 'saved_cards' ),
|
| 261 |
'is_separate_card_form_enabled' => 'no' === $this->gateway->get_option( 'inline_cc_form' ),
|
| 262 |
+
'statement_descriptor' => $this->gateway->get_validated_option( 'statement_descriptor' ),
|
| 263 |
'is_short_statement_descriptor_enabled' => 'yes' === $this->gateway->get_option( 'is_short_statement_descriptor_enabled' ),
|
| 264 |
+
'short_statement_descriptor' => $this->gateway->get_validated_option( 'short_statement_descriptor' ),
|
| 265 |
|
| 266 |
/* Settings > Advanced settings */
|
| 267 |
'is_debug_log_enabled' => 'yes' === $this->gateway->get_option( 'logging' ),
|
| 336 |
return;
|
| 337 |
}
|
| 338 |
|
| 339 |
+
$this->gateway->update_validated_option( 'title', $title );
|
| 340 |
}
|
| 341 |
|
| 342 |
/**
|
| 351 |
return;
|
| 352 |
}
|
| 353 |
|
| 354 |
+
$this->gateway->update_validated_option( 'title_upe', $title_upe );
|
| 355 |
}
|
| 356 |
|
| 357 |
/**
|
| 366 |
return;
|
| 367 |
}
|
| 368 |
|
| 369 |
+
$this->gateway->update_validated_option( 'description', $description );
|
| 370 |
}
|
| 371 |
|
| 372 |
/**
|
| 456 |
return;
|
| 457 |
}
|
| 458 |
|
| 459 |
+
$this->gateway->update_validated_option( 'statement_descriptor', $account_statement_descriptor );
|
| 460 |
}
|
| 461 |
|
| 462 |
/**
|
| 492 |
return;
|
| 493 |
}
|
| 494 |
|
| 495 |
+
$this->gateway->update_validated_option( 'short_statement_descriptor', $short_account_statement_descriptor );
|
| 496 |
}
|
| 497 |
|
| 498 |
/**
|
| 553 |
}
|
| 554 |
|
| 555 |
$value = $request->get_param( $request_key );
|
| 556 |
+
$this->gateway->update_validated_option( $attribute, $value );
|
| 557 |
}
|
| 558 |
}
|
| 559 |
|
includes/admin/stripe-settings.php
CHANGED
|
@@ -3,6 +3,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
| 3 |
exit;
|
| 4 |
}
|
| 5 |
|
|
|
|
|
|
|
| 6 |
$stripe_settings = apply_filters(
|
| 7 |
'wc_stripe_settings',
|
| 8 |
[
|
|
@@ -15,14 +17,14 @@ $stripe_settings = apply_filters(
|
|
| 15 |
],
|
| 16 |
'title' => [
|
| 17 |
'title' => __( 'Title', 'woocommerce-gateway-stripe' ),
|
| 18 |
-
'type' => 'text',
|
| 19 |
'description' => __( 'This controls the title which the user sees during checkout.', 'woocommerce-gateway-stripe' ),
|
| 20 |
'default' => __( 'Credit Card (Stripe)', 'woocommerce-gateway-stripe' ),
|
| 21 |
'desc_tip' => true,
|
| 22 |
],
|
| 23 |
'title_upe' => [
|
| 24 |
'title' => __( 'Title', 'woocommerce-gateway-stripe' ),
|
| 25 |
-
'type' => 'text',
|
| 26 |
'description' => __( 'This controls the title which the user sees during checkout when multiple payment methods are enabled.', 'woocommerce-gateway-stripe' ),
|
| 27 |
'default' => __( 'Popular payment methods', 'woocommerce-gateway-stripe' ),
|
| 28 |
'desc_tip' => true,
|
|
@@ -107,6 +109,13 @@ $stripe_settings = apply_filters(
|
|
| 107 |
'default' => '',
|
| 108 |
'desc_tip' => true,
|
| 109 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
'capture' => [
|
| 111 |
'title' => __( 'Capture', 'woocommerce-gateway-stripe' ),
|
| 112 |
'label' => __( 'Capture charge immediately', 'woocommerce-gateway-stripe' ),
|
| 3 |
exit;
|
| 4 |
}
|
| 5 |
|
| 6 |
+
$is_gte_wc6_6 = defined( WC_VERSION ) && version_compare( WC_VERSION, '6.6', '>=' );
|
| 7 |
+
|
| 8 |
$stripe_settings = apply_filters(
|
| 9 |
'wc_stripe_settings',
|
| 10 |
[
|
| 17 |
],
|
| 18 |
'title' => [
|
| 19 |
'title' => __( 'Title', 'woocommerce-gateway-stripe' ),
|
| 20 |
+
'type' => $is_gte_wc6_6 ? 'safe_text' : 'text',
|
| 21 |
'description' => __( 'This controls the title which the user sees during checkout.', 'woocommerce-gateway-stripe' ),
|
| 22 |
'default' => __( 'Credit Card (Stripe)', 'woocommerce-gateway-stripe' ),
|
| 23 |
'desc_tip' => true,
|
| 24 |
],
|
| 25 |
'title_upe' => [
|
| 26 |
'title' => __( 'Title', 'woocommerce-gateway-stripe' ),
|
| 27 |
+
'type' => $is_gte_wc6_6 ? 'safe_text' : 'text',
|
| 28 |
'description' => __( 'This controls the title which the user sees during checkout when multiple payment methods are enabled.', 'woocommerce-gateway-stripe' ),
|
| 29 |
'default' => __( 'Popular payment methods', 'woocommerce-gateway-stripe' ),
|
| 30 |
'desc_tip' => true,
|
| 109 |
'default' => '',
|
| 110 |
'desc_tip' => true,
|
| 111 |
],
|
| 112 |
+
'short_statement_descriptor' => [
|
| 113 |
+
'title' => __( 'Short Statement Descriptor', 'woocommerce-gateway-stripe' ),
|
| 114 |
+
'type' => 'text',
|
| 115 |
+
'description' => __( 'Shortened version of the statement descriptor in combination with the customer order number.', 'woocommerce-gateway-stripe' ),
|
| 116 |
+
'default' => '',
|
| 117 |
+
'desc_tip' => true,
|
| 118 |
+
],
|
| 119 |
'capture' => [
|
| 120 |
'title' => __( 'Capture', 'woocommerce-gateway-stripe' ),
|
| 121 |
'label' => __( 'Capture charge immediately', 'woocommerce-gateway-stripe' ),
|
includes/class-wc-gateway-stripe.php
CHANGED
|
@@ -97,16 +97,16 @@ class WC_Gateway_Stripe extends WC_Stripe_Payment_Gateway {
|
|
| 97 |
$this->maybe_init_pre_orders();
|
| 98 |
|
| 99 |
// Get setting values.
|
| 100 |
-
$this->title = $this->
|
| 101 |
-
$this->description = $this->
|
| 102 |
$this->enabled = $this->get_option( 'enabled' );
|
| 103 |
$this->testmode = 'yes' === $this->get_option( 'testmode' );
|
| 104 |
$this->inline_cc_form = 'yes' === $this->get_option( 'inline_cc_form' );
|
| 105 |
$this->capture = 'yes' === $this->get_option( 'capture', 'yes' );
|
| 106 |
-
$this->statement_descriptor = WC_Stripe_Helper::clean_statement_descriptor( $this->
|
| 107 |
$this->saved_cards = 'yes' === $this->get_option( 'saved_cards' );
|
| 108 |
-
$this->secret_key = $this->testmode ? $this->
|
| 109 |
-
$this->publishable_key = $this->testmode ? $this->
|
| 110 |
$this->payment_request = 'yes' === $this->get_option( 'payment_request', 'yes' );
|
| 111 |
|
| 112 |
WC_Stripe_API::set_secret_key( $this->secret_key );
|
|
@@ -1247,4 +1247,57 @@ class WC_Gateway_Stripe extends WC_Stripe_Payment_Gateway {
|
|
| 1247 |
|
| 1248 |
return $settings;
|
| 1249 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1250 |
}
|
| 97 |
$this->maybe_init_pre_orders();
|
| 98 |
|
| 99 |
// Get setting values.
|
| 100 |
+
$this->title = $this->get_validated_option( 'title' );
|
| 101 |
+
$this->description = $this->get_validated_option( 'description' );
|
| 102 |
$this->enabled = $this->get_option( 'enabled' );
|
| 103 |
$this->testmode = 'yes' === $this->get_option( 'testmode' );
|
| 104 |
$this->inline_cc_form = 'yes' === $this->get_option( 'inline_cc_form' );
|
| 105 |
$this->capture = 'yes' === $this->get_option( 'capture', 'yes' );
|
| 106 |
+
$this->statement_descriptor = WC_Stripe_Helper::clean_statement_descriptor( $this->get_validated_option( 'statement_descriptor' ) );
|
| 107 |
$this->saved_cards = 'yes' === $this->get_option( 'saved_cards' );
|
| 108 |
+
$this->secret_key = $this->testmode ? $this->get_validated_option( 'test_secret_key' ) : $this->get_validated_option( 'secret_key' );
|
| 109 |
+
$this->publishable_key = $this->testmode ? $this->get_validated_option( 'test_publishable_key' ) : $this->get_validated_option( 'publishable_key' );
|
| 110 |
$this->payment_request = 'yes' === $this->get_option( 'payment_request', 'yes' );
|
| 111 |
|
| 112 |
WC_Stripe_API::set_secret_key( $this->secret_key );
|
| 1247 |
|
| 1248 |
return $settings;
|
| 1249 |
}
|
| 1250 |
+
|
| 1251 |
+
/**
|
| 1252 |
+
* Validates a field value before updating.
|
| 1253 |
+
*
|
| 1254 |
+
* @param string $field_key the form field key.
|
| 1255 |
+
* @param string $field_value the form field value.
|
| 1256 |
+
*
|
| 1257 |
+
* @return bool True if the value was updated, false otherwise.
|
| 1258 |
+
*/
|
| 1259 |
+
public function update_validated_option( $field_key, $field_value ) {
|
| 1260 |
+
$validated_field_value = $this->validate_field( $field_key, $field_value );
|
| 1261 |
+
return $this->update_option( $field_key, $validated_field_value );
|
| 1262 |
+
}
|
| 1263 |
+
|
| 1264 |
+
/**
|
| 1265 |
+
* Retrieves validated field value.
|
| 1266 |
+
*
|
| 1267 |
+
* @param string $field_key the form field key.
|
| 1268 |
+
* @param mixed $empty_value fallback value.
|
| 1269 |
+
*
|
| 1270 |
+
* @return string validated field value.
|
| 1271 |
+
*/
|
| 1272 |
+
public function get_validated_option( $field_key, $empty_value = null ) {
|
| 1273 |
+
$value = parent::get_option( $field_key, $empty_value );
|
| 1274 |
+
return $this->validate_field( $field_key, $value );
|
| 1275 |
+
}
|
| 1276 |
+
|
| 1277 |
+
/**
|
| 1278 |
+
* Ensures validated field values.
|
| 1279 |
+
*
|
| 1280 |
+
* @param string $field_key the form field key.
|
| 1281 |
+
* @param string $field_value the form field value.
|
| 1282 |
+
*
|
| 1283 |
+
* @return string validated field value.
|
| 1284 |
+
*/
|
| 1285 |
+
private function validate_field( $field_key, $field_value ) {
|
| 1286 |
+
if ( is_callable( [ $this, 'validate_' . $field_key . '_field' ] ) ) {
|
| 1287 |
+
return $this->{'validate_' . $field_key . '_field'}( $field_key, $field_value );
|
| 1288 |
+
}
|
| 1289 |
+
|
| 1290 |
+
if ( empty( $this->form_fields ) ) {
|
| 1291 |
+
$this->init_form_fields();
|
| 1292 |
+
}
|
| 1293 |
+
if ( key_exists( $field_key, $this->form_fields ) ) {
|
| 1294 |
+
$field_type = $this->form_fields[ $field_key ]['type'];
|
| 1295 |
+
|
| 1296 |
+
if ( is_callable( [ $this, 'validate_' . $field_type . '_field' ] ) ) {
|
| 1297 |
+
return $this->{'validate_' . $field_type . '_field'}( $field_key, $field_value );
|
| 1298 |
+
}
|
| 1299 |
+
}
|
| 1300 |
+
|
| 1301 |
+
return $this->validate_text_field( $field_key, $field_value );
|
| 1302 |
+
}
|
| 1303 |
}
|
includes/class-wc-stripe-order-handler.php
CHANGED
|
@@ -191,7 +191,7 @@ class WC_Stripe_Order_Handler extends WC_Stripe_Payment_Gateway {
|
|
| 191 |
}
|
| 192 |
|
| 193 |
/**
|
| 194 |
-
*
|
| 195 |
*
|
| 196 |
* @since 4.0.0
|
| 197 |
* @version 4.0.0
|
| 191 |
}
|
| 192 |
|
| 193 |
/**
|
| 194 |
+
* Processes the orders that are redirected.
|
| 195 |
*
|
| 196 |
* @since 4.0.0
|
| 197 |
* @version 4.0.0
|
languages/woocommerce-gateway-stripe.pot
CHANGED
|
@@ -2,14 +2,14 @@
|
|
| 2 |
# This file is distributed under the same license as the WooCommerce Stripe Gateway plugin.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
-
"Project-Id-Version: WooCommerce Stripe Gateway 6.4.
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-gateway-stripe\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-06-
|
| 13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
| 14 |
"X-Generator: WP-CLI 2.5.0\n"
|
| 15 |
"X-Domain: woocommerce-gateway-stripe\n"
|
|
@@ -614,8 +614,8 @@ msgstr ""
|
|
| 614 |
#: includes/admin/stripe-oxxo-settings.php:39
|
| 615 |
#: includes/admin/stripe-p24-settings.php:25
|
| 616 |
#: includes/admin/stripe-sepa-settings.php:29
|
| 617 |
-
#: includes/admin/stripe-settings.php:
|
| 618 |
-
#: includes/admin/stripe-settings.php:
|
| 619 |
#: includes/admin/stripe-sofort-settings.php:29
|
| 620 |
msgid "Title"
|
| 621 |
msgstr ""
|
|
@@ -630,7 +630,7 @@ msgstr ""
|
|
| 630 |
#: includes/admin/stripe-oxxo-settings.php:41
|
| 631 |
#: includes/admin/stripe-p24-settings.php:27
|
| 632 |
#: includes/admin/stripe-sepa-settings.php:31
|
| 633 |
-
#: includes/admin/stripe-settings.php:
|
| 634 |
#: includes/admin/stripe-sofort-settings.php:31
|
| 635 |
msgid "This controls the title which the user sees during checkout."
|
| 636 |
msgstr ""
|
|
@@ -655,7 +655,7 @@ msgstr ""
|
|
| 655 |
#: includes/admin/stripe-oxxo-settings.php:46
|
| 656 |
#: includes/admin/stripe-p24-settings.php:32
|
| 657 |
#: includes/admin/stripe-sepa-settings.php:36
|
| 658 |
-
#: includes/admin/stripe-settings.php:
|
| 659 |
#: includes/admin/stripe-sofort-settings.php:36
|
| 660 |
#: includes/payment-methods/class-wc-stripe-upe-payment-gateway.php:1159
|
| 661 |
#: client/settings/payment-gateway-section/index.js:102
|
|
@@ -673,7 +673,7 @@ msgstr ""
|
|
| 673 |
#: includes/admin/stripe-oxxo-settings.php:48
|
| 674 |
#: includes/admin/stripe-p24-settings.php:34
|
| 675 |
#: includes/admin/stripe-sepa-settings.php:38
|
| 676 |
-
#: includes/admin/stripe-settings.php:
|
| 677 |
#: includes/admin/stripe-sofort-settings.php:38
|
| 678 |
msgid "This controls the description which the user sees during checkout."
|
| 679 |
msgstr ""
|
|
@@ -692,7 +692,7 @@ msgstr ""
|
|
| 692 |
#: includes/admin/stripe-oxxo-settings.php:53
|
| 693 |
#: includes/admin/stripe-p24-settings.php:39
|
| 694 |
#: includes/admin/stripe-sepa-settings.php:43
|
| 695 |
-
#: includes/admin/stripe-settings.php:
|
| 696 |
#: includes/admin/stripe-sofort-settings.php:43
|
| 697 |
msgid "Webhook Endpoints"
|
| 698 |
msgstr ""
|
|
@@ -913,340 +913,348 @@ msgid "Mandate Information."
|
|
| 913 |
msgstr ""
|
| 914 |
|
| 915 |
#: build/upe_settings.js:1
|
| 916 |
-
#: includes/admin/stripe-settings.php:
|
| 917 |
#: client/settings/payment-settings/general-settings-section.js:59
|
| 918 |
msgid "Enable Stripe"
|
| 919 |
msgstr ""
|
| 920 |
|
| 921 |
-
#: includes/admin/stripe-settings.php:
|
| 922 |
msgid "Credit Card (Stripe)"
|
| 923 |
msgstr ""
|
| 924 |
|
| 925 |
-
#: includes/admin/stripe-settings.php:
|
| 926 |
msgid "This controls the title which the user sees during checkout when multiple payment methods are enabled."
|
| 927 |
msgstr ""
|
| 928 |
|
| 929 |
-
#: includes/admin/stripe-settings.php:
|
| 930 |
msgid "Popular payment methods"
|
| 931 |
msgstr ""
|
| 932 |
|
| 933 |
-
#: includes/admin/stripe-settings.php:
|
| 934 |
msgid "Pay with your credit card via Stripe."
|
| 935 |
msgstr ""
|
| 936 |
|
| 937 |
-
#: includes/admin/stripe-settings.php:
|
| 938 |
msgid "Stripe Account Keys"
|
| 939 |
msgstr ""
|
| 940 |
|
| 941 |
-
#: includes/admin/stripe-settings.php:
|
| 942 |
msgid "Test mode"
|
| 943 |
msgstr ""
|
| 944 |
|
| 945 |
-
#: includes/admin/stripe-settings.php:
|
| 946 |
msgid "Enable Test Mode"
|
| 947 |
msgstr ""
|
| 948 |
|
| 949 |
-
#: includes/admin/stripe-settings.php:
|
| 950 |
msgid "Place the payment gateway in test mode using test API keys."
|
| 951 |
msgstr ""
|
| 952 |
|
| 953 |
-
#: includes/admin/stripe-settings.php:
|
| 954 |
msgid "Test Publishable Key"
|
| 955 |
msgstr ""
|
| 956 |
|
| 957 |
-
#: includes/admin/stripe-settings.php:
|
| 958 |
msgid "Get your API keys from your stripe account. Invalid values will be rejected. Only values starting with \"pk_test_\" will be saved."
|
| 959 |
msgstr ""
|
| 960 |
|
| 961 |
-
#: includes/admin/stripe-settings.php:
|
| 962 |
msgid "Test Secret Key"
|
| 963 |
msgstr ""
|
| 964 |
|
| 965 |
-
#: includes/admin/stripe-settings.php:
|
| 966 |
msgid "Get your API keys from your stripe account. Invalid values will be rejected. Only values starting with \"sk_test_\" or \"rk_test_\" will be saved."
|
| 967 |
msgstr ""
|
| 968 |
|
| 969 |
-
#: includes/admin/stripe-settings.php:
|
| 970 |
msgid "Live Publishable Key"
|
| 971 |
msgstr ""
|
| 972 |
|
| 973 |
-
#: includes/admin/stripe-settings.php:
|
| 974 |
msgid "Get your API keys from your stripe account. Invalid values will be rejected. Only values starting with \"pk_live_\" will be saved."
|
| 975 |
msgstr ""
|
| 976 |
|
| 977 |
-
#: includes/admin/stripe-settings.php:
|
| 978 |
msgid "Live Secret Key"
|
| 979 |
msgstr ""
|
| 980 |
|
| 981 |
-
#: includes/admin/stripe-settings.php:
|
| 982 |
msgid "Get your API keys from your stripe account. Invalid values will be rejected. Only values starting with \"sk_live_\" or \"rk_live_\" will be saved."
|
| 983 |
msgstr ""
|
| 984 |
|
| 985 |
-
#: includes/admin/stripe-settings.php:
|
| 986 |
msgid "Test Webhook Secret"
|
| 987 |
msgstr ""
|
| 988 |
|
| 989 |
-
#: includes/admin/stripe-settings.php:
|
| 990 |
-
#: includes/admin/stripe-settings.php:
|
| 991 |
msgid "Get your webhook signing secret from the webhooks section in your stripe account."
|
| 992 |
msgstr ""
|
| 993 |
|
| 994 |
-
#: includes/admin/stripe-settings.php:
|
| 995 |
msgid "Webhook Secret"
|
| 996 |
msgstr ""
|
| 997 |
|
| 998 |
-
#: includes/admin/stripe-settings.php:
|
| 999 |
msgid "Inline Credit Card Form"
|
| 1000 |
msgstr ""
|
| 1001 |
|
| 1002 |
-
#: includes/admin/stripe-settings.php:
|
| 1003 |
msgid "Choose the style you want to show for your credit card form. When unchecked, the credit card form will display separate credit card number field, expiry date field and cvc field."
|
| 1004 |
msgstr ""
|
| 1005 |
|
| 1006 |
-
#: includes/admin/stripe-settings.php:
|
| 1007 |
msgid "Statement Descriptor"
|
| 1008 |
msgstr ""
|
| 1009 |
|
| 1010 |
-
#: includes/admin/stripe-settings.php:
|
| 1011 |
msgid "Statement descriptors are limited to 22 characters, cannot use the special characters >, <, \", \\, ', *, /, (, ), {, }, and must not consist solely of numbers. This will appear on your customer's statement in capital letters."
|
| 1012 |
msgstr ""
|
| 1013 |
|
| 1014 |
-
#: includes/admin/stripe-settings.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1015 |
msgid "Capture"
|
| 1016 |
msgstr ""
|
| 1017 |
|
| 1018 |
-
#: includes/admin/stripe-settings.php:
|
| 1019 |
msgid "Capture charge immediately"
|
| 1020 |
msgstr ""
|
| 1021 |
|
| 1022 |
-
#: includes/admin/stripe-settings.php:
|
| 1023 |
msgid "Whether or not to immediately capture the charge. When unchecked, the charge issues an authorization and will need to be captured later. Uncaptured charges expire in 7 days."
|
| 1024 |
msgstr ""
|
| 1025 |
|
| 1026 |
-
#: includes/admin/stripe-settings.php:
|
| 1027 |
msgid "Payment Request Buttons"
|
| 1028 |
msgstr ""
|
| 1029 |
|
| 1030 |
#. translators: 1) br tag 2) Stripe anchor tag 3) Apple anchor tag 4) Stripe dashboard opening anchor tag 5) Stripe dashboard closing anchor tag
|
| 1031 |
-
#: includes/admin/stripe-settings.php:
|
| 1032 |
msgid "Enable Payment Request Buttons. (Apple Pay/Google Pay) %1$sBy using Apple Pay, you agree to %2$s and %3$s's terms of service. (Apple Pay domain verification is performed automatically in live mode; configuration can be found on the %4$sStripe dashboard%5$s.)"
|
| 1033 |
msgstr ""
|
| 1034 |
|
| 1035 |
-
#: includes/admin/stripe-settings.php:
|
| 1036 |
msgid "If enabled, users will be able to pay using Apple Pay or Chrome Payment Request if supported by the browser."
|
| 1037 |
msgstr ""
|
| 1038 |
|
| 1039 |
-
#: includes/admin/stripe-settings.php:
|
| 1040 |
msgid "Payment Request Button Type"
|
| 1041 |
msgstr ""
|
| 1042 |
|
| 1043 |
-
#: includes/admin/stripe-settings.php:
|
| 1044 |
msgid "Button Type"
|
| 1045 |
msgstr ""
|
| 1046 |
|
| 1047 |
-
#: includes/admin/stripe-settings.php:
|
| 1048 |
msgid "Select the button type you would like to show."
|
| 1049 |
msgstr ""
|
| 1050 |
|
| 1051 |
-
#: includes/admin/stripe-settings.php:
|
| 1052 |
msgid "Default"
|
| 1053 |
msgstr ""
|
| 1054 |
|
| 1055 |
#: build/payment_requests_settings.js:1
|
| 1056 |
-
#: includes/admin/stripe-settings.php:
|
| 1057 |
#: client/entrypoints/payment-request-settings/payment-request-section.js:65
|
| 1058 |
msgid "Buy"
|
| 1059 |
msgstr ""
|
| 1060 |
|
| 1061 |
#: build/payment_requests_settings.js:1
|
| 1062 |
-
#: includes/admin/stripe-settings.php:
|
| 1063 |
#: client/entrypoints/payment-request-settings/payment-request-section.js:69
|
| 1064 |
msgid "Donate"
|
| 1065 |
msgstr ""
|
| 1066 |
|
| 1067 |
-
#: includes/admin/stripe-settings.php:
|
| 1068 |
msgid "Branded"
|
| 1069 |
msgstr ""
|
| 1070 |
|
| 1071 |
-
#: includes/admin/stripe-settings.php:
|
| 1072 |
msgid "Custom"
|
| 1073 |
msgstr ""
|
| 1074 |
|
| 1075 |
-
#: includes/admin/stripe-settings.php:
|
| 1076 |
msgid "Payment Request Button Theme"
|
| 1077 |
msgstr ""
|
| 1078 |
|
| 1079 |
-
#: includes/admin/stripe-settings.php:
|
| 1080 |
msgid "Button Theme"
|
| 1081 |
msgstr ""
|
| 1082 |
|
| 1083 |
-
#: includes/admin/stripe-settings.php:
|
| 1084 |
msgid "Select the button theme you would like to show."
|
| 1085 |
msgstr ""
|
| 1086 |
|
| 1087 |
-
#: includes/admin/stripe-settings.php:
|
| 1088 |
msgid "Dark"
|
| 1089 |
msgstr ""
|
| 1090 |
|
| 1091 |
-
#: includes/admin/stripe-settings.php:
|
| 1092 |
msgid "Light"
|
| 1093 |
msgstr ""
|
| 1094 |
|
| 1095 |
-
#: includes/admin/stripe-settings.php:
|
| 1096 |
msgid "Light-Outline"
|
| 1097 |
msgstr ""
|
| 1098 |
|
| 1099 |
-
#: includes/admin/stripe-settings.php:
|
| 1100 |
msgid "Payment Request Button Height"
|
| 1101 |
msgstr ""
|
| 1102 |
|
| 1103 |
-
#: includes/admin/stripe-settings.php:
|
| 1104 |
msgid "Button Height"
|
| 1105 |
msgstr ""
|
| 1106 |
|
| 1107 |
-
#: includes/admin/stripe-settings.php:
|
| 1108 |
msgid "Enter the height you would like the button to be in pixels. Width will always be 100%."
|
| 1109 |
msgstr ""
|
| 1110 |
|
| 1111 |
-
#: includes/admin/stripe-settings.php:
|
| 1112 |
msgid "Payment Request Button Label"
|
| 1113 |
msgstr ""
|
| 1114 |
|
| 1115 |
-
#: includes/admin/stripe-settings.php:
|
| 1116 |
msgid "Button Label"
|
| 1117 |
msgstr ""
|
| 1118 |
|
| 1119 |
-
#: includes/admin/stripe-settings.php:
|
| 1120 |
msgid "Enter the custom text you would like the button to have."
|
| 1121 |
msgstr ""
|
| 1122 |
|
| 1123 |
#: build/upe_blocks.js:1
|
| 1124 |
#: build/index.js:1
|
| 1125 |
-
#: includes/admin/stripe-settings.php:
|
| 1126 |
#: client/blocks/payment-request/custom-button.js:8
|
| 1127 |
msgid "Buy now"
|
| 1128 |
msgstr ""
|
| 1129 |
|
| 1130 |
-
#: includes/admin/stripe-settings.php:
|
| 1131 |
msgid "Payment Request Branded Button Label Format"
|
| 1132 |
msgstr ""
|
| 1133 |
|
| 1134 |
-
#: includes/admin/stripe-settings.php:
|
| 1135 |
msgid "Branded Button Label Format"
|
| 1136 |
msgstr ""
|
| 1137 |
|
| 1138 |
-
#: includes/admin/stripe-settings.php:
|
| 1139 |
msgid "Select the branded button label format."
|
| 1140 |
msgstr ""
|
| 1141 |
|
| 1142 |
-
#: includes/admin/stripe-settings.php:
|
| 1143 |
msgid "Logo only"
|
| 1144 |
msgstr ""
|
| 1145 |
|
| 1146 |
-
#: includes/admin/stripe-settings.php:
|
| 1147 |
msgid "Text and logo"
|
| 1148 |
msgstr ""
|
| 1149 |
|
| 1150 |
-
#: includes/admin/stripe-settings.php:
|
| 1151 |
msgid "Payment Request Button Locations"
|
| 1152 |
msgstr ""
|
| 1153 |
|
| 1154 |
-
#: includes/admin/stripe-settings.php:
|
| 1155 |
msgid "Select where you would like Payment Request Buttons to be displayed"
|
| 1156 |
msgstr ""
|
| 1157 |
|
| 1158 |
-
#: includes/admin/stripe-settings.php:
|
| 1159 |
msgid "Product"
|
| 1160 |
msgstr ""
|
| 1161 |
|
| 1162 |
#: build/upe_settings.js:1
|
| 1163 |
-
#: includes/admin/stripe-settings.php:
|
| 1164 |
#: client/settings/payment-request-section/index.js:159
|
| 1165 |
msgid "Cart"
|
| 1166 |
msgstr ""
|
| 1167 |
|
| 1168 |
#: build/upe_settings.js:1
|
| 1169 |
-
#: includes/admin/stripe-settings.php:
|
| 1170 |
#: client/settings/payment-request-section/index.js:127
|
| 1171 |
msgid "Checkout"
|
| 1172 |
msgstr ""
|
| 1173 |
|
| 1174 |
-
#: includes/admin/stripe-settings.php:
|
| 1175 |
msgid "Select pages"
|
| 1176 |
msgstr ""
|
| 1177 |
|
| 1178 |
-
#: includes/admin/stripe-settings.php:
|
| 1179 |
msgid "Payment Request Button Size"
|
| 1180 |
msgstr ""
|
| 1181 |
|
| 1182 |
-
#: includes/admin/stripe-settings.php:
|
| 1183 |
msgid "Select the size of the button."
|
| 1184 |
msgstr ""
|
| 1185 |
|
| 1186 |
-
#: includes/admin/stripe-settings.php:
|
| 1187 |
msgid "Default (40px)"
|
| 1188 |
msgstr ""
|
| 1189 |
|
| 1190 |
-
#: includes/admin/stripe-settings.php:
|
| 1191 |
msgid "Medium (48px)"
|
| 1192 |
msgstr ""
|
| 1193 |
|
| 1194 |
-
#: includes/admin/stripe-settings.php:
|
| 1195 |
msgid "Large (56px)"
|
| 1196 |
msgstr ""
|
| 1197 |
|
| 1198 |
-
#: includes/admin/stripe-settings.php:
|
| 1199 |
msgid "Saved Cards"
|
| 1200 |
msgstr ""
|
| 1201 |
|
| 1202 |
-
#: includes/admin/stripe-settings.php:
|
| 1203 |
msgid "Enable Payment via Saved Cards"
|
| 1204 |
msgstr ""
|
| 1205 |
|
| 1206 |
#: build/upe_settings.js:1
|
| 1207 |
-
#: includes/admin/stripe-settings.php:
|
| 1208 |
#: client/settings/payments-and-transactions-section/index.js:83
|
| 1209 |
msgid "If enabled, users will be able to pay with a saved card during checkout. Card details are saved on Stripe servers, not on your store."
|
| 1210 |
msgstr ""
|
| 1211 |
|
| 1212 |
-
#: includes/admin/stripe-settings.php:
|
| 1213 |
msgid "Logging"
|
| 1214 |
msgstr ""
|
| 1215 |
|
| 1216 |
-
#: includes/admin/stripe-settings.php:
|
| 1217 |
msgid "Log debug messages"
|
| 1218 |
msgstr ""
|
| 1219 |
|
| 1220 |
-
#: includes/admin/stripe-settings.php:
|
| 1221 |
msgid "Save debug messages to the WooCommerce System Status log."
|
| 1222 |
msgstr ""
|
| 1223 |
|
| 1224 |
#: build/payment_requests_settings.js:1
|
| 1225 |
-
#: includes/admin/stripe-settings.php:
|
| 1226 |
#: client/entrypoints/payment-request-settings/payment-request-section.js:61
|
| 1227 |
msgid "Only icon"
|
| 1228 |
msgstr ""
|
| 1229 |
|
| 1230 |
#: build/payment_requests_settings.js:1
|
| 1231 |
-
#: includes/admin/stripe-settings.php:
|
| 1232 |
#: client/entrypoints/payment-request-settings/payment-request-section.js:73
|
| 1233 |
msgid "Book"
|
| 1234 |
msgstr ""
|
| 1235 |
|
| 1236 |
-
#: includes/admin/stripe-settings.php:
|
| 1237 |
msgid "New checkout experience"
|
| 1238 |
msgstr ""
|
| 1239 |
|
| 1240 |
#. translators: 1) br tag 2) Stripe anchor tag 3) Apple anchor tag 4) Stripe dashboard opening anchor tag 5) Stripe dashboard closing anchor tag
|
| 1241 |
-
#: includes/admin/stripe-settings.php:
|
| 1242 |
msgid "Try the new payment experience (Early access) %1$sGet early access to a new, smarter payment experience on checkout and let us know what you think by %2$s. We recommend this feature for experienced merchants as the functionality is currently limited. %3$s"
|
| 1243 |
msgstr ""
|
| 1244 |
|
| 1245 |
-
#: includes/admin/stripe-settings.php:
|
| 1246 |
msgid "New checkout experience allows you to manage all payment methods on one screen and display them to customers based on their currency and location."
|
| 1247 |
msgstr ""
|
| 1248 |
|
| 1249 |
-
#: includes/admin/stripe-settings.php:
|
| 1250 |
msgid "Payments accepted on checkout (Early access)"
|
| 1251 |
msgstr ""
|
| 1252 |
|
| 2 |
# This file is distributed under the same license as the WooCommerce Stripe Gateway plugin.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: WooCommerce Stripe Gateway 6.4.2\n"
|
| 6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-gateway-stripe\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-06-29T04:10:19+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: woocommerce-gateway-stripe\n"
|
| 614 |
#: includes/admin/stripe-oxxo-settings.php:39
|
| 615 |
#: includes/admin/stripe-p24-settings.php:25
|
| 616 |
#: includes/admin/stripe-sepa-settings.php:29
|
| 617 |
+
#: includes/admin/stripe-settings.php:19
|
| 618 |
+
#: includes/admin/stripe-settings.php:26
|
| 619 |
#: includes/admin/stripe-sofort-settings.php:29
|
| 620 |
msgid "Title"
|
| 621 |
msgstr ""
|
| 630 |
#: includes/admin/stripe-oxxo-settings.php:41
|
| 631 |
#: includes/admin/stripe-p24-settings.php:27
|
| 632 |
#: includes/admin/stripe-sepa-settings.php:31
|
| 633 |
+
#: includes/admin/stripe-settings.php:21
|
| 634 |
#: includes/admin/stripe-sofort-settings.php:31
|
| 635 |
msgid "This controls the title which the user sees during checkout."
|
| 636 |
msgstr ""
|
| 655 |
#: includes/admin/stripe-oxxo-settings.php:46
|
| 656 |
#: includes/admin/stripe-p24-settings.php:32
|
| 657 |
#: includes/admin/stripe-sepa-settings.php:36
|
| 658 |
+
#: includes/admin/stripe-settings.php:33
|
| 659 |
#: includes/admin/stripe-sofort-settings.php:36
|
| 660 |
#: includes/payment-methods/class-wc-stripe-upe-payment-gateway.php:1159
|
| 661 |
#: client/settings/payment-gateway-section/index.js:102
|
| 673 |
#: includes/admin/stripe-oxxo-settings.php:48
|
| 674 |
#: includes/admin/stripe-p24-settings.php:34
|
| 675 |
#: includes/admin/stripe-sepa-settings.php:38
|
| 676 |
+
#: includes/admin/stripe-settings.php:35
|
| 677 |
#: includes/admin/stripe-sofort-settings.php:38
|
| 678 |
msgid "This controls the description which the user sees during checkout."
|
| 679 |
msgstr ""
|
| 692 |
#: includes/admin/stripe-oxxo-settings.php:53
|
| 693 |
#: includes/admin/stripe-p24-settings.php:39
|
| 694 |
#: includes/admin/stripe-sepa-settings.php:43
|
| 695 |
+
#: includes/admin/stripe-settings.php:80
|
| 696 |
#: includes/admin/stripe-sofort-settings.php:43
|
| 697 |
msgid "Webhook Endpoints"
|
| 698 |
msgstr ""
|
| 913 |
msgstr ""
|
| 914 |
|
| 915 |
#: build/upe_settings.js:1
|
| 916 |
+
#: includes/admin/stripe-settings.php:13
|
| 917 |
#: client/settings/payment-settings/general-settings-section.js:59
|
| 918 |
msgid "Enable Stripe"
|
| 919 |
msgstr ""
|
| 920 |
|
| 921 |
+
#: includes/admin/stripe-settings.php:22
|
| 922 |
msgid "Credit Card (Stripe)"
|
| 923 |
msgstr ""
|
| 924 |
|
| 925 |
+
#: includes/admin/stripe-settings.php:28
|
| 926 |
msgid "This controls the title which the user sees during checkout when multiple payment methods are enabled."
|
| 927 |
msgstr ""
|
| 928 |
|
| 929 |
+
#: includes/admin/stripe-settings.php:29
|
| 930 |
msgid "Popular payment methods"
|
| 931 |
msgstr ""
|
| 932 |
|
| 933 |
+
#: includes/admin/stripe-settings.php:36
|
| 934 |
msgid "Pay with your credit card via Stripe."
|
| 935 |
msgstr ""
|
| 936 |
|
| 937 |
+
#: includes/admin/stripe-settings.php:40
|
| 938 |
msgid "Stripe Account Keys"
|
| 939 |
msgstr ""
|
| 940 |
|
| 941 |
+
#: includes/admin/stripe-settings.php:44
|
| 942 |
msgid "Test mode"
|
| 943 |
msgstr ""
|
| 944 |
|
| 945 |
+
#: includes/admin/stripe-settings.php:45
|
| 946 |
msgid "Enable Test Mode"
|
| 947 |
msgstr ""
|
| 948 |
|
| 949 |
+
#: includes/admin/stripe-settings.php:47
|
| 950 |
msgid "Place the payment gateway in test mode using test API keys."
|
| 951 |
msgstr ""
|
| 952 |
|
| 953 |
+
#: includes/admin/stripe-settings.php:52
|
| 954 |
msgid "Test Publishable Key"
|
| 955 |
msgstr ""
|
| 956 |
|
| 957 |
+
#: includes/admin/stripe-settings.php:54
|
| 958 |
msgid "Get your API keys from your stripe account. Invalid values will be rejected. Only values starting with \"pk_test_\" will be saved."
|
| 959 |
msgstr ""
|
| 960 |
|
| 961 |
+
#: includes/admin/stripe-settings.php:59
|
| 962 |
msgid "Test Secret Key"
|
| 963 |
msgstr ""
|
| 964 |
|
| 965 |
+
#: includes/admin/stripe-settings.php:61
|
| 966 |
msgid "Get your API keys from your stripe account. Invalid values will be rejected. Only values starting with \"sk_test_\" or \"rk_test_\" will be saved."
|
| 967 |
msgstr ""
|
| 968 |
|
| 969 |
+
#: includes/admin/stripe-settings.php:66
|
| 970 |
msgid "Live Publishable Key"
|
| 971 |
msgstr ""
|
| 972 |
|
| 973 |
+
#: includes/admin/stripe-settings.php:68
|
| 974 |
msgid "Get your API keys from your stripe account. Invalid values will be rejected. Only values starting with \"pk_live_\" will be saved."
|
| 975 |
msgstr ""
|
| 976 |
|
| 977 |
+
#: includes/admin/stripe-settings.php:73
|
| 978 |
msgid "Live Secret Key"
|
| 979 |
msgstr ""
|
| 980 |
|
| 981 |
+
#: includes/admin/stripe-settings.php:75
|
| 982 |
msgid "Get your API keys from your stripe account. Invalid values will be rejected. Only values starting with \"sk_live_\" or \"rk_live_\" will be saved."
|
| 983 |
msgstr ""
|
| 984 |
|
| 985 |
+
#: includes/admin/stripe-settings.php:85
|
| 986 |
msgid "Test Webhook Secret"
|
| 987 |
msgstr ""
|
| 988 |
|
| 989 |
+
#: includes/admin/stripe-settings.php:87
|
| 990 |
+
#: includes/admin/stripe-settings.php:94
|
| 991 |
msgid "Get your webhook signing secret from the webhooks section in your stripe account."
|
| 992 |
msgstr ""
|
| 993 |
|
| 994 |
+
#: includes/admin/stripe-settings.php:92
|
| 995 |
msgid "Webhook Secret"
|
| 996 |
msgstr ""
|
| 997 |
|
| 998 |
+
#: includes/admin/stripe-settings.php:99
|
| 999 |
msgid "Inline Credit Card Form"
|
| 1000 |
msgstr ""
|
| 1001 |
|
| 1002 |
+
#: includes/admin/stripe-settings.php:101
|
| 1003 |
msgid "Choose the style you want to show for your credit card form. When unchecked, the credit card form will display separate credit card number field, expiry date field and cvc field."
|
| 1004 |
msgstr ""
|
| 1005 |
|
| 1006 |
+
#: includes/admin/stripe-settings.php:106
|
| 1007 |
msgid "Statement Descriptor"
|
| 1008 |
msgstr ""
|
| 1009 |
|
| 1010 |
+
#: includes/admin/stripe-settings.php:108
|
| 1011 |
msgid "Statement descriptors are limited to 22 characters, cannot use the special characters >, <, \", \\, ', *, /, (, ), {, }, and must not consist solely of numbers. This will appear on your customer's statement in capital letters."
|
| 1012 |
msgstr ""
|
| 1013 |
|
| 1014 |
+
#: includes/admin/stripe-settings.php:113
|
| 1015 |
+
msgid "Short Statement Descriptor"
|
| 1016 |
+
msgstr ""
|
| 1017 |
+
|
| 1018 |
+
#: includes/admin/stripe-settings.php:115
|
| 1019 |
+
msgid "Shortened version of the statement descriptor in combination with the customer order number."
|
| 1020 |
+
msgstr ""
|
| 1021 |
+
|
| 1022 |
+
#: includes/admin/stripe-settings.php:120
|
| 1023 |
msgid "Capture"
|
| 1024 |
msgstr ""
|
| 1025 |
|
| 1026 |
+
#: includes/admin/stripe-settings.php:121
|
| 1027 |
msgid "Capture charge immediately"
|
| 1028 |
msgstr ""
|
| 1029 |
|
| 1030 |
+
#: includes/admin/stripe-settings.php:123
|
| 1031 |
msgid "Whether or not to immediately capture the charge. When unchecked, the charge issues an authorization and will need to be captured later. Uncaptured charges expire in 7 days."
|
| 1032 |
msgstr ""
|
| 1033 |
|
| 1034 |
+
#: includes/admin/stripe-settings.php:128
|
| 1035 |
msgid "Payment Request Buttons"
|
| 1036 |
msgstr ""
|
| 1037 |
|
| 1038 |
#. translators: 1) br tag 2) Stripe anchor tag 3) Apple anchor tag 4) Stripe dashboard opening anchor tag 5) Stripe dashboard closing anchor tag
|
| 1039 |
+
#: includes/admin/stripe-settings.php:131
|
| 1040 |
msgid "Enable Payment Request Buttons. (Apple Pay/Google Pay) %1$sBy using Apple Pay, you agree to %2$s and %3$s's terms of service. (Apple Pay domain verification is performed automatically in live mode; configuration can be found on the %4$sStripe dashboard%5$s.)"
|
| 1041 |
msgstr ""
|
| 1042 |
|
| 1043 |
+
#: includes/admin/stripe-settings.php:139
|
| 1044 |
msgid "If enabled, users will be able to pay using Apple Pay or Chrome Payment Request if supported by the browser."
|
| 1045 |
msgstr ""
|
| 1046 |
|
| 1047 |
+
#: includes/admin/stripe-settings.php:144
|
| 1048 |
msgid "Payment Request Button Type"
|
| 1049 |
msgstr ""
|
| 1050 |
|
| 1051 |
+
#: includes/admin/stripe-settings.php:145
|
| 1052 |
msgid "Button Type"
|
| 1053 |
msgstr ""
|
| 1054 |
|
| 1055 |
+
#: includes/admin/stripe-settings.php:147
|
| 1056 |
msgid "Select the button type you would like to show."
|
| 1057 |
msgstr ""
|
| 1058 |
|
| 1059 |
+
#: includes/admin/stripe-settings.php:151
|
| 1060 |
msgid "Default"
|
| 1061 |
msgstr ""
|
| 1062 |
|
| 1063 |
#: build/payment_requests_settings.js:1
|
| 1064 |
+
#: includes/admin/stripe-settings.php:152
|
| 1065 |
#: client/entrypoints/payment-request-settings/payment-request-section.js:65
|
| 1066 |
msgid "Buy"
|
| 1067 |
msgstr ""
|
| 1068 |
|
| 1069 |
#: build/payment_requests_settings.js:1
|
| 1070 |
+
#: includes/admin/stripe-settings.php:153
|
| 1071 |
#: client/entrypoints/payment-request-settings/payment-request-section.js:69
|
| 1072 |
msgid "Donate"
|
| 1073 |
msgstr ""
|
| 1074 |
|
| 1075 |
+
#: includes/admin/stripe-settings.php:154
|
| 1076 |
msgid "Branded"
|
| 1077 |
msgstr ""
|
| 1078 |
|
| 1079 |
+
#: includes/admin/stripe-settings.php:155
|
| 1080 |
msgid "Custom"
|
| 1081 |
msgstr ""
|
| 1082 |
|
| 1083 |
+
#: includes/admin/stripe-settings.php:159
|
| 1084 |
msgid "Payment Request Button Theme"
|
| 1085 |
msgstr ""
|
| 1086 |
|
| 1087 |
+
#: includes/admin/stripe-settings.php:160
|
| 1088 |
msgid "Button Theme"
|
| 1089 |
msgstr ""
|
| 1090 |
|
| 1091 |
+
#: includes/admin/stripe-settings.php:162
|
| 1092 |
msgid "Select the button theme you would like to show."
|
| 1093 |
msgstr ""
|
| 1094 |
|
| 1095 |
+
#: includes/admin/stripe-settings.php:166
|
| 1096 |
msgid "Dark"
|
| 1097 |
msgstr ""
|
| 1098 |
|
| 1099 |
+
#: includes/admin/stripe-settings.php:167
|
| 1100 |
msgid "Light"
|
| 1101 |
msgstr ""
|
| 1102 |
|
| 1103 |
+
#: includes/admin/stripe-settings.php:168
|
| 1104 |
msgid "Light-Outline"
|
| 1105 |
msgstr ""
|
| 1106 |
|
| 1107 |
+
#: includes/admin/stripe-settings.php:172
|
| 1108 |
msgid "Payment Request Button Height"
|
| 1109 |
msgstr ""
|
| 1110 |
|
| 1111 |
+
#: includes/admin/stripe-settings.php:173
|
| 1112 |
msgid "Button Height"
|
| 1113 |
msgstr ""
|
| 1114 |
|
| 1115 |
+
#: includes/admin/stripe-settings.php:175
|
| 1116 |
msgid "Enter the height you would like the button to be in pixels. Width will always be 100%."
|
| 1117 |
msgstr ""
|
| 1118 |
|
| 1119 |
+
#: includes/admin/stripe-settings.php:180
|
| 1120 |
msgid "Payment Request Button Label"
|
| 1121 |
msgstr ""
|
| 1122 |
|
| 1123 |
+
#: includes/admin/stripe-settings.php:181
|
| 1124 |
msgid "Button Label"
|
| 1125 |
msgstr ""
|
| 1126 |
|
| 1127 |
+
#: includes/admin/stripe-settings.php:183
|
| 1128 |
msgid "Enter the custom text you would like the button to have."
|
| 1129 |
msgstr ""
|
| 1130 |
|
| 1131 |
#: build/upe_blocks.js:1
|
| 1132 |
#: build/index.js:1
|
| 1133 |
+
#: includes/admin/stripe-settings.php:184
|
| 1134 |
#: client/blocks/payment-request/custom-button.js:8
|
| 1135 |
msgid "Buy now"
|
| 1136 |
msgstr ""
|
| 1137 |
|
| 1138 |
+
#: includes/admin/stripe-settings.php:188
|
| 1139 |
msgid "Payment Request Branded Button Label Format"
|
| 1140 |
msgstr ""
|
| 1141 |
|
| 1142 |
+
#: includes/admin/stripe-settings.php:189
|
| 1143 |
msgid "Branded Button Label Format"
|
| 1144 |
msgstr ""
|
| 1145 |
|
| 1146 |
+
#: includes/admin/stripe-settings.php:191
|
| 1147 |
msgid "Select the branded button label format."
|
| 1148 |
msgstr ""
|
| 1149 |
|
| 1150 |
+
#: includes/admin/stripe-settings.php:195
|
| 1151 |
msgid "Logo only"
|
| 1152 |
msgstr ""
|
| 1153 |
|
| 1154 |
+
#: includes/admin/stripe-settings.php:196
|
| 1155 |
msgid "Text and logo"
|
| 1156 |
msgstr ""
|
| 1157 |
|
| 1158 |
+
#: includes/admin/stripe-settings.php:200
|
| 1159 |
msgid "Payment Request Button Locations"
|
| 1160 |
msgstr ""
|
| 1161 |
|
| 1162 |
+
#: includes/admin/stripe-settings.php:202
|
| 1163 |
msgid "Select where you would like Payment Request Buttons to be displayed"
|
| 1164 |
msgstr ""
|
| 1165 |
|
| 1166 |
+
#: includes/admin/stripe-settings.php:206
|
| 1167 |
msgid "Product"
|
| 1168 |
msgstr ""
|
| 1169 |
|
| 1170 |
#: build/upe_settings.js:1
|
| 1171 |
+
#: includes/admin/stripe-settings.php:207
|
| 1172 |
#: client/settings/payment-request-section/index.js:159
|
| 1173 |
msgid "Cart"
|
| 1174 |
msgstr ""
|
| 1175 |
|
| 1176 |
#: build/upe_settings.js:1
|
| 1177 |
+
#: includes/admin/stripe-settings.php:208
|
| 1178 |
#: client/settings/payment-request-section/index.js:127
|
| 1179 |
msgid "Checkout"
|
| 1180 |
msgstr ""
|
| 1181 |
|
| 1182 |
+
#: includes/admin/stripe-settings.php:212
|
| 1183 |
msgid "Select pages"
|
| 1184 |
msgstr ""
|
| 1185 |
|
| 1186 |
+
#: includes/admin/stripe-settings.php:216
|
| 1187 |
msgid "Payment Request Button Size"
|
| 1188 |
msgstr ""
|
| 1189 |
|
| 1190 |
+
#: includes/admin/stripe-settings.php:218
|
| 1191 |
msgid "Select the size of the button."
|
| 1192 |
msgstr ""
|
| 1193 |
|
| 1194 |
+
#: includes/admin/stripe-settings.php:222
|
| 1195 |
msgid "Default (40px)"
|
| 1196 |
msgstr ""
|
| 1197 |
|
| 1198 |
+
#: includes/admin/stripe-settings.php:223
|
| 1199 |
msgid "Medium (48px)"
|
| 1200 |
msgstr ""
|
| 1201 |
|
| 1202 |
+
#: includes/admin/stripe-settings.php:224
|
| 1203 |
msgid "Large (56px)"
|
| 1204 |
msgstr ""
|
| 1205 |
|
| 1206 |
+
#: includes/admin/stripe-settings.php:228
|
| 1207 |
msgid "Saved Cards"
|
| 1208 |
msgstr ""
|
| 1209 |
|
| 1210 |
+
#: includes/admin/stripe-settings.php:229
|
| 1211 |
msgid "Enable Payment via Saved Cards"
|
| 1212 |
msgstr ""
|
| 1213 |
|
| 1214 |
#: build/upe_settings.js:1
|
| 1215 |
+
#: includes/admin/stripe-settings.php:231
|
| 1216 |
#: client/settings/payments-and-transactions-section/index.js:83
|
| 1217 |
msgid "If enabled, users will be able to pay with a saved card during checkout. Card details are saved on Stripe servers, not on your store."
|
| 1218 |
msgstr ""
|
| 1219 |
|
| 1220 |
+
#: includes/admin/stripe-settings.php:236
|
| 1221 |
msgid "Logging"
|
| 1222 |
msgstr ""
|
| 1223 |
|
| 1224 |
+
#: includes/admin/stripe-settings.php:237
|
| 1225 |
msgid "Log debug messages"
|
| 1226 |
msgstr ""
|
| 1227 |
|
| 1228 |
+
#: includes/admin/stripe-settings.php:239
|
| 1229 |
msgid "Save debug messages to the WooCommerce System Status log."
|
| 1230 |
msgstr ""
|
| 1231 |
|
| 1232 |
#: build/payment_requests_settings.js:1
|
| 1233 |
+
#: includes/admin/stripe-settings.php:255
|
| 1234 |
#: client/entrypoints/payment-request-settings/payment-request-section.js:61
|
| 1235 |
msgid "Only icon"
|
| 1236 |
msgstr ""
|
| 1237 |
|
| 1238 |
#: build/payment_requests_settings.js:1
|
| 1239 |
+
#: includes/admin/stripe-settings.php:256
|
| 1240 |
#: client/entrypoints/payment-request-settings/payment-request-section.js:73
|
| 1241 |
msgid "Book"
|
| 1242 |
msgstr ""
|
| 1243 |
|
| 1244 |
+
#: includes/admin/stripe-settings.php:267
|
| 1245 |
msgid "New checkout experience"
|
| 1246 |
msgstr ""
|
| 1247 |
|
| 1248 |
#. translators: 1) br tag 2) Stripe anchor tag 3) Apple anchor tag 4) Stripe dashboard opening anchor tag 5) Stripe dashboard closing anchor tag
|
| 1249 |
+
#: includes/admin/stripe-settings.php:270
|
| 1250 |
msgid "Try the new payment experience (Early access) %1$sGet early access to a new, smarter payment experience on checkout and let us know what you think by %2$s. We recommend this feature for experienced merchants as the functionality is currently limited. %3$s"
|
| 1251 |
msgstr ""
|
| 1252 |
|
| 1253 |
+
#: includes/admin/stripe-settings.php:276
|
| 1254 |
msgid "New checkout experience allows you to manage all payment methods on one screen and display them to customers based on their currency and location."
|
| 1255 |
msgstr ""
|
| 1256 |
|
| 1257 |
+
#: includes/admin/stripe-settings.php:284
|
| 1258 |
msgid "Payments accepted on checkout (Early access)"
|
| 1259 |
msgstr ""
|
| 1260 |
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Tags: credit card, stripe, apple pay, payment request, google pay, sepa, sofort,
|
|
| 4 |
Requires at least: 5.7
|
| 5 |
Tested up to: 5.9
|
| 6 |
Requires PHP: 7.0
|
| 7 |
-
Stable tag: 6.4.
|
| 8 |
License: GPLv3
|
| 9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
| 10 |
Attributions: thorsten-stripe
|
|
@@ -128,7 +128,8 @@ If you get stuck, you can ask for help in the Plugin Forum.
|
|
| 128 |
|
| 129 |
== Changelog ==
|
| 130 |
|
| 131 |
-
= 6.4.
|
| 132 |
-
* Fix -
|
|
|
|
| 133 |
|
| 134 |
[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-gateway-stripe/trunk/changelog.txt).
|
| 4 |
Requires at least: 5.7
|
| 5 |
Tested up to: 5.9
|
| 6 |
Requires PHP: 7.0
|
| 7 |
+
Stable tag: 6.4.2
|
| 8 |
License: GPLv3
|
| 9 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
| 10 |
Attributions: thorsten-stripe
|
| 128 |
|
| 129 |
== Changelog ==
|
| 130 |
|
| 131 |
+
= 6.4.2 - 2022-06-29 =
|
| 132 |
+
* Fix - Fix terminal location creation if site title is missing.
|
| 133 |
+
* Fix - Add compatibility with WooCommerce 6.6.
|
| 134 |
|
| 135 |
[See changelog for all versions](https://raw.githubusercontent.com/woocommerce/woocommerce-gateway-stripe/trunk/changelog.txt).
|
woocommerce-gateway-stripe.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* Description: Take credit card payments on your store using Stripe.
|
| 6 |
* Author: WooCommerce
|
| 7 |
* Author URI: https://woocommerce.com/
|
| 8 |
-
* Version: 6.4.
|
| 9 |
* Requires at least: 5.7
|
| 10 |
* Tested up to: 5.9
|
| 11 |
* WC requires at least: 6.2
|
|
@@ -21,7 +21,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
| 21 |
/**
|
| 22 |
* Required minimums and constants
|
| 23 |
*/
|
| 24 |
-
define( 'WC_STRIPE_VERSION', '6.4.
|
| 25 |
define( 'WC_STRIPE_MIN_PHP_VER', '7.0.0' );
|
| 26 |
define( 'WC_STRIPE_MIN_WC_VER', '6.2' );
|
| 27 |
define( 'WC_STRIPE_FUTURE_MIN_WC_VER', '6.3' );
|
| 5 |
* Description: Take credit card payments on your store using Stripe.
|
| 6 |
* Author: WooCommerce
|
| 7 |
* Author URI: https://woocommerce.com/
|
| 8 |
+
* Version: 6.4.2
|
| 9 |
* Requires at least: 5.7
|
| 10 |
* Tested up to: 5.9
|
| 11 |
* WC requires at least: 6.2
|
| 21 |
/**
|
| 22 |
* Required minimums and constants
|
| 23 |
*/
|
| 24 |
+
define( 'WC_STRIPE_VERSION', '6.4.2' ); // WRCS: DEFINED_VERSION.
|
| 25 |
define( 'WC_STRIPE_MIN_PHP_VER', '7.0.0' );
|
| 26 |
define( 'WC_STRIPE_MIN_WC_VER', '6.2' );
|
| 27 |
define( 'WC_STRIPE_FUTURE_MIN_WC_VER', '6.3' );
|
