Facebook for WooCommerce - Version 2.2.0

Version Description

Download this release

Release Info

Developer SkyVerge
Plugin Icon Facebook for WooCommerce
Version 2.2.0
Comparing to
See all releases

Code changes from version 2.1.4 to 2.2.0

Files changed (78) hide show
  1. assets/css/admin/facebook-for-woocommerce-advertise.css +33 -0
  2. assets/css/admin/facebook-for-woocommerce-connection.css +2 -2
  3. changelog.txt +6 -0
  4. class-wc-facebookcommerce.php +27 -2
  5. facebook-commerce-events-tracker.php +93 -44
  6. facebook-commerce-messenger-chat.php +5 -160
  7. facebook-commerce.php +1 -1
  8. facebook-for-woocommerce.php +3 -3
  9. i18n/languages/facebook-for-woocommerce.pot +109 -86
  10. includes/AJAX.php +1 -1
  11. includes/API.php +1 -1
  12. includes/API/Catalog/Send_Item_Updates/Response.php +1 -1
  13. includes/API/Exceptions/Request_Limit_Reached.php +1 -1
  14. includes/API/Request.php +1 -1
  15. includes/API/Response.php +1 -1
  16. includes/Admin.php +1 -1
  17. includes/Admin/Abstract_Settings_Screen.php +22 -2
  18. includes/Admin/Product_Categories.php +1 -1
  19. includes/Admin/Products.php +1 -1
  20. includes/Admin/Settings.php +74 -8
  21. includes/Admin/Settings_Screens/Advertise.php +245 -0
  22. includes/Admin/Settings_Screens/Connection.php +13 -45
  23. includes/Admin/Settings_Screens/Messenger.php +3 -2
  24. includes/Admin/Settings_Screens/Product_Sync.php +2 -4
  25. includes/Commerce/Orders.php +2 -2
  26. includes/Handlers/Connection.php +2 -2
  27. includes/Integrations/Integrations.php +1 -1
  28. includes/Lifecycle.php +1 -1
  29. includes/Locale.php +213 -0
  30. includes/Products.php +2 -2
  31. includes/Products/FBCategories.php +1 -1
  32. includes/Products/Feed.php +1 -1
  33. includes/Products/Sync/Background.php +8 -2
  34. includes/Utilities/Background_Handle_Virtual_Products_Variations.php +1 -1
  35. includes/Utilities/Background_Remove_Duplicate_Visibility_Meta.php +1 -1
  36. includes/fbgraph.php +1 -1
  37. includes/fbproduct.php +2 -2
  38. includes/fbproductfeed.php +1 -1
  39. readme.txt +8 -2
  40. vendor/skyverge/wc-plugin-framework/woocommerce/Addresses/Address.php +2 -2
  41. vendor/skyverge/wc-plugin-framework/woocommerce/Addresses/Customer_Address.php +2 -2
  42. vendor/skyverge/wc-plugin-framework/woocommerce/Country_Helper.php +2 -2
  43. vendor/skyverge/wc-plugin-framework/woocommerce/Handlers/Script_Handler.php +343 -0
  44. vendor/skyverge/wc-plugin-framework/woocommerce/Lifecycle.php +21 -4
  45. vendor/skyverge/wc-plugin-framework/woocommerce/Settings_API/Abstract_Settings.php +536 -0
  46. vendor/skyverge/wc-plugin-framework/woocommerce/Settings_API/Control.php +270 -0
  47. vendor/skyverge/wc-plugin-framework/woocommerce/Settings_API/Setting.php +478 -0
  48. vendor/skyverge/wc-plugin-framework/woocommerce/admin/Notes_Helper.php +149 -0
  49. vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php +3 -3
  50. vendor/skyverge/wc-plugin-framework/woocommerce/api/abstract-sv-wc-api-json-request.php +2 -2
  51. vendor/skyverge/wc-plugin-framework/woocommerce/api/abstract-sv-wc-api-json-response.php +2 -2
  52. vendor/skyverge/wc-plugin-framework/woocommerce/api/abstract-sv-wc-api-xml-request.php +2 -2
  53. vendor/skyverge/wc-plugin-framework/woocommerce/api/abstract-sv-wc-api-xml-response.php +2 -2
  54. vendor/skyverge/wc-plugin-framework/woocommerce/api/class-sv-wc-api-base.php +2 -2
  55. vendor/skyverge/wc-plugin-framework/woocommerce/api/class-sv-wc-api-exception.php +2 -2
  56. vendor/skyverge/wc-plugin-framework/woocommerce/api/interface-sv-wc-api-request.php +2 -2
  57. vendor/skyverge/wc-plugin-framework/woocommerce/api/interface-sv-wc-api-response.php +2 -2
  58. vendor/skyverge/wc-plugin-framework/woocommerce/changelog.txt +40 -0
  59. vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-admin-notice-handler.php +2 -2
  60. vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-helper.php +65 -3
  61. vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-hook-deprecator.php +2 -2
  62. vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin-compatibility.php +17 -2
  63. vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin-dependencies.php +57 -2
  64. vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin-exception.php +2 -2
  65. vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin.php +75 -8
  66. vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wp-admin-message-handler.php +2 -2
  67. vendor/skyverge/wc-plugin-framework/woocommerce/compatibility/abstract-sv-wc-data-compatibility.php +2 -2
  68. vendor/skyverge/wc-plugin-framework/woocommerce/compatibility/class-sv-wc-datetime.php +2 -2
  69. vendor/skyverge/wc-plugin-framework/woocommerce/compatibility/class-sv-wc-order-compatibility.php +2 -2
  70. vendor/skyverge/wc-plugin-framework/woocommerce/compatibility/class-sv-wc-product-compatibility.php +2 -2
  71. vendor/skyverge/wc-plugin-framework/woocommerce/i18n/languages/woocommerce-plugin-framework-et.mo +0 -0
  72. vendor/skyverge/wc-plugin-framework/woocommerce/i18n/languages/woocommerce-plugin-framework-et.po +580 -450
  73. vendor/skyverge/wc-plugin-framework/woocommerce/i18n/languages/woocommerce-plugin-framework.pot +542 -437
  74. vendor/skyverge/wc-plugin-framework/woocommerce/rest-api/Controllers/Settings.php +382 -0
  75. vendor/skyverge/wc-plugin-framework/woocommerce/rest-api/class-sv-wc-plugin-rest-api.php +8 -3
  76. vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-async-request.php +2 -2
  77. vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-background-job-handler.php +2 -2
  78. vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-job-batch-handler.php +2 -2
assets/css/admin/facebook-for-woocommerce-advertise.css ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /** FB LWI Ads widget iframe */
2
+ .fb-lwi-ads-creation.fb_iframe_widget,
3
+ .fb-lwi-ads-insights.fb_iframe_widget {
4
+ background: #FFF;
5
+ box-shadow: 0 0 3px rgba( 0, 0, 0, 0.2 );
6
+ color: #050505;
7
+ display: block;
8
+ margin-bottom: 20px;
9
+ width: 1000px;
10
+ }
11
+
12
+ .fb-lwi-ads-insights.fb_iframe_widget span,
13
+ .fb-lwi-ads-insights.fb_iframe_widget iframe {
14
+ width: 1000px !important;
15
+ }
16
+
17
+ /** when the remote content of the LWI Ads widget isn't ready yet, the div doesn't have the .fb_iframe_widget class yet, so we could use this difference to improve the UX during the loading state */
18
+ .fb-lwi-ads-creation,
19
+ .fb-lwi-ads-insights {
20
+ margin-bottom: 0;
21
+ width: 0;
22
+ }
23
+ /** similarly, we can display some text message, which would then persist if the widget fails to load */
24
+ .fb-lwi-ads-creation::after {
25
+ display: block;
26
+ content: attr(data-title);
27
+ width: 1000px;
28
+ }
29
+ .fb-lwi-ads-creation.fb_iframe_widget:after {
30
+ content: none;
31
+ display: none;
32
+ width: 0;
33
+ }
assets/css/admin/facebook-for-woocommerce-connection.css CHANGED
@@ -1,8 +1,8 @@
1
  #wc-facebook-connection-box {
2
  width: 50%;
3
  min-width: 720px;
4
- color: rgb( 5, 5, 5 );
5
- background: white url( '../../images/background.png' ) no-repeat;
6
  background-position: right 30px center;
7
  padding: 10px 15px 20px;
8
  box-shadow: 0 0 3px rgba( 0, 0, 0, 0.2 );
1
  #wc-facebook-connection-box {
2
  width: 50%;
3
  min-width: 720px;
4
+ color: #050505;
5
+ background: #FFF url( '../../images/background.png' ) no-repeat;
6
  background-position: right 30px center;
7
  padding: 10px 15px 20px;
8
  box-shadow: 0 0 3px rgba( 0, 0, 0, 0.2 );
changelog.txt CHANGED
@@ -1,5 +1,11 @@
1
  *** Facebook for WooCommerce Changelog ***
2
 
 
 
 
 
 
 
3
  2020.11.04 - version 2.1.4
4
  * Fix - Ensure product variant attributes are correctly handled when checking for enhanced attribute values.
5
 
1
  *** Facebook for WooCommerce Changelog ***
2
 
3
+ 2020.11.19 - version 2.2.0
4
+ * Feature - Add an Advertise tab in the Facebook settings page to manage Facebook ads from within WooCommerce
5
+ * Tweak - Move the Facebook settings page into the Marketing menu item (WooCommerce 4.0+)
6
+ * Fix - Move the filter `facebook_for_woocommerce_integration_pixel_enabled` initialization to avoid possible uncaught JavaScript errors in front end
7
+ * Fix - Update field name and format for additional_variant_attribute to resolve Facebook catalog sync for variable products.
8
+
9
  2020.11.04 - version 2.1.4
10
  * Fix - Ensure product variant attributes are correctly handled when checking for enhanced attribute values.
11
 
class-wc-facebookcommerce.php CHANGED
@@ -12,7 +12,7 @@ use SkyVerge\WooCommerce\Facebook\API;
12
  use SkyVerge\WooCommerce\Facebook\Lifecycle;
13
  use SkyVerge\WooCommerce\Facebook\Utilities\Background_Handle_Virtual_Products_Variations;
14
  use SkyVerge\WooCommerce\Facebook\Utilities\Background_Remove_Duplicate_Visibility_Meta;
15
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
16
 
17
  if ( ! class_exists( 'WC_Facebookcommerce' ) ) :
18
 
@@ -22,7 +22,7 @@ if ( ! class_exists( 'WC_Facebookcommerce' ) ) :
22
 
23
 
24
  /** @var string the plugin version */
25
- const VERSION = '2.1.4';
26
 
27
  /** @var string for backwards compatibility TODO: remove this in v2.0.0 {CW 2020-02-06} */
28
  const PLUGIN_VERSION = self::VERSION;
@@ -115,6 +115,7 @@ if ( ! class_exists( 'WC_Facebookcommerce' ) ) :
115
  require_once $this->get_framework_path() . '/utilities/class-sv-wp-async-request.php';
116
  require_once $this->get_framework_path() . '/utilities/class-sv-wp-background-job-handler.php';
117
 
 
118
  require_once __DIR__ . '/includes/AJAX.php';
119
  require_once __DIR__ . '/includes/Handlers/Connection.php';
120
  require_once __DIR__ . '/includes/Integrations/Integrations.php';
@@ -171,6 +172,7 @@ if ( ! class_exists( 'WC_Facebookcommerce' ) ) :
171
  require_once __DIR__ . '/includes/Admin/Settings_Screens/Connection.php';
172
  require_once __DIR__ . '/includes/Admin/Settings_Screens/Product_Sync.php';
173
  require_once __DIR__ . '/includes/Admin/Settings_Screens/Messenger.php';
 
174
  require_once __DIR__ . '/includes/Admin/Google_Product_Category_Field.php';
175
  require_once __DIR__ . '/includes/Admin/Enhanced_Catalog_Attribute_Fields.php';
176
 
@@ -314,6 +316,29 @@ if ( ! class_exists( 'WC_Facebookcommerce' ) ) :
314
  'notice_class' => 'notice-error',
315
  ] );
316
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
317
  }
318
 
319
 
12
  use SkyVerge\WooCommerce\Facebook\Lifecycle;
13
  use SkyVerge\WooCommerce\Facebook\Utilities\Background_Handle_Virtual_Products_Variations;
14
  use SkyVerge\WooCommerce\Facebook\Utilities\Background_Remove_Duplicate_Visibility_Meta;
15
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
16
 
17
  if ( ! class_exists( 'WC_Facebookcommerce' ) ) :
18
 
22
 
23
 
24
  /** @var string the plugin version */
25
+ const VERSION = '2.2.0';
26
 
27
  /** @var string for backwards compatibility TODO: remove this in v2.0.0 {CW 2020-02-06} */
28
  const PLUGIN_VERSION = self::VERSION;
115
  require_once $this->get_framework_path() . '/utilities/class-sv-wp-async-request.php';
116
  require_once $this->get_framework_path() . '/utilities/class-sv-wp-background-job-handler.php';
117
 
118
+ require_once __DIR__ . '/includes/Locale.php';
119
  require_once __DIR__ . '/includes/AJAX.php';
120
  require_once __DIR__ . '/includes/Handlers/Connection.php';
121
  require_once __DIR__ . '/includes/Integrations/Integrations.php';
172
  require_once __DIR__ . '/includes/Admin/Settings_Screens/Connection.php';
173
  require_once __DIR__ . '/includes/Admin/Settings_Screens/Product_Sync.php';
174
  require_once __DIR__ . '/includes/Admin/Settings_Screens/Messenger.php';
175
+ require_once __DIR__ . '/includes/Admin/Settings_Screens/Advertise.php';
176
  require_once __DIR__ . '/includes/Admin/Google_Product_Category_Field.php';
177
  require_once __DIR__ . '/includes/Admin/Enhanced_Catalog_Attribute_Fields.php';
178
 
316
  'notice_class' => 'notice-error',
317
  ] );
318
  }
319
+
320
+ if ( Framework\SV_WC_Plugin_Compatibility::is_enhanced_admin_available() ) {
321
+
322
+ $is_marketing_enabled = is_callable( 'Automattic\WooCommerce\Admin\Loader::is_feature_enabled' )
323
+ && Automattic\WooCommerce\Admin\Loader::is_feature_enabled( 'marketing' );
324
+
325
+ if ( $is_marketing_enabled ) {
326
+
327
+ $this->get_admin_notice_handler()->add_admin_notice(
328
+ sprintf(
329
+ /* translators: Placeholders: %1$s - opening <a> HTML link tag, %2$s - closing </a> HTML link tag */
330
+ esc_html__( 'Heads up! The Facebook menu is now located under the %1$sMarketing%2$s menu.', 'facebook-for-woocommerce' ),
331
+ '<a href="' . esc_url( $this->get_settings_url() ) . '">','</a>'
332
+ ),
333
+ 'settings_moved_to_marketing',
334
+ [
335
+ 'dismissible' => true,
336
+ 'always_show_on_settings' => false,
337
+ 'notice_class' => 'notice-info',
338
+ ]
339
+ );
340
+ }
341
+ }
342
  }
343
 
344
 
facebook-commerce-events-tracker.php CHANGED
@@ -9,7 +9,7 @@
9
  */
10
 
11
  use SkyVerge\WooCommerce\Facebook\Events\Event;
12
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
13
 
14
  if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
15
 
@@ -22,51 +22,94 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
22
  }
23
 
24
  class WC_Facebookcommerce_EventsTracker {
25
- private $pixel;
26
- private static $isEnabled = true;
27
- const FB_PRIORITY_HIGH = 2;
28
- const FB_PRIORITY_LOW = 11;
29
 
30
 
 
 
 
 
 
 
 
 
 
31
  /** @var string name of the session variable used to store search event data */
32
  private $search_event_data_session_variable = 'wc_facebook_search_event_data';
33
 
34
  /** @var Event search event instance */
35
  private $search_event;
 
36
  /** @var array with events tracked */
37
  private $tracked_events;
 
38
  /** @var AAMSettings aam settings instance, used to filter advanced matching fields*/
39
  private $aam_settings;
40
 
 
 
 
 
 
 
 
 
 
 
41
  public function __construct( $user_info, $aam_settings ) {
42
- $this->pixel = new WC_Facebookcommerce_Pixel( $user_info );
43
- $this->aam_settings = $aam_settings;
44
- $this->tracked_events = array();
45
 
46
- add_action( 'wp_head', array( $this, 'apply_filters' ) );
 
 
47
 
48
- // Pixel Tracking Hooks
49
- add_action(
50
- 'wp_head',
51
- array( $this, 'inject_base_pixel' )
52
- );
53
- add_action(
54
- 'wp_footer',
55
- array( $this, 'inject_base_pixel_noscript' )
56
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
 
58
  // ViewContent for individual products
59
  add_action( 'woocommerce_after_single_product', [ $this, 'inject_view_content_event' ] );
60
  add_action( 'woocommerce_after_single_product', [ $this, 'maybe_inject_search_event' ] );
61
 
62
- add_action(
63
- 'woocommerce_after_shop_loop',
64
- array( $this, 'inject_view_category_event' )
65
- );
66
- add_action(
67
- 'pre_get_posts',
68
- array( $this, 'inject_search_event' )
69
- );
70
  add_filter( 'woocommerce_redirect_single_search_result', [ $this, 'maybe_add_product_search_event_to_session' ] );
71
 
72
  // AddToCart events
@@ -87,14 +130,20 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
87
  add_action( 'woocommerce_thankyou', [ $this, 'inject_purchase_event' ], 40 );
88
 
89
  // TODO move this in some 3rd party plugin integrations handler at some point {FN 2020-03-20}
90
- add_action( 'wpcf7_contact_form', [ $this, 'inject_lead_event_hook' ], self::FB_PRIORITY_LOW );
91
  }
92
 
 
 
 
 
 
 
 
 
93
  public function apply_filters() {
94
- self::$isEnabled = apply_filters(
95
- 'facebook_for_woocommerce_integration_pixel_enabled',
96
- self::$isEnabled
97
- );
98
  }
99
 
100
 
@@ -103,7 +152,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
103
  */
104
  public function inject_base_pixel() {
105
 
106
- if ( self::$isEnabled ) {
107
  // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
108
  echo $this->pixel->pixel_base_code();
109
  }
@@ -117,7 +166,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
117
  */
118
  public function inject_base_pixel_noscript() {
119
 
120
- if ( self::$isEnabled ) {
121
  // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
122
  echo $this->pixel->pixel_base_code_noscript();
123
  }
@@ -130,7 +179,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
130
  public function inject_view_category_event() {
131
  global $wp_query;
132
 
133
- if ( ! self::$isEnabled || ! is_product_category() ) {
134
  return;
135
  }
136
 
@@ -262,7 +311,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
262
  */
263
  public function maybe_inject_search_event() {
264
 
265
- if ( ! self::$isEnabled ) {
266
  return;
267
  }
268
 
@@ -322,7 +371,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
322
  */
323
  public function inject_search_event() {
324
 
325
- if ( ! self::$isEnabled ) {
326
  return;
327
  }
328
 
@@ -439,7 +488,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
439
  public function inject_view_content_event() {
440
  global $post;
441
 
442
- if ( ! self::$isEnabled || ! isset( $post->ID ) ) {
443
  return;
444
  }
445
 
@@ -502,7 +551,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
502
  public function inject_add_to_cart_event( $cart_item_key, $product_id, $quantity, $variation_id ) {
503
 
504
  // bail if pixel tracking disabled or invalid variables
505
- if ( ! self::$isEnabled || ! $product_id || ! $quantity ) {
506
  return;
507
  }
508
 
@@ -569,7 +618,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
569
  */
570
  public function add_add_to_cart_event_fragment( $fragments ) {
571
 
572
- if ( self::$isEnabled ) {
573
 
574
  $params = [
575
  'content_ids' => $this->get_cart_content_ids(),
@@ -626,7 +675,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
626
  */
627
  public function add_conditional_add_to_cart_event_fragment( $fragments ) {
628
 
629
- if ( self::$isEnabled ) {
630
 
631
  $params = [
632
  'content_ids' => $this->get_cart_content_ids(),
@@ -718,7 +767,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
718
  */
719
  public function inject_add_to_cart_redirect_event() {
720
 
721
- if ( ! self::$isEnabled ) {
722
  return;
723
  }
724
 
@@ -740,7 +789,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
740
  */
741
  public function inject_initiate_checkout_event() {
742
 
743
- if ( ! self::$isEnabled || $this->pixel->is_last_event( 'InitiateCheckout' ) ) {
744
  return;
745
  }
746
 
@@ -802,7 +851,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
802
 
803
  $event_name = 'Purchase';
804
 
805
- if ( ! self::$isEnabled || $this->pixel->is_last_event( $event_name ) ) {
806
  return;
807
  }
808
 
@@ -896,7 +945,7 @@ if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
896
  */
897
  public function inject_subscribe_event( $order_id ) {
898
 
899
- if ( ! self::$isEnabled || ! function_exists( 'wcs_get_subscriptions_for_order' ) || $this->pixel->is_last_event( 'Subscribe' ) ) {
900
  return;
901
  }
902
 
9
  */
10
 
11
  use SkyVerge\WooCommerce\Facebook\Events\Event;
12
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
13
 
14
  if ( ! class_exists( 'WC_Facebookcommerce_EventsTracker' ) ) :
15
 
22
  }
23
 
24
  class WC_Facebookcommerce_EventsTracker {
 
 
 
 
25
 
26
 
27
+ /** @deprecated since 2.2.0 */
28
+ const FB_PRIORITY_HIGH = 2;
29
+ /** @deprecated since 2.2.0 */
30
+ const FB_PRIORITY_LOW = 11;
31
+
32
+
33
+ /** @var \WC_Facebookcommerce_Pixel instance */
34
+ private $pixel;
35
+
36
  /** @var string name of the session variable used to store search event data */
37
  private $search_event_data_session_variable = 'wc_facebook_search_event_data';
38
 
39
  /** @var Event search event instance */
40
  private $search_event;
41
+
42
  /** @var array with events tracked */
43
  private $tracked_events;
44
+
45
  /** @var AAMSettings aam settings instance, used to filter advanced matching fields*/
46
  private $aam_settings;
47
 
48
+ /** @var bool whether the pixel should be enabled */
49
+ private $is_pixel_enabled;
50
+
51
+
52
+ /**
53
+ * Events tracker constructor.
54
+ *
55
+ * @param $user_info
56
+ * @param $aam_settings
57
+ */
58
  public function __construct( $user_info, $aam_settings ) {
 
 
 
59
 
60
+ if ( ! $this->is_pixel_enabled() ) {
61
+ return;
62
+ }
63
 
64
+ $this->pixel = new \WC_Facebookcommerce_Pixel( $user_info );
65
+ $this->aam_settings = $aam_settings;
66
+ $this->tracked_events = [];
67
+
68
+ $this->add_hooks();
69
+ }
70
+
71
+
72
+ /**
73
+ * Determines whether the Pixel should be enabled.
74
+ *
75
+ * @since 2.2.0
76
+ *
77
+ * @return bool
78
+ */
79
+ private function is_pixel_enabled() {
80
+
81
+ if ( null === $this->is_pixel_enabled ) {
82
+
83
+ /**
84
+ * Filters whether the Pixel should be enabled.
85
+ *
86
+ * @param bool $enabled default true
87
+ */
88
+ $this->is_pixel_enabled = (bool) apply_filters( 'facebook_for_woocommerce_integration_pixel_enabled', true );
89
+ }
90
+
91
+ return $this->is_pixel_enabled;
92
+ }
93
+
94
+
95
+ /**
96
+ * Add events tracker hooks.
97
+ *
98
+ * @since 2.2.0
99
+ */
100
+ private function add_hooks() {
101
+
102
+ // inject Pixel
103
+ add_action( 'wp_head', [ $this, 'inject_base_pixel' ] );
104
+ add_action( 'wp_footer', [ $this, 'inject_base_pixel_noscript' ] );
105
 
106
  // ViewContent for individual products
107
  add_action( 'woocommerce_after_single_product', [ $this, 'inject_view_content_event' ] );
108
  add_action( 'woocommerce_after_single_product', [ $this, 'maybe_inject_search_event' ] );
109
 
110
+ add_action( 'woocommerce_after_shop_loop', [ $this, 'inject_view_category_event' ] );
111
+
112
+ add_action( 'pre_get_posts', [ $this, 'inject_search_event' ] );
 
 
 
 
 
113
  add_filter( 'woocommerce_redirect_single_search_result', [ $this, 'maybe_add_product_search_event_to_session' ] );
114
 
115
  // AddToCart events
130
  add_action( 'woocommerce_thankyou', [ $this, 'inject_purchase_event' ], 40 );
131
 
132
  // TODO move this in some 3rd party plugin integrations handler at some point {FN 2020-03-20}
133
+ add_action( 'wpcf7_contact_form', [ $this, 'inject_lead_event_hook' ], 11 );
134
  }
135
 
136
+
137
+ /**
138
+ * Adds filter hooks.
139
+ *
140
+ * @internal
141
+ *
142
+ * @deprecated since 2.2.0
143
+ */
144
  public function apply_filters() {
145
+
146
+ wc_deprecated_function( __METHOD__, '2.2.0' );
 
 
147
  }
148
 
149
 
152
  */
153
  public function inject_base_pixel() {
154
 
155
+ if ( $this->is_pixel_enabled() ) {
156
  // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
157
  echo $this->pixel->pixel_base_code();
158
  }
166
  */
167
  public function inject_base_pixel_noscript() {
168
 
169
+ if ( $this->is_pixel_enabled() ) {
170
  // phpcs:ignore WordPress.XSS.EscapeOutput.OutputNotEscaped
171
  echo $this->pixel->pixel_base_code_noscript();
172
  }
179
  public function inject_view_category_event() {
180
  global $wp_query;
181
 
182
+ if ( ! $this->is_pixel_enabled() || ! is_product_category() ) {
183
  return;
184
  }
185
 
311
  */
312
  public function maybe_inject_search_event() {
313
 
314
+ if ( ! $this->is_pixel_enabled() ) {
315
  return;
316
  }
317
 
371
  */
372
  public function inject_search_event() {
373
 
374
+ if ( ! $this->is_pixel_enabled() ) {
375
  return;
376
  }
377
 
488
  public function inject_view_content_event() {
489
  global $post;
490
 
491
+ if ( ! $this->is_pixel_enabled() || ! isset( $post->ID ) ) {
492
  return;
493
  }
494
 
551
  public function inject_add_to_cart_event( $cart_item_key, $product_id, $quantity, $variation_id ) {
552
 
553
  // bail if pixel tracking disabled or invalid variables
554
+ if ( ! $this->is_pixel_enabled() || ! $product_id || ! $quantity ) {
555
  return;
556
  }
557
 
618
  */
619
  public function add_add_to_cart_event_fragment( $fragments ) {
620
 
621
+ if ( $this->is_pixel_enabled() ) {
622
 
623
  $params = [
624
  'content_ids' => $this->get_cart_content_ids(),
675
  */
676
  public function add_conditional_add_to_cart_event_fragment( $fragments ) {
677
 
678
+ if ( $this->is_pixel_enabled() ) {
679
 
680
  $params = [
681
  'content_ids' => $this->get_cart_content_ids(),
767
  */
768
  public function inject_add_to_cart_redirect_event() {
769
 
770
+ if ( ! $this->is_pixel_enabled() ) {
771
  return;
772
  }
773
 
789
  */
790
  public function inject_initiate_checkout_event() {
791
 
792
+ if ( ! $this->is_pixel_enabled() || $this->pixel->is_last_event( 'InitiateCheckout' ) ) {
793
  return;
794
  }
795
 
851
 
852
  $event_name = 'Purchase';
853
 
854
+ if ( ! $this->is_pixel_enabled() || $this->pixel->is_last_event( $event_name ) ) {
855
  return;
856
  }
857
 
945
  */
946
  public function inject_subscribe_event( $order_id ) {
947
 
948
+ if ( ! function_exists( 'wcs_get_subscriptions_for_order' ) || ! $this->is_pixel_enabled() || $this->pixel->is_last_event( 'Subscribe' ) ) {
949
  return;
950
  }
951
 
facebook-commerce-messenger-chat.php CHANGED
@@ -8,6 +8,8 @@
8
  * @package FacebookCommerce
9
  */
10
 
 
 
11
  if ( ! class_exists( 'WC_Facebookcommerce_MessengerChat' ) ) :
12
 
13
  if ( ! class_exists( 'WC_Facebookcommerce_Utils' ) ) {
@@ -17,113 +19,6 @@ if ( ! class_exists( 'WC_Facebookcommerce_MessengerChat' ) ) :
17
  class WC_Facebookcommerce_MessengerChat {
18
 
19
 
20
- /** @var string[] list of supported locales */
21
- private static $supported_locales = [
22
- 'af_ZA',
23
- 'ar_AR',
24
- 'as_IN',
25
- 'az_AZ',
26
- 'be_BY',
27
- 'bg_BG',
28
- 'bn_IN',
29
- 'br_FR',
30
- 'bs_BA',
31
- 'ca_ES',
32
- 'cb_IQ',
33
- 'co_FR',
34
- 'cs_CZ',
35
- 'cx_PH',
36
- 'cy_GB',
37
- 'da_DK',
38
- 'de_DE',
39
- 'el_GR',
40
- 'en_GB',
41
- 'en_US',
42
- 'es_ES',
43
- 'es_LA',
44
- 'et_EE',
45
- 'eu_ES',
46
- 'fa_IR',
47
- 'ff_NG',
48
- 'fi_FI',
49
- 'fo_FO',
50
- 'fr_CA',
51
- 'fr_FR',
52
- 'fy_NL',
53
- 'ga_IE',
54
- 'gl_ES',
55
- 'gn_PY',
56
- 'gu_IN',
57
- 'ha_NG',
58
- 'he_IL',
59
- 'hi_IN',
60
- 'hr_HR',
61
- 'hu_HU',
62
- 'hy_AM',
63
- 'id_ID',
64
- 'is_IS',
65
- 'it_IT',
66
- 'ja_JP',
67
- 'ja_KS',
68
- 'jv_ID',
69
- 'ka_GE',
70
- 'kk_KZ',
71
- 'km_KH',
72
- 'kn_IN',
73
- 'ko_KR',
74
- 'ku_TR',
75
- 'lt_LT',
76
- 'lv_LV',
77
- 'mg_MG',
78
- 'mk_MK',
79
- 'ml_IN',
80
- 'mn_MN',
81
- 'mr_IN',
82
- 'ms_MY',
83
- 'mt_MT',
84
- 'my_MM',
85
- 'nb_NO',
86
- 'ne_NP',
87
- 'nl_BE',
88
- 'nl_NL',
89
- 'nn_NO',
90
- 'or_IN',
91
- 'pa_IN',
92
- 'pl_PL',
93
- 'ps_AF',
94
- 'pt_BR',
95
- 'pt_PT',
96
- 'qz_MM',
97
- 'ro_RO',
98
- 'ru_RU',
99
- 'rw_RW',
100
- 'sc_IT',
101
- 'si_LK',
102
- 'sk_SK',
103
- 'sl_SI',
104
- 'so_SO',
105
- 'sq_AL',
106
- 'sr_RS',
107
- 'sv_SE',
108
- 'sw_KE',
109
- 'sz_PL',
110
- 'ta_IN',
111
- 'te_IN',
112
- 'tg_TJ',
113
- 'th_TH',
114
- 'tl_PH',
115
- 'tr_TR',
116
- 'tz_MA',
117
- 'uk_UA',
118
- 'ur_PK',
119
- 'uz_UZ',
120
- 'vi_VN',
121
- 'zh_CN',
122
- 'zh_HK',
123
- 'zh_TW',
124
- ];
125
-
126
-
127
  public function __construct( $settings ) {
128
 
129
  $this->page_id = isset( $settings['fb_page_id'] )
@@ -186,66 +81,16 @@ if ( ! class_exists( 'WC_Facebookcommerce_MessengerChat' ) ) :
186
  /**
187
  * Gets the locales supported by Facebook Messenger.
188
  *
189
- * Returns the format $locale => $name for display in options.
190
- * @link https://developers.facebook.com/docs/messenger-platform/messenger-profile/supported-locales/
191
- * If the Locale extension is not available, will attempt to match locales to WordPress available language names.
192
- *
193
  * @since 1.10.0
 
194
  *
195
  * @return array associative array of locale codes and names
196
  */
197
  public static function get_supported_locales() {
198
- global $wp_version;
199
-
200
- $locales = [];
201
-
202
- if ( class_exists( 'Locale' ) ) {
203
-
204
- foreach ( self::$supported_locales as $locale ) {
205
-
206
- if ( $name = \Locale::getDisplayName( $locale, substr( $locale, 0, 2 ) ) ) {
207
- $locales[ $locale ] = ucfirst( $name );
208
- }
209
- }
210
-
211
- } else {
212
-
213
- include_once( ABSPATH . '/wp-admin/includes/translation-install.php' );
214
-
215
- $translations = wp_get_available_translations();
216
-
217
- foreach ( self::$supported_locales as $locale ) {
218
-
219
- if ( isset( $translations[ $locale ]['native_name'] ) ) {
220
-
221
- $locales[ $locale ] = $translations[ $locale ]['native_name'];
222
-
223
- } else { // generic match e.g. <it>_IT, <it>_CH (any language in the the <it> group )
224
-
225
- $matched_locale = substr( $locale, 0, 2 );
226
-
227
- if ( isset( $translations[ $matched_locale ]['native_name'] ) ) {
228
- $locales[ $locale ] = $translations[ $matched_locale ]['native_name'];
229
- }
230
- }
231
- }
232
-
233
- // always include US English
234
- $locales['en_US'] = _x( 'English (United States)', 'language', 'facebook-for-woocommerce' );
235
- }
236
-
237
- /**
238
- * Filters the locales supported by Facebook Messenger.
239
- *
240
- * @since 1.10.0
241
- *
242
- * @param array $locales locales supported by Facebook Messenger, in $locale => $name format
243
- */
244
- $locales = (array) apply_filters( 'wc_facebook_messenger_supported_locales', array_unique( $locales ) );
245
 
246
- natcasesort( $locales );
247
 
248
- return $locales;
249
  }
250
 
251
 
8
  * @package FacebookCommerce
9
  */
10
 
11
+ use SkyVerge\WooCommerce\Facebook\Locale;
12
+
13
  if ( ! class_exists( 'WC_Facebookcommerce_MessengerChat' ) ) :
14
 
15
  if ( ! class_exists( 'WC_Facebookcommerce_Utils' ) ) {
19
  class WC_Facebookcommerce_MessengerChat {
20
 
21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  public function __construct( $settings ) {
23
 
24
  $this->page_id = isset( $settings['fb_page_id'] )
81
  /**
82
  * Gets the locales supported by Facebook Messenger.
83
  *
 
 
 
 
84
  * @since 1.10.0
85
+ * @deprecated since 2.2.0
86
  *
87
  * @return array associative array of locale codes and names
88
  */
89
  public static function get_supported_locales() {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
 
91
+ wc_deprecated_function( __METHOD__, '2.2.0', '\\SkyVerge\\WooCommerce\\Facebook\\Locales::get_supported_locales_list()' );
92
 
93
+ return Locale::get_supported_locales();
94
  }
95
 
96
 
facebook-commerce.php CHANGED
@@ -13,7 +13,7 @@ use SkyVerge\WooCommerce\Facebook\Events\AAMSettings;
13
  use SkyVerge\WooCommerce\Facebook\Handlers\Connection;
14
  use SkyVerge\WooCommerce\Facebook\Products;
15
  use SkyVerge\WooCommerce\Facebook\Products\Feed;
16
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
17
 
18
  if ( ! defined( 'ABSPATH' ) ) {
19
  exit; // Exit if accessed directly
13
  use SkyVerge\WooCommerce\Facebook\Handlers\Connection;
14
  use SkyVerge\WooCommerce\Facebook\Products;
15
  use SkyVerge\WooCommerce\Facebook\Products\Feed;
16
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
17
 
18
  if ( ! defined( 'ABSPATH' ) ) {
19
  exit; // Exit if accessed directly
facebook-for-woocommerce.php CHANGED
@@ -10,10 +10,10 @@
10
  * Description: Grow your business on Facebook! Use this official plugin to help sell more of your products using Facebook. After completing the setup, you'll be ready to create ads that promote your products and you can also create a shop section on your Page where customers can browse your products on Facebook.
11
  * Author: Facebook
12
  * Author URI: https://www.facebook.com/
13
- * Version: 2.1.4
14
  * Text Domain: facebook-for-woocommerce
15
  * WC requires at least: 3.5.0
16
- * WC tested up to: 4.6.1
17
  *
18
  * @package FacebookCommerce
19
  */
@@ -38,7 +38,7 @@ class WC_Facebook_Loader {
38
  const MINIMUM_WC_VERSION = '3.5.0';
39
 
40
  /** SkyVerge plugin framework version used by this plugin */
41
- const FRAMEWORK_VERSION = '5.5.4';
42
 
43
  /** the plugin name, for displaying notices */
44
  const PLUGIN_NAME = 'Facebook for WooCommerce';
10
  * Description: Grow your business on Facebook! Use this official plugin to help sell more of your products using Facebook. After completing the setup, you'll be ready to create ads that promote your products and you can also create a shop section on your Page where customers can browse your products on Facebook.
11
  * Author: Facebook
12
  * Author URI: https://www.facebook.com/
13
+ * Version: 2.2.0
14
  * Text Domain: facebook-for-woocommerce
15
  * WC requires at least: 3.5.0
16
+ * WC tested up to: 4.7.0
17
  *
18
  * @package FacebookCommerce
19
  */
38
  const MINIMUM_WC_VERSION = '3.5.0';
39
 
40
  /** SkyVerge plugin framework version used by this plugin */
41
+ const FRAMEWORK_VERSION = '5.10.0';
42
 
43
  /** the plugin name, for displaying notices */
44
  const PLUGIN_NAME = 'Facebook for WooCommerce';
i18n/languages/facebook-for-woocommerce.pot CHANGED
@@ -2,10 +2,10 @@
2
  # This file is distributed under the same license as the Facebook for WooCommerce package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Facebook for WooCommerce 2.1.4\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
- "POT-Creation-Date: 2020-11-05 00:23:56+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -13,7 +13,7 @@ msgstr ""
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
16
- #: class-wc-facebookcommerce.php:233
17
  #. translators: Placeholders %1$s - opening strong HTML tag, %2$s - closing
18
  #. strong HTML tag, %3$s - opening link HTML tag, %4$s - closing link HTML tag
19
  msgid ""
@@ -21,7 +21,7 @@ msgid ""
21
  "Facebook for WooCommerce connection. Please %3$sclick here%4$s to reconnect!"
22
  msgstr ""
23
 
24
- #: class-wc-facebookcommerce.php:248
25
  #. translators: Placeholders %1$s - opening link HTML tag, %2$s - closing link
26
  #. HTML tag
27
  msgid ""
@@ -29,7 +29,7 @@ msgid ""
29
  "under %1$sWooCommerce > Facebook%2$s."
30
  msgstr ""
31
 
32
- #: class-wc-facebookcommerce.php:263
33
  #. translators: Placeholders %1$s - opening strong HTML tag, %2$s - closing
34
  #. strong HTML tag, %3$s - opening link HTML tag, %4$s - closing link HTML tag
35
  msgid ""
@@ -37,7 +37,7 @@ msgid ""
37
  "configuration, %3$scomplete the setup steps%4$s."
38
  msgstr ""
39
 
40
- #: class-wc-facebookcommerce.php:291
41
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag, %3$s -
42
  #. <a> tag, %4$s - </a> tag
43
  msgid ""
@@ -46,7 +46,7 @@ msgid ""
46
  "Connection%4$s area."
47
  msgstr ""
48
 
49
- #: class-wc-facebookcommerce.php:308
50
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag, %3$s -
51
  #. <a> tag, %4$s - </a> tag
52
  msgid ""
@@ -55,7 +55,13 @@ msgid ""
55
  "products."
56
  msgstr ""
57
 
58
- #: class-wc-facebookcommerce.php:367
 
 
 
 
 
 
59
  msgid "Cannot create the API instance because the access token is missing."
60
  msgstr ""
61
 
@@ -202,7 +208,7 @@ msgstr ""
202
 
203
  #: includes/AJAX.php:337 includes/AJAX.php:406 includes/AJAX.php:470
204
  #: includes/Admin/Product_Categories.php:118
205
- #: includes/Admin/Settings_Screens/Product_Sync.php:144
206
  msgid "Cancel"
207
  msgstr ""
208
 
@@ -245,7 +251,7 @@ msgid "Show advanced options"
245
  msgstr ""
246
 
247
  #: includes/Admin/Product_Categories.php:99
248
- #: includes/Admin/Settings_Screens/Product_Sync.php:108
249
  msgid ""
250
  "Products and categories that inherit this global setting (i.e. they do not "
251
  "have a specific Google product category set) will use the new default "
@@ -253,7 +259,7 @@ msgid ""
253
  msgstr ""
254
 
255
  #: includes/Admin/Product_Categories.php:122
256
- #: includes/Admin/Settings_Screens/Product_Sync.php:148
257
  msgid "Update default Google product category"
258
  msgstr ""
259
 
@@ -272,7 +278,7 @@ msgid ""
272
  msgstr ""
273
 
274
  #: includes/Admin/Product_Categories.php:232
275
- #: includes/Admin/Settings_Screens/Product_Sync.php:318
276
  msgid "Default Google product category"
277
  msgstr ""
278
 
@@ -329,25 +335,59 @@ msgstr ""
329
  msgid "Facebook"
330
  msgstr ""
331
 
332
- #: includes/Admin/Settings.php:131
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
333
  msgid "You do not have permission to save these settings."
334
  msgstr ""
335
 
336
- #: includes/Admin/Settings.php:140
337
  msgid "Your settings have been saved."
338
  msgstr ""
339
 
340
- #: includes/Admin/Settings.php:147
341
  #. translators: Placeholders: %s - user-friendly error message
342
  msgid "Your settings could not be saved. %s"
343
  msgstr ""
344
 
345
- #: includes/Admin/Settings_Screens/Connection.php:35
346
- #: includes/Admin/Settings_Screens/Connection.php:36
347
- msgid "Connection"
 
 
 
 
 
 
 
348
  msgstr ""
349
 
350
- #: includes/Admin/Settings_Screens/Connection.php:58
351
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag, %3$s -
352
  #. <a> tag, %4$s - </a> tag, %5$s - <a> tag, %6$s - </a> tag
353
  msgid ""
@@ -356,145 +396,128 @@ msgid ""
356
  "touch with our support team%6$s for assistance."
357
  msgstr ""
358
 
359
- #: includes/Admin/Settings_Screens/Connection.php:126
360
  msgid "Page"
361
  msgstr ""
362
 
363
- #: includes/Admin/Settings_Screens/Connection.php:130
364
  msgid "Pixel"
365
  msgstr ""
366
 
367
- #: includes/Admin/Settings_Screens/Connection.php:134
368
  msgid "Catalog"
369
  msgstr ""
370
 
371
- #: includes/Admin/Settings_Screens/Connection.php:139
372
  msgid "Business Manager account"
373
  msgstr ""
374
 
375
- #: includes/Admin/Settings_Screens/Connection.php:143
376
  msgid "Ad Manager account"
377
  msgstr ""
378
 
379
- #: includes/Admin/Settings_Screens/Connection.php:256
380
  msgid "Reach the Right People and Sell More Online"
381
  msgstr ""
382
 
383
- #: includes/Admin/Settings_Screens/Connection.php:258
384
  msgid "Grow your business on Facebook"
385
  msgstr ""
386
 
387
- #: includes/Admin/Settings_Screens/Connection.php:261
388
  msgid "Use this WooCommerce and Facebook integration to:"
389
  msgstr ""
390
 
391
- #: includes/Admin/Settings_Screens/Connection.php:264
392
  msgid "Create an ad in a few steps"
393
  msgstr ""
394
 
395
- #: includes/Admin/Settings_Screens/Connection.php:265
396
  msgid "Use built-in best practices for online sales"
397
  msgstr ""
398
 
399
- #: includes/Admin/Settings_Screens/Connection.php:266
400
  msgid "Get reporting on sales and revenue"
401
  msgstr ""
402
 
403
- #: includes/Admin/Settings_Screens/Connection.php:273
404
- msgid "Create Ad"
405
- msgstr ""
406
-
407
- #: includes/Admin/Settings_Screens/Connection.php:278
408
  msgid "Manage Connection"
409
  msgstr ""
410
 
411
- #: includes/Admin/Settings_Screens/Connection.php:288
412
- msgid "Get Started"
413
  msgstr ""
414
 
415
- #: includes/Admin/Settings_Screens/Connection.php:327
416
- msgid "Uninstall"
417
  msgstr ""
418
 
419
- #: includes/Admin/Settings_Screens/Connection.php:352
420
  msgid "Debug"
421
  msgstr ""
422
 
423
- #: includes/Admin/Settings_Screens/Connection.php:358
424
  msgid "Enable debug mode"
425
  msgstr ""
426
 
427
- #: includes/Admin/Settings_Screens/Connection.php:360
428
  msgid "Log plugin events for debugging"
429
  msgstr ""
430
 
431
- #: includes/Admin/Settings_Screens/Connection.php:361
432
  msgid "Only enable this if you are experiencing problems with the plugin."
433
  msgstr ""
434
 
435
- #: includes/Admin/Settings_Screens/Messenger.php:39
436
- #: includes/Admin/Settings_Screens/Messenger.php:40
437
- #: includes/Admin/Settings_Screens/Messenger.php:143
438
- msgid "Messenger"
439
- msgstr ""
440
-
441
- #: includes/Admin/Settings_Screens/Messenger.php:119
442
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
443
  msgid "%1$sClick here%2$s to manage your Messenger greeting and colors."
444
  msgstr ""
445
 
446
- #: includes/Admin/Settings_Screens/Messenger.php:149
447
  msgid "Enable Messenger"
448
  msgstr ""
449
 
450
- #: includes/Admin/Settings_Screens/Messenger.php:151
451
  msgid "Enable and customize Facebook Messenger on your store"
452
  msgstr ""
453
 
454
- #: includes/Admin/Settings_Screens/Messenger.php:161
455
  msgid "Language"
456
  msgstr ""
457
 
458
- #: includes/Admin/Settings_Screens/Messenger.php:166
459
  msgid "Greeting & Colors"
460
  msgstr ""
461
 
462
- #: includes/Admin/Settings_Screens/Messenger.php:188
463
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
464
  msgid "Please %1$sconnect to Facebook%2$s to enable and manage Facebook Messenger."
465
  msgstr ""
466
 
467
- #: includes/Admin/Settings_Screens/Messenger.php:239
468
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
469
  msgid ""
470
  "There was an error communicating with the Facebook Business Extension. "
471
  "%1$sClick here%2$s to manage your Messenger settings."
472
  msgstr ""
473
 
474
- #: includes/Admin/Settings_Screens/Messenger.php:309
475
  msgid "Please try again."
476
  msgstr ""
477
 
478
- #: includes/Admin/Settings_Screens/Product_Sync.php:42
479
- #: includes/Admin/Settings_Screens/Product_Sync.php:43
480
- #: includes/Admin/Settings_Screens/Product_Sync.php:169
481
- #: includes/Admin/Settings_Screens/Product_Sync.php:264
482
- msgid "Product sync"
483
- msgstr ""
484
-
485
- #: includes/Admin/Settings_Screens/Product_Sync.php:73
486
  #. translators: Placeholders: {count} number of remaining items
487
  msgid "{count} item remaining."
488
  msgid_plural "{count} items remaining."
489
  msgstr[0] ""
490
  msgstr[1] ""
491
 
492
- #: includes/Admin/Settings_Screens/Product_Sync.php:85
493
  #. translators: Placeholders %s - html code for a spinner icon
494
  msgid "Your products will now be resynced to Facebook, this may take some time."
495
  msgstr ""
496
 
497
- #: includes/Admin/Settings_Screens/Product_Sync.php:86
498
  msgid ""
499
  "Facebook for WooCommerce automatically syncs your products on "
500
  "create/update. Are you sure you want to force product resync?\n"
@@ -504,21 +527,21 @@ msgid ""
504
  "did not sync."
505
  msgstr ""
506
 
507
- #: includes/Admin/Settings_Screens/Product_Sync.php:87
508
  msgid "Your products are syncing - you may safely leave this page %s"
509
  msgstr ""
510
 
511
- #: includes/Admin/Settings_Screens/Product_Sync.php:90
512
  msgid "There was an error trying to sync the products to Facebook."
513
  msgstr ""
514
 
515
- #: includes/Admin/Settings_Screens/Product_Sync.php:91
516
  msgid ""
517
  "Something went wrong while uploading the product information, please try "
518
  "again."
519
  msgstr ""
520
 
521
- #: includes/Admin/Settings_Screens/Product_Sync.php:123
522
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag
523
  msgid ""
524
  "Products and categories that inherit this global setting (they do not have "
@@ -528,62 +551,62 @@ msgid ""
528
  "Are you sure you want to proceed?"
529
  msgstr ""
530
 
531
- #: includes/Admin/Settings_Screens/Product_Sync.php:177
532
  msgid "Sync products"
533
  msgstr ""
534
 
535
- #: includes/Admin/Settings_Screens/Product_Sync.php:269
536
  msgid "Enable product sync"
537
  msgstr ""
538
 
539
- #: includes/Admin/Settings_Screens/Product_Sync.php:277
540
  msgid "Exclude categories from sync"
541
  msgstr ""
542
 
543
- #: includes/Admin/Settings_Screens/Product_Sync.php:281
544
  msgid "Products in one or more of these categories will not sync to Facebook."
545
  msgstr ""
546
 
547
- #: includes/Admin/Settings_Screens/Product_Sync.php:285
548
  msgid "Search for a product category&hellip;"
549
  msgstr ""
550
 
551
- #: includes/Admin/Settings_Screens/Product_Sync.php:291
552
  msgid "Exclude tags from sync"
553
  msgstr ""
554
 
555
- #: includes/Admin/Settings_Screens/Product_Sync.php:295
556
  msgid "Products with one or more of these tags will not sync to Facebook."
557
  msgstr ""
558
 
559
- #: includes/Admin/Settings_Screens/Product_Sync.php:299
560
  msgid "Search for a product tag&hellip;"
561
  msgstr ""
562
 
563
- #: includes/Admin/Settings_Screens/Product_Sync.php:305
564
  msgid "Product description sync"
565
  msgstr ""
566
 
567
- #: includes/Admin/Settings_Screens/Product_Sync.php:308
568
  msgid "Choose which product description to display in the Facebook catalog."
569
  msgstr ""
570
 
571
- #: includes/Admin/Settings_Screens/Product_Sync.php:311
572
  msgid "Standard description"
573
  msgstr ""
574
 
575
- #: includes/Admin/Settings_Screens/Product_Sync.php:312
576
  msgid "Short description"
577
  msgstr ""
578
 
579
- #: includes/Admin/Settings_Screens/Product_Sync.php:319
580
  msgid ""
581
  "Choose a default Google product category for your products. Defaults can "
582
  "also be set for product categories. Products need at least two category "
583
  "levels defined for tax to be correctly applied."
584
  msgstr ""
585
 
586
- #: includes/Admin/Settings_Screens/Product_Sync.php:365
587
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
588
  msgid "Please %1$sconnect to Facebook%2$s to enable and manage product sync."
589
  msgstr ""
@@ -964,7 +987,7 @@ msgstr ""
964
  msgid "https://www.facebook.com/"
965
  msgstr ""
966
 
967
- #: facebook-commerce-messenger-chat.php:234
968
  msgctxt "language"
969
  msgid "English (United States)"
970
  msgstr ""
2
  # This file is distributed under the same license as the Facebook for WooCommerce package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Facebook for WooCommerce 2.2.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://woocommerce.com/my-account/marketplace-ticket-form/\n"
8
+ "POT-Creation-Date: 2020-11-19 21:10:35+00:00\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
16
+ #: class-wc-facebookcommerce.php:235
17
  #. translators: Placeholders %1$s - opening strong HTML tag, %2$s - closing
18
  #. strong HTML tag, %3$s - opening link HTML tag, %4$s - closing link HTML tag
19
  msgid ""
21
  "Facebook for WooCommerce connection. Please %3$sclick here%4$s to reconnect!"
22
  msgstr ""
23
 
24
+ #: class-wc-facebookcommerce.php:250
25
  #. translators: Placeholders %1$s - opening link HTML tag, %2$s - closing link
26
  #. HTML tag
27
  msgid ""
29
  "under %1$sWooCommerce > Facebook%2$s."
30
  msgstr ""
31
 
32
+ #: class-wc-facebookcommerce.php:265
33
  #. translators: Placeholders %1$s - opening strong HTML tag, %2$s - closing
34
  #. strong HTML tag, %3$s - opening link HTML tag, %4$s - closing link HTML tag
35
  msgid ""
37
  "configuration, %3$scomplete the setup steps%4$s."
38
  msgstr ""
39
 
40
+ #: class-wc-facebookcommerce.php:293
41
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag, %3$s -
42
  #. <a> tag, %4$s - </a> tag
43
  msgid ""
46
  "Connection%4$s area."
47
  msgstr ""
48
 
49
+ #: class-wc-facebookcommerce.php:310
50
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag, %3$s -
51
  #. <a> tag, %4$s - </a> tag
52
  msgid ""
55
  "products."
56
  msgstr ""
57
 
58
+ #: class-wc-facebookcommerce.php:330
59
+ #. translators: Placeholders: %1$s - opening <a> HTML link tag, %2$s - closing
60
+ #. </a> HTML link tag
61
+ msgid "Heads up! The Facebook menu is now located under the %1$sMarketing%2$s menu."
62
+ msgstr ""
63
+
64
+ #: class-wc-facebookcommerce.php:392
65
  msgid "Cannot create the API instance because the access token is missing."
66
  msgstr ""
67
 
208
 
209
  #: includes/AJAX.php:337 includes/AJAX.php:406 includes/AJAX.php:470
210
  #: includes/Admin/Product_Categories.php:118
211
+ #: includes/Admin/Settings_Screens/Product_Sync.php:142
212
  msgid "Cancel"
213
  msgstr ""
214
 
251
  msgstr ""
252
 
253
  #: includes/Admin/Product_Categories.php:99
254
+ #: includes/Admin/Settings_Screens/Product_Sync.php:106
255
  msgid ""
256
  "Products and categories that inherit this global setting (i.e. they do not "
257
  "have a specific Google product category set) will use the new default "
259
  msgstr ""
260
 
261
  #: includes/Admin/Product_Categories.php:122
262
+ #: includes/Admin/Settings_Screens/Product_Sync.php:146
263
  msgid "Update default Google product category"
264
  msgstr ""
265
 
278
  msgstr ""
279
 
280
  #: includes/Admin/Product_Categories.php:232
281
+ #: includes/Admin/Settings_Screens/Product_Sync.php:316
282
  msgid "Default Google product category"
283
  msgstr ""
284
 
335
  msgid "Facebook"
336
  msgstr ""
337
 
338
+ #: includes/Admin/Settings.php:106
339
+ #: includes/Admin/Settings_Screens/Connection.php:34
340
+ #: includes/Admin/Settings_Screens/Connection.php:35
341
+ msgid "Connection"
342
+ msgstr ""
343
+
344
+ #: includes/Admin/Settings.php:109
345
+ #: includes/Admin/Settings_Screens/Messenger.php:40
346
+ #: includes/Admin/Settings_Screens/Messenger.php:41
347
+ #: includes/Admin/Settings_Screens/Messenger.php:144
348
+ msgid "Messenger"
349
+ msgstr ""
350
+
351
+ #: includes/Admin/Settings.php:112
352
+ #: includes/Admin/Settings_Screens/Product_Sync.php:42
353
+ #: includes/Admin/Settings_Screens/Product_Sync.php:43
354
+ #: includes/Admin/Settings_Screens/Product_Sync.php:167
355
+ #: includes/Admin/Settings_Screens/Product_Sync.php:262
356
+ msgid "Product sync"
357
+ msgstr ""
358
+
359
+ #: includes/Admin/Settings.php:115
360
+ #: includes/Admin/Settings_Screens/Advertise.php:37
361
+ #: includes/Admin/Settings_Screens/Advertise.php:38
362
+ msgid "Advertise"
363
+ msgstr ""
364
+
365
+ #: includes/Admin/Settings.php:197
366
  msgid "You do not have permission to save these settings."
367
  msgstr ""
368
 
369
+ #: includes/Admin/Settings.php:206
370
  msgid "Your settings have been saved."
371
  msgstr ""
372
 
373
+ #: includes/Admin/Settings.php:213
374
  #. translators: Placeholders: %s - user-friendly error message
375
  msgid "Your settings could not be saved. %s"
376
  msgstr ""
377
 
378
+ #: includes/Admin/Settings_Screens/Advertise.php:202
379
+ #. translators: Placeholders: %1$s - opening <a> HTML link tag, %2$s - closing
380
+ #. </a> HTML link tag
381
+ msgid "Please %1$sconnect your store%2$s to Facebook to create ads."
382
+ msgstr ""
383
+
384
+ #: includes/Admin/Settings_Screens/Advertise.php:220
385
+ msgid ""
386
+ "If you are connected to Facebook but cannot display ads, please contact "
387
+ "Facebook support."
388
  msgstr ""
389
 
390
+ #: includes/Admin/Settings_Screens/Connection.php:57
391
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag, %3$s -
392
  #. <a> tag, %4$s - </a> tag, %5$s - <a> tag, %6$s - </a> tag
393
  msgid ""
396
  "touch with our support team%6$s for assistance."
397
  msgstr ""
398
 
399
+ #: includes/Admin/Settings_Screens/Connection.php:123
400
  msgid "Page"
401
  msgstr ""
402
 
403
+ #: includes/Admin/Settings_Screens/Connection.php:127
404
  msgid "Pixel"
405
  msgstr ""
406
 
407
+ #: includes/Admin/Settings_Screens/Connection.php:131
408
  msgid "Catalog"
409
  msgstr ""
410
 
411
+ #: includes/Admin/Settings_Screens/Connection.php:136
412
  msgid "Business Manager account"
413
  msgstr ""
414
 
415
+ #: includes/Admin/Settings_Screens/Connection.php:140
416
  msgid "Ad Manager account"
417
  msgstr ""
418
 
419
+ #: includes/Admin/Settings_Screens/Connection.php:253
420
  msgid "Reach the Right People and Sell More Online"
421
  msgstr ""
422
 
423
+ #: includes/Admin/Settings_Screens/Connection.php:255
424
  msgid "Grow your business on Facebook"
425
  msgstr ""
426
 
427
+ #: includes/Admin/Settings_Screens/Connection.php:258
428
  msgid "Use this WooCommerce and Facebook integration to:"
429
  msgstr ""
430
 
431
+ #: includes/Admin/Settings_Screens/Connection.php:260
432
  msgid "Create an ad in a few steps"
433
  msgstr ""
434
 
435
+ #: includes/Admin/Settings_Screens/Connection.php:261
436
  msgid "Use built-in best practices for online sales"
437
  msgstr ""
438
 
439
+ #: includes/Admin/Settings_Screens/Connection.php:262
440
  msgid "Get reporting on sales and revenue"
441
  msgstr ""
442
 
443
+ #: includes/Admin/Settings_Screens/Connection.php:285
 
 
 
 
444
  msgid "Manage Connection"
445
  msgstr ""
446
 
447
+ #: includes/Admin/Settings_Screens/Connection.php:289
448
+ msgid "Uninstall"
449
  msgstr ""
450
 
451
+ #: includes/Admin/Settings_Screens/Connection.php:295
452
+ msgid "Get Started"
453
  msgstr ""
454
 
455
+ #: includes/Admin/Settings_Screens/Connection.php:320
456
  msgid "Debug"
457
  msgstr ""
458
 
459
+ #: includes/Admin/Settings_Screens/Connection.php:326
460
  msgid "Enable debug mode"
461
  msgstr ""
462
 
463
+ #: includes/Admin/Settings_Screens/Connection.php:328
464
  msgid "Log plugin events for debugging"
465
  msgstr ""
466
 
467
+ #: includes/Admin/Settings_Screens/Connection.php:329
468
  msgid "Only enable this if you are experiencing problems with the plugin."
469
  msgstr ""
470
 
471
+ #: includes/Admin/Settings_Screens/Messenger.php:120
 
 
 
 
 
 
472
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
473
  msgid "%1$sClick here%2$s to manage your Messenger greeting and colors."
474
  msgstr ""
475
 
476
+ #: includes/Admin/Settings_Screens/Messenger.php:150
477
  msgid "Enable Messenger"
478
  msgstr ""
479
 
480
+ #: includes/Admin/Settings_Screens/Messenger.php:152
481
  msgid "Enable and customize Facebook Messenger on your store"
482
  msgstr ""
483
 
484
+ #: includes/Admin/Settings_Screens/Messenger.php:162
485
  msgid "Language"
486
  msgstr ""
487
 
488
+ #: includes/Admin/Settings_Screens/Messenger.php:167
489
  msgid "Greeting & Colors"
490
  msgstr ""
491
 
492
+ #: includes/Admin/Settings_Screens/Messenger.php:189
493
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
494
  msgid "Please %1$sconnect to Facebook%2$s to enable and manage Facebook Messenger."
495
  msgstr ""
496
 
497
+ #: includes/Admin/Settings_Screens/Messenger.php:240
498
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
499
  msgid ""
500
  "There was an error communicating with the Facebook Business Extension. "
501
  "%1$sClick here%2$s to manage your Messenger settings."
502
  msgstr ""
503
 
504
+ #: includes/Admin/Settings_Screens/Messenger.php:310
505
  msgid "Please try again."
506
  msgstr ""
507
 
508
+ #: includes/Admin/Settings_Screens/Product_Sync.php:71
 
 
 
 
 
 
 
509
  #. translators: Placeholders: {count} number of remaining items
510
  msgid "{count} item remaining."
511
  msgid_plural "{count} items remaining."
512
  msgstr[0] ""
513
  msgstr[1] ""
514
 
515
+ #: includes/Admin/Settings_Screens/Product_Sync.php:83
516
  #. translators: Placeholders %s - html code for a spinner icon
517
  msgid "Your products will now be resynced to Facebook, this may take some time."
518
  msgstr ""
519
 
520
+ #: includes/Admin/Settings_Screens/Product_Sync.php:84
521
  msgid ""
522
  "Facebook for WooCommerce automatically syncs your products on "
523
  "create/update. Are you sure you want to force product resync?\n"
527
  "did not sync."
528
  msgstr ""
529
 
530
+ #: includes/Admin/Settings_Screens/Product_Sync.php:85
531
  msgid "Your products are syncing - you may safely leave this page %s"
532
  msgstr ""
533
 
534
+ #: includes/Admin/Settings_Screens/Product_Sync.php:88
535
  msgid "There was an error trying to sync the products to Facebook."
536
  msgstr ""
537
 
538
+ #: includes/Admin/Settings_Screens/Product_Sync.php:89
539
  msgid ""
540
  "Something went wrong while uploading the product information, please try "
541
  "again."
542
  msgstr ""
543
 
544
+ #: includes/Admin/Settings_Screens/Product_Sync.php:121
545
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag
546
  msgid ""
547
  "Products and categories that inherit this global setting (they do not have "
551
  "Are you sure you want to proceed?"
552
  msgstr ""
553
 
554
+ #: includes/Admin/Settings_Screens/Product_Sync.php:175
555
  msgid "Sync products"
556
  msgstr ""
557
 
558
+ #: includes/Admin/Settings_Screens/Product_Sync.php:267
559
  msgid "Enable product sync"
560
  msgstr ""
561
 
562
+ #: includes/Admin/Settings_Screens/Product_Sync.php:275
563
  msgid "Exclude categories from sync"
564
  msgstr ""
565
 
566
+ #: includes/Admin/Settings_Screens/Product_Sync.php:279
567
  msgid "Products in one or more of these categories will not sync to Facebook."
568
  msgstr ""
569
 
570
+ #: includes/Admin/Settings_Screens/Product_Sync.php:283
571
  msgid "Search for a product category&hellip;"
572
  msgstr ""
573
 
574
+ #: includes/Admin/Settings_Screens/Product_Sync.php:289
575
  msgid "Exclude tags from sync"
576
  msgstr ""
577
 
578
+ #: includes/Admin/Settings_Screens/Product_Sync.php:293
579
  msgid "Products with one or more of these tags will not sync to Facebook."
580
  msgstr ""
581
 
582
+ #: includes/Admin/Settings_Screens/Product_Sync.php:297
583
  msgid "Search for a product tag&hellip;"
584
  msgstr ""
585
 
586
+ #: includes/Admin/Settings_Screens/Product_Sync.php:303
587
  msgid "Product description sync"
588
  msgstr ""
589
 
590
+ #: includes/Admin/Settings_Screens/Product_Sync.php:306
591
  msgid "Choose which product description to display in the Facebook catalog."
592
  msgstr ""
593
 
594
+ #: includes/Admin/Settings_Screens/Product_Sync.php:309
595
  msgid "Standard description"
596
  msgstr ""
597
 
598
+ #: includes/Admin/Settings_Screens/Product_Sync.php:310
599
  msgid "Short description"
600
  msgstr ""
601
 
602
+ #: includes/Admin/Settings_Screens/Product_Sync.php:317
603
  msgid ""
604
  "Choose a default Google product category for your products. Defaults can "
605
  "also be set for product categories. Products need at least two category "
606
  "levels defined for tax to be correctly applied."
607
  msgstr ""
608
 
609
+ #: includes/Admin/Settings_Screens/Product_Sync.php:363
610
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
611
  msgid "Please %1$sconnect to Facebook%2$s to enable and manage product sync."
612
  msgstr ""
987
  msgid "https://www.facebook.com/"
988
  msgstr ""
989
 
990
+ #: includes/Locale.php:181
991
  msgctxt "language"
992
  msgid "English (United States)"
993
  msgstr ""
includes/AJAX.php CHANGED
@@ -11,7 +11,7 @@
11
  namespace SkyVerge\WooCommerce\Facebook;
12
 
13
  use SkyVerge\WooCommerce\Facebook\Admin\Settings_Screens\Product_Sync;
14
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
15
 
16
  defined( 'ABSPATH' ) or exit;
17
 
11
  namespace SkyVerge\WooCommerce\Facebook;
12
 
13
  use SkyVerge\WooCommerce\Facebook\Admin\Settings_Screens\Product_Sync;
14
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
15
 
16
  defined( 'ABSPATH' ) or exit;
17
 
includes/API.php CHANGED
@@ -16,7 +16,7 @@ use SkyVerge\WooCommerce\Facebook\API\Orders\Order;
16
  use SkyVerge\WooCommerce\Facebook\API\Request;
17
  use SkyVerge\WooCommerce\Facebook\API\Response;
18
  use SkyVerge\WooCommerce\Facebook\Events\Event;
19
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
20
 
21
  /**
22
  * API handler.
16
  use SkyVerge\WooCommerce\Facebook\API\Request;
17
  use SkyVerge\WooCommerce\Facebook\API\Response;
18
  use SkyVerge\WooCommerce\Facebook\Events\Event;
19
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
20
 
21
  /**
22
  * API handler.
includes/API/Catalog/Send_Item_Updates/Response.php CHANGED
@@ -12,7 +12,7 @@ namespace SkyVerge\WooCommerce\Facebook\API\Catalog\Send_Item_Updates;
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
16
 
17
  /**
18
  * Send_Item_Updates API response object
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
16
 
17
  /**
18
  * Send_Item_Updates API response object
includes/API/Exceptions/Request_Limit_Reached.php CHANGED
@@ -12,7 +12,7 @@ namespace SkyVerge\WooCommerce\Facebook\API\Exceptions;
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
16
 
17
  /**
18
  * Exception thrown in response to a rate limiting error.
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
16
 
17
  /**
18
  * Exception thrown in response to a rate limiting error.
includes/API/Request.php CHANGED
@@ -12,7 +12,7 @@ namespace SkyVerge\WooCommerce\Facebook\API;
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
16
 
17
  /**
18
  * Base API request object.
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
16
 
17
  /**
18
  * Base API request object.
includes/API/Response.php CHANGED
@@ -12,7 +12,7 @@ namespace SkyVerge\WooCommerce\Facebook\API;
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
16
 
17
  /**
18
  * Base API response object
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
16
 
17
  /**
18
  * Base API response object
includes/Admin.php CHANGED
@@ -10,7 +10,7 @@
10
 
11
  namespace SkyVerge\WooCommerce\Facebook;
12
 
13
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4\SV_WC_Helper;
14
 
15
  defined( 'ABSPATH' ) or exit;
16
 
10
 
11
  namespace SkyVerge\WooCommerce\Facebook;
12
 
13
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_Helper;
14
 
15
  defined( 'ABSPATH' ) or exit;
16
 
includes/Admin/Abstract_Settings_Screen.php CHANGED
@@ -10,7 +10,7 @@
10
 
11
  namespace SkyVerge\WooCommerce\Facebook\Admin;
12
 
13
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4\SV_WC_Plugin_Exception;
14
 
15
  defined( 'ABSPATH' ) or exit;
16
 
@@ -83,7 +83,7 @@ abstract class Abstract_Settings_Screen {
83
  *
84
  * @since 2.0.0
85
  *
86
- * @throws SV_WC_Plugin_Exception
87
  */
88
  public function save() {
89
 
@@ -91,6 +91,26 @@ abstract class Abstract_Settings_Screen {
91
  }
92
 
93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  /** Getter methods ************************************************************************************************/
95
 
96
 
10
 
11
  namespace SkyVerge\WooCommerce\Facebook\Admin;
12
 
13
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
14
 
15
  defined( 'ABSPATH' ) or exit;
16
 
83
  *
84
  * @since 2.0.0
85
  *
86
+ * @throws Framework\SV_WC_Plugin_Exception
87
  */
88
  public function save() {
89
 
91
  }
92
 
93
 
94
+ /**
95
+ * Determines whether the current screen is the same as identified by the current class.
96
+ *
97
+ * @since 2.2.0
98
+ *
99
+ * @return bool
100
+ */
101
+ protected function is_current_screen_page() {
102
+
103
+ if ( Settings::PAGE_ID !== Framework\SV_WC_Helper::get_requested_value( 'page' ) ) {
104
+ return false;
105
+ }
106
+
107
+ // assume we are on the Connection tab by default because the link under Marketing doesn't include the tab query arg
108
+ $tab = Framework\SV_WC_Helper::get_requested_value( 'tab', 'connection' );
109
+
110
+ return ! empty( $tab ) && $tab === $this->get_id();
111
+ }
112
+
113
+
114
  /** Getter methods ************************************************************************************************/
115
 
116
 
includes/Admin/Product_Categories.php CHANGED
@@ -12,7 +12,7 @@ namespace SkyVerge\WooCommerce\Facebook\Admin;
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
16
 
17
  /**
18
  * General handler for the product category admin functionality.
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
16
 
17
  /**
18
  * General handler for the product category admin functionality.
includes/Admin/Products.php CHANGED
@@ -14,7 +14,7 @@ defined( 'ABSPATH' ) or exit;
14
 
15
  use SkyVerge\WooCommerce\Facebook\AJAX;
16
  use SkyVerge\WooCommerce\Facebook\Products as Products_Handler;
17
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
18
 
19
  /**
20
  * General handler for product admin functionality.
14
 
15
  use SkyVerge\WooCommerce\Facebook\AJAX;
16
  use SkyVerge\WooCommerce\Facebook\Products as Products_Handler;
17
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
18
 
19
  /**
20
  * General handler for product admin functionality.
includes/Admin/Settings.php CHANGED
@@ -10,8 +10,8 @@
10
 
11
  namespace SkyVerge\WooCommerce\Facebook\Admin;
12
 
13
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4\SV_WC_Helper;
14
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4\SV_WC_Plugin_Exception;
15
 
16
  defined( 'ABSPATH' ) or exit;
17
 
@@ -42,6 +42,7 @@ class Settings {
42
  Settings_Screens\Connection::ID => new Settings_Screens\Connection(),
43
  Settings_Screens\Product_Sync::ID => new Settings_Screens\Product_Sync(),
44
  Settings_Screens\Messenger::ID => new Settings_Screens\Messenger(),
 
45
  );
46
 
47
  add_action( 'admin_menu', array( $this, 'add_menu_item' ) );
@@ -57,7 +58,72 @@ class Settings {
57
  */
58
  public function add_menu_item() {
59
 
60
- add_submenu_page( 'woocommerce', __( 'Facebook for WooCommerce', 'facebook-for-woocommerce' ), __( 'Facebook', 'facebook-for-woocommerce' ), 'manage_woocommerce', self::PAGE_ID, array( $this, 'render' ), 5 );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  }
62
 
63
 
@@ -69,7 +135,7 @@ class Settings {
69
  public function render() {
70
 
71
  $tabs = $this->get_tabs();
72
- $current_tab = SV_WC_Helper::get_requested_value( 'tab' );
73
 
74
  if ( ! $current_tab ) {
75
  $current_tab = current( array_keys( $tabs ) );
@@ -113,17 +179,17 @@ class Settings {
113
  */
114
  public function save() {
115
 
116
- if ( ! is_admin() || SV_WC_Helper::get_requested_value( 'page' ) !== self::PAGE_ID ) {
117
  return;
118
  }
119
 
120
- $screen = $this->get_screen( SV_WC_Helper::get_posted_value( 'screen_id' ) );
121
 
122
  if ( ! $screen ) {
123
  return;
124
  }
125
 
126
- if ( ! SV_WC_Helper::get_posted_value( 'save_' . $screen->get_id() . '_settings' ) ) {
127
  return;
128
  }
129
 
@@ -139,7 +205,7 @@ class Settings {
139
 
140
  facebook_for_woocommerce()->get_message_handler()->add_message( __( 'Your settings have been saved.', 'facebook-for-woocommerce' ) );
141
 
142
- } catch ( SV_WC_Plugin_Exception $exception ) {
143
 
144
  facebook_for_woocommerce()->get_message_handler()->add_error(
145
  sprintf(
10
 
11
  namespace SkyVerge\WooCommerce\Facebook\Admin;
12
 
13
+ use SkyVerge\WooCommerce\Facebook\Admin\Settings_Screens;
14
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
15
 
16
  defined( 'ABSPATH' ) or exit;
17
 
42
  Settings_Screens\Connection::ID => new Settings_Screens\Connection(),
43
  Settings_Screens\Product_Sync::ID => new Settings_Screens\Product_Sync(),
44
  Settings_Screens\Messenger::ID => new Settings_Screens\Messenger(),
45
+ Settings_Screens\Advertise::ID => new Settings_Screens\Advertise(),
46
  );
47
 
48
  add_action( 'admin_menu', array( $this, 'add_menu_item' ) );
58
  */
59
  public function add_menu_item() {
60
 
61
+ $root_menu_item = 'woocommerce';
62
+ $is_marketing_enabled = false;
63
+
64
+ if ( Framework\SV_WC_Plugin_Compatibility::is_enhanced_admin_available() ) {
65
+
66
+ $is_marketing_enabled = is_callable( '\Automattic\WooCommerce\Admin\Loader::is_feature_enabled' )
67
+ && \Automattic\WooCommerce\Admin\Loader::is_feature_enabled( 'marketing' );
68
+
69
+ if ( $is_marketing_enabled ) {
70
+
71
+ $root_menu_item = 'woocommerce-marketing';
72
+ }
73
+ }
74
+
75
+ add_submenu_page(
76
+ $root_menu_item,
77
+ __( 'Facebook for WooCommerce', 'facebook-for-woocommerce' ),
78
+ __( 'Facebook', 'facebook-for-woocommerce' ),
79
+ 'manage_woocommerce', self::PAGE_ID,
80
+ [ $this, 'render' ],
81
+ 5
82
+ );
83
+
84
+ $this->connect_to_enhanced_admin( $is_marketing_enabled ? 'marketing_page_wc-facebook' : 'woocommerce_page_wc-facebook' );
85
+ }
86
+
87
+
88
+ /**
89
+ * Enables enhanced admin support for the main Facebook settings page.
90
+ *
91
+ * @since 2.2.0
92
+ *
93
+ * @param string $screen_id the ID to connect to
94
+ */
95
+ private function connect_to_enhanced_admin( $screen_id ) {
96
+
97
+ if ( is_callable( 'wc_admin_connect_page' ) ) {
98
+
99
+ $crumbs = [
100
+ __( 'Facebook for WooCommerce', 'facebook-for-woocommerce' ),
101
+ ];
102
+
103
+ if ( ! empty( $_GET['tab'] ) ) {
104
+ switch ( $_GET['tab'] ) {
105
+ case Settings_Screens\Connection::ID :
106
+ $crumbs[] = __( 'Connection', 'facebook-for-woocommerce' );
107
+ break;
108
+ case Settings_Screens\Messenger::ID :
109
+ $crumbs[] = __( 'Messenger', 'facebook-for-woocommerce' );
110
+ break;
111
+ case Settings_Screens\Product_Sync::ID :
112
+ $crumbs[] = __( 'Product sync', 'facebook-for-woocommerce' );
113
+ break;
114
+ case Settings_Screens\Advertise::ID :
115
+ $crumbs[] = __( 'Advertise', 'facebook-for-woocommerce' );
116
+ break;
117
+ }
118
+ }
119
+
120
+ wc_admin_connect_page( [
121
+ 'id' => self::PAGE_ID,
122
+ 'screen_id' => $screen_id,
123
+ 'path' => add_query_arg( 'page', self::PAGE_ID, 'admin.php' ),
124
+ 'title' => $crumbs
125
+ ] );
126
+ }
127
  }
128
 
129
 
135
  public function render() {
136
 
137
  $tabs = $this->get_tabs();
138
+ $current_tab = Framework\SV_WC_Helper::get_requested_value( 'tab' );
139
 
140
  if ( ! $current_tab ) {
141
  $current_tab = current( array_keys( $tabs ) );
179
  */
180
  public function save() {
181
 
182
+ if ( ! is_admin() || Framework\SV_WC_Helper::get_requested_value( 'page' ) !== self::PAGE_ID ) {
183
  return;
184
  }
185
 
186
+ $screen = $this->get_screen( Framework\SV_WC_Helper::get_posted_value( 'screen_id' ) );
187
 
188
  if ( ! $screen ) {
189
  return;
190
  }
191
 
192
+ if ( ! Framework\SV_WC_Helper::get_posted_value( 'save_' . $screen->get_id() . '_settings' ) ) {
193
  return;
194
  }
195
 
205
 
206
  facebook_for_woocommerce()->get_message_handler()->add_message( __( 'Your settings have been saved.', 'facebook-for-woocommerce' ) );
207
 
208
+ } catch ( Framework\SV_WC_Plugin_Exception $exception ) {
209
 
210
  facebook_for_woocommerce()->get_message_handler()->add_error(
211
  sprintf(
includes/Admin/Settings_Screens/Advertise.php ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ *
8
+ * @package FacebookCommerce
9
+ */
10
+
11
+ namespace SkyVerge\WooCommerce\Facebook\Admin\Settings_Screens;
12
+
13
+ defined( 'ABSPATH' ) or exit;
14
+
15
+ use SkyVerge\WooCommerce\Facebook\Admin;
16
+ use SkyVerge\WooCommerce\Facebook\Locale;
17
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0;
18
+
19
+ /**
20
+ * The Advertise settings screen object.
21
+ */
22
+ class Advertise extends Admin\Abstract_Settings_Screen {
23
+
24
+
25
+ /** @var string screen ID */
26
+ const ID = 'advertise';
27
+
28
+
29
+ /**
30
+ * Advertise settings constructor.
31
+ *
32
+ * @since 2.2.0
33
+ */
34
+ public function __construct() {
35
+
36
+ $this->id = self::ID;
37
+ $this->label = __( 'Advertise', 'facebook-for-woocommerce' );
38
+ $this->title = __( 'Advertise', 'facebook-for-woocommerce' );
39
+
40
+ $this->add_hooks();
41
+ }
42
+
43
+
44
+ /**
45
+ * Adds hooks.
46
+ *
47
+ * @since 2.2.0
48
+ */
49
+ private function add_hooks() {
50
+
51
+ add_action( 'admin_head', [ $this, 'output_scripts' ] );
52
+
53
+ add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_assets' ] );
54
+ }
55
+
56
+
57
+ /**
58
+ * Enqueues assets for the current screen.
59
+ *
60
+ * @internal
61
+ *
62
+ * @since 2.2.0
63
+ */
64
+ public function enqueue_assets() {
65
+
66
+ if ( ! $this->is_current_screen_page() ) {
67
+ return;
68
+ }
69
+
70
+ wp_enqueue_style( 'wc-facebook-admin-advertise-settings', facebook_for_woocommerce()->get_plugin_url() . '/assets/css/admin/facebook-for-woocommerce-advertise.css', [], \WC_Facebookcommerce::VERSION );
71
+ }
72
+
73
+
74
+ /**
75
+ * Outputs the LWI Ads script.
76
+ *
77
+ * @internal
78
+ *
79
+ * @since 2.1.0-dev.1
80
+ */
81
+ public function output_scripts() {
82
+
83
+ $connection_handler = facebook_for_woocommerce()->get_connection_handler();
84
+
85
+ if ( ! $connection_handler || ! $connection_handler->is_connected() || ! $this->is_current_screen_page() ) {
86
+ return;
87
+ }
88
+
89
+ ?>
90
+ <script>
91
+ window.fbAsyncInit = function() {
92
+ FB.init( {
93
+ appId : '<?php echo esc_js( $connection_handler->get_client_id() ); ?>',
94
+ autoLogAppEvents : true,
95
+ xfbml : true,
96
+ version : 'v8.0',
97
+ } );
98
+ };
99
+ </script>
100
+ <?php
101
+ }
102
+
103
+
104
+ /**
105
+ * Gets the LWI Ads configuration to output the FB iframes.
106
+ *
107
+ * @since 2.2.0
108
+ *
109
+ * @return array
110
+ */
111
+ private function get_lwi_ads_configuration_data() {
112
+
113
+ $connection_handler = facebook_for_woocommerce()->get_connection_handler();
114
+
115
+ if ( ! $connection_handler || ! $connection_handler->is_connected() ) {
116
+ return [];
117
+ }
118
+
119
+ return [
120
+ 'business_config' => [
121
+ 'business' => [
122
+ 'name' => $connection_handler->get_business_name(),
123
+ ],
124
+ ],
125
+ 'setup' => [
126
+ 'external_business_id' => $connection_handler->get_external_business_id(),
127
+ 'timezone' => $this->parse_timezone( wc_timezone_string(), wc_timezone_offset() ),
128
+ 'currency' => get_woocommerce_currency(),
129
+ 'business_vertical' => 'ECOMMERCE',
130
+ ],
131
+ 'repeat' => false,
132
+ ];
133
+ }
134
+
135
+
136
+ /*
137
+ * Converts the given timezone string to a name if needed.
138
+ *
139
+ * @since 2.2.0
140
+ *
141
+ * @param string $timezone_string Timezone string
142
+ * @param int|float $timezone_offset Timezone offset
143
+ * @return string timezone string
144
+ */
145
+ private function parse_timezone( $timezone_string, $timezone_offset = 0 ) {
146
+
147
+ // no need to look for the equivalent timezone
148
+ if ( false !== strpos( $timezone_string, '/' ) ) {
149
+ return $timezone_string;
150
+ }
151
+
152
+ // look up the timezones list based on the given offset
153
+ $timezones_list = timezone_abbreviations_list();
154
+
155
+ foreach ( $timezones_list as $timezone ) {
156
+ foreach ( $timezone as $city ) {
157
+ if ( isset( $city['offset'], $city['timezone_id'] ) && (int) $city['offset'] === (int) $timezone_offset ) {
158
+ return $city['timezone_id'];
159
+ }
160
+ }
161
+ }
162
+
163
+ // fallback to default timezone
164
+ return 'Etc/GMT';
165
+ }
166
+
167
+
168
+ /**
169
+ * Gets the LWI Ads SDK URL.
170
+ *
171
+ * @since 2.2.0
172
+ *
173
+ * @return string
174
+ */
175
+ private function get_lwi_ads_sdk_url() {
176
+
177
+ $locale = get_user_locale();
178
+
179
+ if ( ! Locale::is_supported_locale( $locale ) ) {
180
+ $locale = Locale::DEFAULT_LOCALE;
181
+ }
182
+
183
+ return "https://connect.facebook.net/{$locale}/sdk.js";
184
+ }
185
+
186
+
187
+ /**
188
+ * Renders the screen HTML.
189
+ *
190
+ * The contents of the Facebook box will be populated by the LWI Ads script through iframes.
191
+ *
192
+ * @since 2.2.0
193
+ */
194
+ public function render() {
195
+
196
+ $connection_handler = facebook_for_woocommerce()->get_connection_handler();
197
+
198
+ if ( ! $connection_handler || ! $connection_handler->is_connected() ) {
199
+
200
+ printf(
201
+ /* translators: Placeholders: %1$s - opening <a> HTML link tag, %2$s - closing </a> HTML link tag */
202
+ esc_html__( 'Please %1$sconnect your store%2$s to Facebook to create ads.', 'facebook-for-woocommerce' ),
203
+ '<a href="' . esc_url( add_query_arg( [ 'tab' => Connection::ID ], facebook_for_woocommerce()->get_settings_url() ) ) . '">',
204
+ '</a>'
205
+ );
206
+
207
+ return;
208
+ }
209
+
210
+ $fbe_extras = wp_json_encode( $this->get_lwi_ads_configuration_data() );
211
+
212
+ ?>
213
+ <script async defer src="<?php echo esc_url( $this->get_lwi_ads_sdk_url() ); ?>"></script>
214
+ <div
215
+ class="fb-lwi-ads-creation"
216
+ data-hide-manage-button="true"
217
+ data-fbe-extras="<?php echo esc_attr( $fbe_extras ); ?>"
218
+ data-fbe-scopes="manage_business_extension"
219
+ data-fbe-redirect-uri="https://mariner9.s3.amazonaws.com/"
220
+ data-title="<?php esc_attr_e( 'If you are connected to Facebook but cannot display ads, please contact Facebook support.', 'facebook-for-woocommerce' ); ?>"></div>
221
+ <div
222
+ class="fb-lwi-ads-insights"
223
+ data-fbe-extras="<?php echo esc_attr( $fbe_extras ); ?>"
224
+ data-fbe-scopes="manage_business_extension"
225
+ data-fbe-redirect-uri="https://mariner9.s3.amazonaws.com/"></div>
226
+ <?php
227
+
228
+ parent::render();
229
+ }
230
+
231
+
232
+ /**
233
+ * Gets the screen settings.
234
+ *
235
+ * @since 2.2.0
236
+ *
237
+ * @return array
238
+ */
239
+ public function get_settings() {
240
+
241
+ return [];
242
+ }
243
+
244
+
245
+ }
includes/Admin/Settings_Screens/Connection.php CHANGED
@@ -13,8 +13,7 @@ namespace SkyVerge\WooCommerce\Facebook\Admin\Settings_Screens;
13
  defined( 'ABSPATH' ) or exit;
14
 
15
  use SkyVerge\WooCommerce\Facebook\Admin;
16
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4\SV_WC_API_Exception;
17
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4\SV_WC_Helper;
18
 
19
  /**
20
  * The Connection settings screen object.
@@ -79,9 +78,7 @@ class Connection extends Admin\Abstract_Settings_Screen {
79
  */
80
  public function enqueue_assets() {
81
 
82
- $tab = SV_WC_Helper::get_requested_value( 'tab' );
83
-
84
- if ( Admin\Settings::PAGE_ID !== SV_WC_Helper::get_requested_value( 'page' ) || ( $tab && $this->get_id() !== SV_WC_Helper::get_requested_value( 'tab' ) ) ) {
85
  return;
86
  }
87
 
@@ -158,7 +155,7 @@ class Connection extends Admin\Abstract_Settings_Screen {
158
  $static_items['catalog']['value'] = $name;
159
  }
160
 
161
- } catch ( SV_WC_API_Exception $exception ) {}
162
  }
163
 
164
  // if the business manager ID is set, try and get its name for display
@@ -176,7 +173,7 @@ class Connection extends Admin\Abstract_Settings_Screen {
176
  $static_items['business-manager']['url'] = $url;
177
  }
178
 
179
- } catch ( SV_WC_API_Exception $exception ) {}
180
  }
181
 
182
  ?>
@@ -259,39 +256,12 @@ class Connection extends Admin\Abstract_Settings_Screen {
259
  }
260
 
261
  $subtitle = __( 'Use this WooCommerce and Facebook integration to:', 'facebook-for-woocommerce' );
262
-
263
  $benefits = [
264
  __( 'Create an ad in a few steps', 'facebook-for-woocommerce'),
265
  __( 'Use built-in best practices for online sales', 'facebook-for-woocommerce'),
266
  __( 'Get reporting on sales and revenue', 'facebook-for-woocommerce'),
267
  ];
268
 
269
- if ( $is_connected ) {
270
-
271
- $actions = [
272
- 'create-ad' => [
273
- 'label' => __( 'Create Ad', 'facebook-for-woocommerce' ),
274
- 'type' => 'primary',
275
- 'url' => 'https://www.facebook.com/ad_center/create/ad/?entry_point=facebook_ads_extension&page_id=' . facebook_for_woocommerce()->get_integration()->get_facebook_page_id(),
276
- ],
277
- 'manage' => [
278
- 'label' => __( 'Manage Connection', 'facebook-for-woocommerce' ),
279
- 'type' => 'secondary',
280
- 'url' => facebook_for_woocommerce()->get_connection_handler()->get_manage_url(),
281
- ],
282
- ];
283
-
284
- } else {
285
-
286
- $actions = [
287
- 'get-started' => [
288
- 'label' => __( 'Get Started', 'facebook-for-woocommerce' ),
289
- 'type' => 'primary',
290
- 'url' => facebook_for_woocommerce()->get_connection_handler()->get_connect_url(),
291
- ],
292
- ];
293
- }
294
-
295
  ?>
296
 
297
  <div id="wc-facebook-connection-box">
@@ -309,24 +279,22 @@ class Connection extends Admin\Abstract_Settings_Screen {
309
 
310
  <div class="actions">
311
 
312
- <?php foreach ( $actions as $action_id => $action ) : ?>
313
 
314
- <a
315
- href="<?php echo esc_url( $action['url'] ); ?>"
316
- class="button button-<?php echo esc_attr( $action['type'] ); ?>"
317
- <?php echo ( 'get-started' !== $action_id ) ? 'target="_blank"' : ''; ?>
318
- >
319
- <?php echo esc_html( $action['label'] ); ?>
320
  </a>
321
 
322
- <?php endforeach; ?>
323
-
324
- <?php if ( $is_connected ) : ?>
325
-
326
  <a href="<?php echo esc_url( facebook_for_woocommerce()->get_connection_handler()->get_disconnect_url() ); ?>" class="uninstall">
327
  <?php esc_html_e( 'Uninstall', 'facebook-for-woocommerce' ); ?>
328
  </a>
329
 
 
 
 
 
 
 
330
  <?php endif; ?>
331
 
332
  </div>
13
  defined( 'ABSPATH' ) or exit;
14
 
15
  use SkyVerge\WooCommerce\Facebook\Admin;
16
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
 
17
 
18
  /**
19
  * The Connection settings screen object.
78
  */
79
  public function enqueue_assets() {
80
 
81
+ if ( ! $this->is_current_screen_page() ) {
 
 
82
  return;
83
  }
84
 
155
  $static_items['catalog']['value'] = $name;
156
  }
157
 
158
+ } catch ( Framework\SV_WC_API_Exception $exception ) {}
159
  }
160
 
161
  // if the business manager ID is set, try and get its name for display
173
  $static_items['business-manager']['url'] = $url;
174
  }
175
 
176
+ } catch ( Framework\SV_WC_API_Exception $exception ) {}
177
  }
178
 
179
  ?>
256
  }
257
 
258
  $subtitle = __( 'Use this WooCommerce and Facebook integration to:', 'facebook-for-woocommerce' );
 
259
  $benefits = [
260
  __( 'Create an ad in a few steps', 'facebook-for-woocommerce'),
261
  __( 'Use built-in best practices for online sales', 'facebook-for-woocommerce'),
262
  __( 'Get reporting on sales and revenue', 'facebook-for-woocommerce'),
263
  ];
264
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
265
  ?>
266
 
267
  <div id="wc-facebook-connection-box">
279
 
280
  <div class="actions">
281
 
282
+ <?php if ( $is_connected ) : ?>
283
 
284
+ <a href="<?php echo esc_url( facebook_for_woocommerce()->get_connection_handler()->get_manage_url() ); ?>" class="button button-primary">
285
+ <?php esc_html_e( 'Manage Connection', 'facebook-for-woocommerce' ); ?>
 
 
 
 
286
  </a>
287
 
 
 
 
 
288
  <a href="<?php echo esc_url( facebook_for_woocommerce()->get_connection_handler()->get_disconnect_url() ); ?>" class="uninstall">
289
  <?php esc_html_e( 'Uninstall', 'facebook-for-woocommerce' ); ?>
290
  </a>
291
 
292
+ <?php else : ?>
293
+
294
+ <a href="<?php echo esc_url( facebook_for_woocommerce()->get_connection_handler()->get_connect_url() ); ?>" class="button button-primary" target="_blank">
295
+ <?php esc_html_e( 'Get Started', 'facebook-for-woocommerce' ); ?>
296
+ </a>
297
+
298
  <?php endif; ?>
299
 
300
  </div>
includes/Admin/Settings_Screens/Messenger.php CHANGED
@@ -14,7 +14,8 @@ defined( 'ABSPATH' ) or exit;
14
 
15
  use SkyVerge\WooCommerce\Facebook\Admin;
16
  use SkyVerge\WooCommerce\Facebook\API\FBE\Configuration;
17
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
 
18
 
19
  /**
20
  * The Messenger settings screen object.
@@ -75,7 +76,7 @@ class Messenger extends Admin\Abstract_Settings_Screen {
75
  }
76
 
77
  $configured_locale = $this->remote_configuration->get_default_locale();
78
- $supported_locales = \WC_Facebookcommerce_MessengerChat::get_supported_locales();
79
 
80
  if ( ! empty( $supported_locales[ $configured_locale ] ) ) {
81
  $configured_locale = $supported_locales[ $configured_locale ];
14
 
15
  use SkyVerge\WooCommerce\Facebook\Admin;
16
  use SkyVerge\WooCommerce\Facebook\API\FBE\Configuration;
17
+ use SkyVerge\WooCommerce\Facebook\Locale;
18
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
19
 
20
  /**
21
  * The Messenger settings screen object.
76
  }
77
 
78
  $configured_locale = $this->remote_configuration->get_default_locale();
79
+ $supported_locales = Locale::get_supported_locales();
80
 
81
  if ( ! empty( $supported_locales[ $configured_locale ] ) ) {
82
  $configured_locale = $supported_locales[ $configured_locale ];
includes/Admin/Settings_Screens/Product_Sync.php CHANGED
@@ -15,7 +15,7 @@ defined( 'ABSPATH' ) or exit;
15
  use SkyVerge\WooCommerce\Facebook\Admin;
16
  use SkyVerge\WooCommerce\Facebook\Products;
17
  use SkyVerge\WooCommerce\Facebook\Products\Sync;
18
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4\SV_WC_Helper;
19
 
20
  /**
21
  * The Messenger settings screen object.
@@ -59,9 +59,7 @@ class Product_Sync extends Admin\Abstract_Settings_Screen {
59
  */
60
  public function enqueue_assets() {
61
 
62
- $tab = SV_WC_Helper::get_requested_value( 'tab' );
63
-
64
- if ( Admin\Settings::PAGE_ID !== SV_WC_Helper::get_requested_value( 'page' ) || ( $tab && self::ID !== $tab ) ) {
65
  return;
66
  }
67
 
15
  use SkyVerge\WooCommerce\Facebook\Admin;
16
  use SkyVerge\WooCommerce\Facebook\Products;
17
  use SkyVerge\WooCommerce\Facebook\Products\Sync;
18
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_Helper;
19
 
20
  /**
21
  * The Messenger settings screen object.
59
  */
60
  public function enqueue_assets() {
61
 
62
+ if ( ! $this->is_current_screen_page() ) {
 
 
63
  return;
64
  }
65
 
includes/Commerce/Orders.php CHANGED
@@ -15,8 +15,8 @@ use SkyVerge\WooCommerce\Facebook\API\Orders\Order;
15
  use SkyVerge\WooCommerce\Facebook\Products;
16
  use SkyVerge\WooCommerce\Facebook\API\Orders\Refund\Request as Refund_Request;
17
  use SkyVerge\WooCommerce\Facebook\Utilities;
18
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4\SV_WC_API_Exception;
19
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4\SV_WC_Plugin_Exception;
20
 
21
  defined( 'ABSPATH' ) or exit;
22
 
15
  use SkyVerge\WooCommerce\Facebook\Products;
16
  use SkyVerge\WooCommerce\Facebook\API\Orders\Refund\Request as Refund_Request;
17
  use SkyVerge\WooCommerce\Facebook\Utilities;
18
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_API_Exception;
19
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_Plugin_Exception;
20
 
21
  defined( 'ABSPATH' ) or exit;
22
 
includes/Handlers/Connection.php CHANGED
@@ -10,8 +10,8 @@
10
 
11
  namespace SkyVerge\WooCommerce\Facebook\Handlers;
12
 
13
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4\SV_WC_API_Exception;
14
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4\SV_WC_Helper;
15
 
16
  defined( 'ABSPATH' ) or exit;
17
 
10
 
11
  namespace SkyVerge\WooCommerce\Facebook\Handlers;
12
 
13
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_API_Exception;
14
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_Helper;
15
 
16
  defined( 'ABSPATH' ) or exit;
17
 
includes/Integrations/Integrations.php CHANGED
@@ -12,7 +12,7 @@ namespace SkyVerge\WooCommerce\Facebook\Integrations;
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
16
 
17
  /**
18
  * The integrations handler.
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
16
 
17
  /**
18
  * The integrations handler.
includes/Lifecycle.php CHANGED
@@ -10,7 +10,7 @@
10
 
11
  namespace SkyVerge\WooCommerce\Facebook;
12
 
13
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
14
 
15
  defined( 'ABSPATH' ) or exit;
16
 
10
 
11
  namespace SkyVerge\WooCommerce\Facebook;
12
 
13
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
14
 
15
  defined( 'ABSPATH' ) or exit;
16
 
includes/Locale.php ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
4
+ *
5
+ * This source code is licensed under the license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ *
8
+ * @package FacebookCommerce
9
+ */
10
+
11
+ namespace SkyVerge\WooCommerce\Facebook;
12
+
13
+ defined( 'ABSPATH' ) or exit;
14
+
15
+ /**
16
+ * Helper class with utility methods for handling locales in Facebook.
17
+ *
18
+ * @since 2.2.0
19
+ */
20
+ class Locale {
21
+
22
+
23
+ /** @var string default locale */
24
+ const DEFAULT_LOCALE = 'en_US';
25
+
26
+
27
+ /** @var string[] an array of supported locale identifiers */
28
+ private static $supported_locales = [
29
+ 'af_ZA',
30
+ 'ar_AR',
31
+ 'as_IN',
32
+ 'az_AZ',
33
+ 'be_BY',
34
+ 'bg_BG',
35
+ 'bn_IN',
36
+ 'br_FR',
37
+ 'bs_BA',
38
+ 'ca_ES',
39
+ 'cb_IQ',
40
+ 'co_FR',
41
+ 'cs_CZ',
42
+ 'cx_PH',
43
+ 'cy_GB',
44
+ 'da_DK',
45
+ 'de_DE',
46
+ 'el_GR',
47
+ 'en_GB',
48
+ 'en_US',
49
+ 'es_ES',
50
+ 'es_LA',
51
+ 'et_EE',
52
+ 'eu_ES',
53
+ 'fa_IR',
54
+ 'ff_NG',
55
+ 'fi_FI',
56
+ 'fo_FO',
57
+ 'fr_CA',
58
+ 'fr_FR',
59
+ 'fy_NL',
60
+ 'ga_IE',
61
+ 'gl_ES',
62
+ 'gn_PY',
63
+ 'gu_IN',
64
+ 'ha_NG',
65
+ 'he_IL',
66
+ 'hi_IN',
67
+ 'hr_HR',
68
+ 'hu_HU',
69
+ 'hy_AM',
70
+ 'id_ID',
71
+ 'is_IS',
72
+ 'it_IT',
73
+ 'ja_JP',
74
+ 'ja_KS',
75
+ 'jv_ID',
76
+ 'ka_GE',
77
+ 'kk_KZ',
78
+ 'km_KH',
79
+ 'kn_IN',
80
+ 'ko_KR',
81
+ 'ku_TR',
82
+ 'lt_LT',
83
+ 'lv_LV',
84
+ 'mg_MG',
85
+ 'mk_MK',
86
+ 'ml_IN',
87
+ 'mn_MN',
88
+ 'mr_IN',
89
+ 'ms_MY',
90
+ 'mt_MT',
91
+ 'my_MM',
92
+ 'nb_NO',
93
+ 'ne_NP',
94
+ 'nl_BE',
95
+ 'nl_NL',
96
+ 'nn_NO',
97
+ 'or_IN',
98
+ 'pa_IN',
99
+ 'pl_PL',
100
+ 'ps_AF',
101
+ 'pt_BR',
102
+ 'pt_PT',
103
+ 'qz_MM',
104
+ 'ro_RO',
105
+ 'ru_RU',
106
+ 'rw_RW',
107
+ 'sc_IT',
108
+ 'si_LK',
109
+ 'sk_SK',
110
+ 'sl_SI',
111
+ 'so_SO',
112
+ 'sq_AL',
113
+ 'sr_RS',
114
+ 'sv_SE',
115
+ 'sw_KE',
116
+ 'sz_PL',
117
+ 'ta_IN',
118
+ 'te_IN',
119
+ 'tg_TJ',
120
+ 'th_TH',
121
+ 'tl_PH',
122
+ 'tr_TR',
123
+ 'tz_MA',
124
+ 'uk_UA',
125
+ 'ur_PK',
126
+ 'uz_UZ',
127
+ 'vi_VN',
128
+ 'zh_CN',
129
+ 'zh_HK',
130
+ 'zh_TW',
131
+ ];
132
+
133
+
134
+ /**
135
+ * Gets a list of locales supported by Facebook.
136
+ *
137
+ * @link https://developers.facebook.com/docs/messenger-platform/messenger-profile/supported-locales/
138
+ * If the Locale extension is not available, will attempt to match locales to WordPress available language names.
139
+ *
140
+ * @since 2.2.0
141
+ *
142
+ * @return array associative array of locale identifiers and language labels
143
+ */
144
+ public static function get_supported_locales() {
145
+
146
+ $locales = [];
147
+
148
+ if ( class_exists( 'Locale' ) ) {
149
+
150
+ foreach ( self::$supported_locales as $locale ) {
151
+
152
+ if ( $name = \Locale::getDisplayName( $locale, substr( $locale, 0, 2 ) ) ) {
153
+
154
+ $locales[ $locale ] = ucfirst( $name );
155
+ }
156
+ }
157
+
158
+ } else {
159
+
160
+ include_once( ABSPATH . '/wp-admin/includes/translation-install.php' );
161
+
162
+ $translations = wp_get_available_translations();
163
+
164
+ foreach ( self::$supported_locales as $locale ) {
165
+
166
+ if ( isset( $translations[ $locale ]['native_name'] ) ) {
167
+
168
+ $locales[ $locale ] = $translations[ $locale ]['native_name'];
169
+
170
+ } else { // generic match e.g. <it>_IT, <it>_CH (any language in the the <it> group )
171
+
172
+ $matched_locale = substr( $locale, 0, 2 );
173
+
174
+ if ( isset( $translations[ $matched_locale ]['native_name'] ) ) {
175
+ $locales[ $locale ] = $translations[ $matched_locale ]['native_name'];
176
+ }
177
+ }
178
+ }
179
+
180
+ // always include US English
181
+ $locales['en_US'] = _x( 'English (United States)', 'language', 'facebook-for-woocommerce' );
182
+ }
183
+
184
+ /**
185
+ * Filters the locales supported by Facebook Messenger.
186
+ *
187
+ * @since 1.10.0
188
+ *
189
+ * @param array $locales locales supported by Facebook, in $locale => $name format
190
+ */
191
+ $locales = (array) apply_filters( 'wc_facebook_messenger_supported_locales', array_unique( $locales ) );
192
+
193
+ natcasesort( $locales );
194
+
195
+ return $locales;
196
+ }
197
+
198
+
199
+ /**
200
+ * Determines if a locale is supported by Facebook.
201
+ *
202
+ * @since 2.2.0
203
+ *
204
+ * @param string $locale a locale identifier
205
+ * @return bool
206
+ */
207
+ public static function is_supported_locale( $locale ) {
208
+
209
+ return array_key_exists( $locale, self::get_supported_locales() );
210
+ }
211
+
212
+
213
+ }
includes/Products.php CHANGED
@@ -10,8 +10,8 @@
10
 
11
  namespace SkyVerge\WooCommerce\Facebook;
12
 
13
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4\SV_WC_Plugin_Exception;
14
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
15
  use WC_Facebook_Product;
16
 
17
  defined( 'ABSPATH' ) or exit;
10
 
11
  namespace SkyVerge\WooCommerce\Facebook;
12
 
13
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_Plugin_Exception;
14
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
15
  use WC_Facebook_Product;
16
 
17
  defined( 'ABSPATH' ) or exit;
includes/Products/FBCategories.php CHANGED
@@ -12,7 +12,7 @@ namespace SkyVerge\WooCommerce\Facebook\Products;
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
16
 
17
  /**
18
  * The main product feed handler.
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
16
 
17
  /**
18
  * The main product feed handler.
includes/Products/Feed.php CHANGED
@@ -12,7 +12,7 @@ namespace SkyVerge\WooCommerce\Facebook\Products;
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
16
 
17
  /**
18
  * The main product feed handler.
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
16
 
17
  /**
18
  * The main product feed handler.
includes/Products/Sync/Background.php CHANGED
@@ -14,7 +14,7 @@ defined( 'ABSPATH' ) or exit;
14
 
15
  use SkyVerge\WooCommerce\Facebook\Products;
16
  use SkyVerge\WooCommerce\Facebook\Products\Sync;
17
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
18
 
19
  /**
20
  * The background sync handler.
@@ -289,7 +289,13 @@ class Background extends Framework\SV_WP_Background_Job_Handler {
289
  // attributes other than size, color, pattern, or gender need to be included in the additional_variant_attributes field
290
  if ( isset( $data['custom_data'] ) && is_array( $data['custom_data'] ) ) {
291
 
292
- $data['additional_variant_attributes'] = $data['custom_data'];
 
 
 
 
 
 
293
  unset( $data['custom_data'] );
294
  }
295
 
14
 
15
  use SkyVerge\WooCommerce\Facebook\Products;
16
  use SkyVerge\WooCommerce\Facebook\Products\Sync;
17
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
18
 
19
  /**
20
  * The background sync handler.
289
  // attributes other than size, color, pattern, or gender need to be included in the additional_variant_attributes field
290
  if ( isset( $data['custom_data'] ) && is_array( $data['custom_data'] ) ) {
291
 
292
+ $attributes = [];
293
+
294
+ foreach ($data['custom_data'] as $key => $val) {
295
+ $attributes[] = $key . ':' . $val;
296
+ }
297
+
298
+ $data['additional_variant_attribute'] = implode(',', $attributes);
299
  unset( $data['custom_data'] );
300
  }
301
 
includes/Utilities/Background_Handle_Virtual_Products_Variations.php CHANGED
@@ -12,7 +12,7 @@ namespace SkyVerge\WooCommerce\Facebook\Utilities;
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
16
 
17
 
18
  /**
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
16
 
17
 
18
  /**
includes/Utilities/Background_Remove_Duplicate_Visibility_Meta.php CHANGED
@@ -12,7 +12,7 @@ namespace SkyVerge\WooCommerce\Facebook\Utilities;
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
16
 
17
 
18
  /**
12
 
13
  defined( 'ABSPATH' ) or exit;
14
 
15
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
16
 
17
 
18
  /**
includes/fbgraph.php CHANGED
@@ -12,7 +12,7 @@ if ( ! defined( 'ABSPATH' ) ) {
12
  exit;
13
  }
14
 
15
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
16
 
17
  if ( ! class_exists( 'WC_Facebookcommerce_Graph_API' ) ) :
18
 
12
  exit;
13
  }
14
 
15
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
16
 
17
  if ( ! class_exists( 'WC_Facebookcommerce_Graph_API' ) ) :
18
 
includes/fbproduct.php CHANGED
@@ -9,7 +9,7 @@
9
  */
10
 
11
  use SkyVerge\WooCommerce\Facebook\Products;
12
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
13
 
14
  if ( ! defined( 'ABSPATH' ) ) {
15
  exit;
@@ -605,7 +605,7 @@ if ( ! class_exists( 'WC_Facebook_Product' ) ) :
605
  $product_data = $this->apply_enhanced_catalog_fields_from_attributes( $product_data, $google_product_category );
606
  }
607
 
608
- // add the Commerce values (only inventory for the momenbt)
609
  if ( Products::is_product_ready_for_commerce( $this->woo_product ) ) {
610
  $product_data['inventory'] = (int) max( 0, $this->woo_product->get_stock_quantity() );
611
  }
9
  */
10
 
11
  use SkyVerge\WooCommerce\Facebook\Products;
12
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
13
 
14
  if ( ! defined( 'ABSPATH' ) ) {
15
  exit;
605
  $product_data = $this->apply_enhanced_catalog_fields_from_attributes( $product_data, $google_product_category );
606
  }
607
 
608
+ // add the Commerce values (only inventory for the moment)
609
  if ( Products::is_product_ready_for_commerce( $this->woo_product ) ) {
610
  $product_data['inventory'] = (int) max( 0, $this->woo_product->get_stock_quantity() );
611
  }
includes/fbproductfeed.php CHANGED
@@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
14
 
15
  use SkyVerge\WooCommerce\Facebook\Products;
16
  use SkyVerge\WooCommerce\Facebook\Products\Feed;
17
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
18
 
19
  if ( ! class_exists( 'WC_Facebook_Product_Feed' ) ) :
20
 
14
 
15
  use SkyVerge\WooCommerce\Facebook\Products;
16
  use SkyVerge\WooCommerce\Facebook\Products\Feed;
17
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
18
 
19
  if ( ! class_exists( 'WC_Facebook_Product_Feed' ) ) :
20
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: facebook, automattic, woothemes
3
  Tags: facebook, shop, catalog, advertise, pixel, product
4
  Requires at least: 4.4
5
  Tested up to: 5.5.3
6
- Stable tag: 2.1.4
7
  Requires PHP: 5.6 or greater
8
  MySQL: 5.6 or greater
9
  License: GPLv2 or later
@@ -39,7 +39,13 @@ When opening a bug on GitHub, please give us as many details as possible.
39
 
40
  == Changelog ==
41
 
42
- = 2020.11.04 - version 2.1.4
 
 
 
 
 
 
43
  * Fix - Ensure product variant attributes are correctly handled when checking for enhanced attribute values.
44
 
45
  = 2020.10.29 - version 2.1.3 =
3
  Tags: facebook, shop, catalog, advertise, pixel, product
4
  Requires at least: 4.4
5
  Tested up to: 5.5.3
6
+ Stable tag: 2.2.0
7
  Requires PHP: 5.6 or greater
8
  MySQL: 5.6 or greater
9
  License: GPLv2 or later
39
 
40
  == Changelog ==
41
 
42
+ = 2020.11.19 - version 2.2.0 =
43
+ * Feature - Add an Advertise tab in the Facebook settings page to manage Facebook ads from within WooCommerce
44
+ * Tweak - Move the Facebook settings page into the Marketing menu item (WooCommerce 4.0+)
45
+ * Fix - Move the filter `facebook_for_woocommerce_integration_pixel_enabled` initialization to avoid possible uncaught JavaScript errors in front end
46
+ * Fix - Update field name and format for additional_variant_attribute to resolve Facebook catalog sync for variable products.
47
+
48
+ = 2020.11.04 - version 2.1.4 =
49
  * Fix - Ensure product variant attributes are correctly handled when checking for enhanced attribute values.
50
 
51
  = 2020.10.29 - version 2.1.3 =
vendor/skyverge/wc-plugin-framework/woocommerce/Addresses/Address.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4\Addresses;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\Addresses\\Address' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0\Addresses;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\Addresses\\Address' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/Addresses/Customer_Address.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4\Addresses;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\Addresses\\Customer_Address' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0\Addresses;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\Addresses\\Customer_Address' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/Country_Helper.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\Country_Helper' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\Country_Helper' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/Handlers/Script_Handler.php ADDED
@@ -0,0 +1,343 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * WooCommerce Payment Gateway Framework
4
+ *
5
+ * This source file is subject to the GNU General Public License v3.0
6
+ * that is bundled with this package in the file license.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.html
9
+ * If you did not receive a copy of the license and are unable to
10
+ * obtain it through the world-wide-web, please send an email
11
+ * to license@skyverge.com so we can send you a copy immediately.
12
+ *
13
+ * DISCLAIMER
14
+ *
15
+ * Do not edit or add to this file if you wish to upgrade the plugin to newer
16
+ * versions in the future. If you wish to customize the plugin for your
17
+ * needs please refer to http://www.skyverge.com
18
+ *
19
+ * @package SkyVerge/WooCommerce/Payment-Gateway/Classes
20
+ * @author SkyVerge
21
+ * @copyright Copyright (c) 2013-2020, SkyVerge, Inc.
22
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
+ */
24
+
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0\Handlers;
26
+
27
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_Helper;
28
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_Plugin_Exception;
29
+
30
+ defined( 'ABSPATH' ) or exit;
31
+
32
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\Handlers\\Script_Handler' ) ) :
33
+
34
+
35
+ /**
36
+ * Script Handler Abstract Class
37
+ *
38
+ * Handles initializing the payment registered JavaScripts
39
+ *
40
+ * @since 5.7.0
41
+ */
42
+ abstract class Script_Handler {
43
+
44
+
45
+ /** @var string JS handler base class name, without the FW version */
46
+ protected $js_handler_base_class_name = '';
47
+
48
+
49
+ /**
50
+ * Script_Handler constructor.
51
+ *
52
+ * @since 5.7.0
53
+ */
54
+ public function __construct() {
55
+
56
+ // add the action and filter hooks
57
+ $this->add_hooks();
58
+ }
59
+
60
+
61
+ /**
62
+ * Adds the action and filter hooks.
63
+ *
64
+ * @since 5.7.0
65
+ */
66
+ protected function add_hooks() {
67
+
68
+ add_action( 'wp_ajax_wc_' . $this->get_id() . '_log_script_event', [ $this, 'ajax_log_event' ] );
69
+ add_action( 'wp_ajax_nopriv_wc_' . $this->get_id() . '_log_script_event', [ $this, 'ajax_log_event' ] );
70
+ }
71
+
72
+
73
+ /**
74
+ * Returns the JS handler class name.
75
+ *
76
+ * @since 5.7.0
77
+ *
78
+ * @return string
79
+ */
80
+ protected function get_js_handler_class_name() {
81
+
82
+ return sprintf( '%s_v5_10_0', $this->js_handler_base_class_name );
83
+ }
84
+
85
+
86
+ /**
87
+ * Returns the JS handler object name.
88
+ *
89
+ * @since 5.7.0
90
+ *
91
+ * @return string
92
+ */
93
+ protected function get_js_handler_object_name() {
94
+
95
+ return 'wc_' . $this->get_id() . '_handler';
96
+ }
97
+
98
+
99
+ /**
100
+ * Gets the JS event triggered after the JS handler class is loaded.
101
+ *
102
+ * @since 5.7.0
103
+ *
104
+ * @return string
105
+ */
106
+ protected function get_js_loaded_event() {
107
+
108
+ return sprintf( '%s_loaded', strtolower( $this->get_js_handler_class_name() ) );
109
+ }
110
+
111
+
112
+ /**
113
+ * Gets the handler instantiation JS wrapped in a safe load technique.
114
+ *
115
+ * @since 5.7.0
116
+ *
117
+ * @param array $additional_args additional handler arguments, if any
118
+ * @param string $handler_name handler name, if different from self::get_js_handler_class_name()
119
+ * @param string $object_name object name, if different from self::get_js_handler_object_name()
120
+ * @return string
121
+ */
122
+ protected function get_safe_handler_js( array $additional_args = [], $handler_name = '', $object_name = '' ) {
123
+
124
+ if ( ! $handler_name ) {
125
+ $handler_name = $this->get_js_handler_class_name();
126
+ }
127
+
128
+ $load_function = 'load_' . $this->get_id() . '_handler';
129
+
130
+ ob_start();
131
+
132
+ ?>
133
+ function <?php echo esc_js( $load_function ) ?>() {
134
+ <?php echo $this->get_handler_js( $additional_args, $handler_name, $object_name ); ?>
135
+ }
136
+
137
+ try {
138
+
139
+ if ( 'undefined' !== typeof <?php echo esc_js( $handler_name ); ?> ) {
140
+ <?php echo esc_js( $load_function ); ?>();
141
+ } else {
142
+ window.jQuery( document.body ).on( '<?php echo esc_js( $this->get_js_loaded_event() ); ?>', <?php echo esc_js( $load_function ); ?> );
143
+ }
144
+
145
+ } catch ( err ) {
146
+
147
+ <?php echo $this->get_js_handler_event_debug_log_request(); ?>
148
+ }
149
+ <?php
150
+
151
+ return ob_get_clean();
152
+ }
153
+
154
+
155
+ /**
156
+ * Gets the handler instantiation JS.
157
+ *
158
+ * @since 5.7.0
159
+ *
160
+ * @param array $additional_args additional handler arguments, if any
161
+ * @param string $handler_name handler name, if different from self::get_js_handler_class_name()
162
+ * @param string $object_name object name, if different from self::get_js_handler_object_name()
163
+ * @return string
164
+ */
165
+ protected function get_handler_js( array $additional_args = [], $handler_name = '', $object_name = '' ) {
166
+
167
+ $args = array_merge( $additional_args, $this->get_js_handler_args() );
168
+
169
+ /**
170
+ * Filters the JavaScript handler arguments.
171
+ *
172
+ * @since 5.7.0
173
+ *
174
+ * @param array $args arguments to pass to the JS handler
175
+ * @param Script_Handler $handler script handler instance
176
+ */
177
+ $args = apply_filters( 'wc_' . $this->get_id() . '_js_args', $args, $this );
178
+
179
+ if ( ! $handler_name ) {
180
+ $handler_name = $this->get_js_handler_class_name();
181
+ }
182
+
183
+ if ( ! $object_name ) {
184
+ $object_name = $this->get_js_handler_object_name();
185
+ }
186
+
187
+ return sprintf( 'window.%1$s = new %2$s( %3$s );', esc_js( $object_name ), esc_js( $handler_name ), json_encode( $args ) );
188
+ }
189
+
190
+
191
+ /**
192
+ * Gets the JS handler arguments.
193
+ *
194
+ * @since 5.7.0
195
+ *
196
+ * @return array
197
+ */
198
+ protected function get_js_handler_args() {
199
+
200
+ return [];
201
+ }
202
+
203
+
204
+ /**
205
+ * Gets inline JavaScript code to issue an AJAX request to log a script error event.
206
+ *
207
+ * @since 5.7.0
208
+ *
209
+ * @return string
210
+ */
211
+ protected function get_js_handler_event_debug_log_request() {
212
+
213
+ ob_start();
214
+
215
+ ?>
216
+
217
+ var errorName = '',
218
+ errorMessage = '';
219
+
220
+ if ( 'undefined' === typeof err || 0 === err.length || ! err ) {
221
+ errorName = '<?php echo esc_js( 'A script error has occurred.' ); ?>';
222
+ errorMessage = '<?php echo esc_js( sprintf( 'The script %s could not be loaded.', $this->get_js_handler_class_name() ) ); ?>';
223
+ } else {
224
+ errorName = 'undefined' !== typeof err.name ? err.name : '';
225
+ errorMessage = 'undefined' !== typeof err.message ? err.message : '';
226
+ }
227
+
228
+ <?php if ( $this->is_logging_enabled() ) : ?>
229
+
230
+ console.log( [ errorName, errorMessage ].filter( Boolean ).join( ' ' ) );
231
+
232
+ <?php endif; ?>
233
+
234
+ jQuery.post( '<?php echo esc_js( admin_url( 'admin-ajax.php' ) ) ; ?>', {
235
+ action: '<?php echo esc_js( 'wc_' . $this->get_id() . '_log_script_event' ); ?>',
236
+ security: '<?php echo esc_js( wp_create_nonce( 'wc-' . $this->get_id_dasherized() . '-log-script-event' ) ); ?>',
237
+ name: errorName,
238
+ message: errorMessage,
239
+ } );
240
+
241
+ <?php
242
+
243
+ return ob_get_clean();
244
+ }
245
+
246
+
247
+ /**
248
+ * Logs an event via AJAX.
249
+ *
250
+ * @internal
251
+ *
252
+ * @since 5.7.0
253
+ */
254
+ public function ajax_log_event() {
255
+
256
+ // silently bail if nothing should be logged
257
+ if ( ! $this->is_logging_enabled() ) {
258
+ return;
259
+ }
260
+
261
+ try {
262
+
263
+ if ( ! wp_verify_nonce( SV_WC_Helper::get_posted_value( 'security' ), 'wc-' . $this->get_id_dasherized() . '-log-script-event' ) ) {
264
+ throw new SV_WC_Plugin_Exception( 'Invalid nonce.' );
265
+ }
266
+
267
+ $name = isset( $_POST['name'] ) && is_string( $_POST['name'] ) ? trim( $_POST['name'] ) : '';
268
+ $message = isset( $_POST['message'] ) && is_string( $_POST['message'] ) ? trim( $_POST['message'] ) : '';
269
+
270
+ if ( ! $message ) {
271
+ throw new SV_WC_Plugin_Exception( 'A message is required.' );
272
+ }
273
+
274
+ if ( $name ) {
275
+ $message = "{$name} {$message}";
276
+ }
277
+
278
+ $this->log_event( $message );
279
+
280
+ wp_send_json_success();
281
+
282
+ } catch ( SV_WC_Plugin_Exception $exception ) {
283
+
284
+ wp_send_json_error( $exception->getMessage() );
285
+ }
286
+ }
287
+
288
+
289
+ /**
290
+ * Adds a log entry.
291
+ *
292
+ * @since 5.7.0
293
+ *
294
+ * @param string $message message to log
295
+ */
296
+ abstract protected function log_event( $message );
297
+
298
+
299
+ /** Conditional methods *******************************************************************************************/
300
+
301
+
302
+ /**
303
+ * Determines whether logging is enabled.
304
+ *
305
+ * @since 5.7.0
306
+ *
307
+ * @return bool
308
+ */
309
+ protected function is_logging_enabled() {
310
+
311
+ return false;
312
+ }
313
+
314
+
315
+ /** Getter methods ************************************************************************************************/
316
+
317
+
318
+ /**
319
+ * Gets the ID of this script handler.
320
+ *
321
+ * @since 5.7.0
322
+ *
323
+ * @return string
324
+ */
325
+ abstract public function get_id();
326
+
327
+
328
+ /**
329
+ * Gets the ID, but dasherized.
330
+ *
331
+ * @since 5.7.0
332
+ *
333
+ * @return string
334
+ */
335
+ public function get_id_dasherized() {
336
+
337
+ return str_replace( '_', '-', $this->get_id() );
338
+ }
339
+
340
+
341
+ }
342
+
343
+ endif;
vendor/skyverge/wc-plugin-framework/woocommerce/Lifecycle.php CHANGED
@@ -22,13 +22,16 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4\Plugin;
26
 
27
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4\SV_WC_Plugin;
 
 
 
28
 
29
  defined( 'ABSPATH' ) or exit;
30
 
31
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\Plugin\\Lifecycle' ) ) :
32
 
33
 
34
  /**
@@ -192,6 +195,20 @@ class Lifecycle {
192
  */
193
  public function handle_deactivation() {
194
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
195
  $this->deactivate();
196
 
197
  /**
@@ -637,7 +654,7 @@ class Lifecycle {
637
  *
638
  * @since 5.1.0
639
  *
640
- * @return SV_WC_Plugin
641
  */
642
  protected function get_plugin() {
643
 
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0\Plugin;
26
 
27
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\Admin\Notes_Helper;
28
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_Payment_Gateway_Plugin;
29
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_Plugin;
30
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\SV_WC_Plugin_Compatibility;
31
 
32
  defined( 'ABSPATH' ) or exit;
33
 
34
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\Plugin\\Lifecycle' ) ) :
35
 
36
 
37
  /**
195
  */
196
  public function handle_deactivation() {
197
 
198
+ // if the enhanced admin is available, delete all of this plugin's notes on deactivation
199
+ if ( SV_WC_Plugin_Compatibility::is_enhanced_admin_available() ) {
200
+
201
+ Notes_Helper::delete_notes_with_source( $this->get_plugin()->get_id_dasherized() );
202
+
203
+ // if this is a gateway plugin, also delete the plugin's individual gateway notes
204
+ if ( $this->get_plugin() instanceof SV_WC_Payment_Gateway_Plugin ) {
205
+
206
+ foreach ( $this->get_plugin()->get_gateways() as $gateway ) {
207
+ Notes_Helper::delete_notes_with_source( $gateway->get_id_dasherized() );
208
+ }
209
+ }
210
+ }
211
+
212
  $this->deactivate();
213
 
214
  /**
654
  *
655
  * @since 5.1.0
656
  *
657
+ * @return SV_WC_Plugin|SV_WC_Payment_Gateway_Plugin
658
  */
659
  protected function get_plugin() {
660
 
vendor/skyverge/wc-plugin-framework/woocommerce/Settings_API/Abstract_Settings.php ADDED
@@ -0,0 +1,536 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * WooCommerce Plugin Framework
4
+ *
5
+ * This source file is subject to the GNU General Public License v3.0
6
+ * that is bundled with this package in the file license.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.html
9
+ * If you did not receive a copy of the license and are unable to
10
+ * obtain it through the world-wide-web, please send an email
11
+ * to license@skyverge.com so we can send you a copy immediately.
12
+ *
13
+ * DISCLAIMER
14
+ *
15
+ * Do not edit or add to this file if you wish to upgrade the plugin to newer
16
+ * versions in the future. If you wish to customize the plugin for your
17
+ * needs please refer to http://www.skyverge.com
18
+ *
19
+ * @package SkyVerge/WooCommerce/Plugin/Classes
20
+ * @author SkyVerge
21
+ * @copyright Copyright (c) 2013-2020, SkyVerge, Inc.
22
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
+ */
24
+
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0\Settings_API;
26
+
27
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
28
+
29
+ defined( 'ABSPATH' ) or exit;
30
+
31
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\Settings_API\\Abstract_Settings' ) ) :
32
+
33
+ /**
34
+ * The base settings handler.
35
+ *
36
+ * @since 5.7.0
37
+ */
38
+ abstract class Abstract_Settings {
39
+
40
+
41
+ /** @var string settings ID */
42
+ public $id;
43
+
44
+ /** @var Setting[] registered settings */
45
+ protected $settings = [];
46
+
47
+
48
+ /**
49
+ * Constructs the class.
50
+ *
51
+ * @since 5.7.0
52
+ *
53
+ * @param string $id the ID of plugin or payment gateway that owns these settings
54
+ */
55
+ public function __construct( $id ) {
56
+
57
+ $this->id = $id;
58
+
59
+ $this->register_settings();
60
+ $this->load_settings();
61
+ }
62
+
63
+
64
+ /**
65
+ * Registers the settings.
66
+ *
67
+ * Plugins or payment gateways should overwrite this method to register their settings.
68
+ *
69
+ * @since 5.7.0
70
+ */
71
+ abstract protected function register_settings();
72
+
73
+
74
+ /**
75
+ * Loads the values for all registered settings.
76
+ *
77
+ * @since 5.7.0
78
+ */
79
+ protected function load_settings() {
80
+
81
+ foreach ( $this->settings as $setting_id => $setting ) {
82
+
83
+ $value = get_option( $this->get_option_name_prefix() . '_' . $setting_id, null );
84
+ $value = $this->get_value_from_database( $value, $setting );
85
+
86
+ $this->settings[ $setting_id ]->set_value( $value );
87
+ }
88
+ }
89
+
90
+
91
+ /**
92
+ * Registers a setting.
93
+ *
94
+ * @param string $id unique setting ID
95
+ * @param string $type setting type
96
+ * @param array $args setting arguments
97
+ * @return bool
98
+ */
99
+ public function register_setting( $id, $type, array $args = [] ) {
100
+
101
+ try {
102
+
103
+ if ( ! empty( $this->settings[ $id ] ) ) {
104
+ throw new Framework\SV_WC_Plugin_Exception( "Setting {$id} is already registered" );
105
+ }
106
+
107
+ if ( ! in_array( $type, $this->get_setting_types(), true ) ) {
108
+ throw new Framework\SV_WC_Plugin_Exception( "{$type} is not a valid setting type" );
109
+ }
110
+
111
+ $setting = new Setting();
112
+
113
+ $setting->set_id( $id );
114
+ $setting->set_type( $type );
115
+
116
+ $args = wp_parse_args( $args, [
117
+ 'name' => '',
118
+ 'description' => '',
119
+ 'is_multi' => false,
120
+ 'options' => [],
121
+ 'default' => null,
122
+ ] );
123
+
124
+ $setting->set_name( $args['name'] );
125
+ $setting->set_description( $args['description'] );
126
+ $setting->set_default( $args['default'] );
127
+ $setting->set_is_multi( $args['is_multi'] );
128
+
129
+ if ( is_array( $args['options'] ) ) {
130
+ $setting->set_options( $args['options'] );
131
+ }
132
+
133
+ $this->settings[ $id ] = $setting;
134
+
135
+ return true;
136
+
137
+ } catch ( \Exception $exception ) {
138
+
139
+ wc_doing_it_wrong( __METHOD__, 'Could not register setting: ' . $exception->getMessage(), '5.7.0' );
140
+
141
+ return false;
142
+ }
143
+ }
144
+
145
+
146
+ /**
147
+ * Unregisters a setting.
148
+ *
149
+ * @since 5.7.0
150
+ *
151
+ * @param string $id setting ID to unregister
152
+ */
153
+ public function unregister_setting( $id ) {
154
+
155
+ unset( $this->settings[ $id ] );
156
+ }
157
+
158
+
159
+ /**
160
+ * Registers a control for a setting.
161
+ *
162
+ * @since 5.7.0
163
+ *
164
+ * @param string $setting_id the setting ID
165
+ * @param string $type the control type
166
+ * @param array $args optional args for the control
167
+ * @return bool
168
+ */
169
+ public function register_control( $setting_id, $type, array $args = [] ) {
170
+
171
+ try {
172
+
173
+ if ( ! in_array( $type, $this->get_control_types(), true ) ) {
174
+ throw new \UnexpectedValueException( "{$type} is not a valid control type" );
175
+ }
176
+
177
+ $setting = $this->get_setting( $setting_id );
178
+
179
+ if ( ! $setting ) {
180
+ throw new \InvalidArgumentException( "Setting {$setting_id} does not exist" );
181
+ }
182
+
183
+ $setting_control_types = $this->get_setting_control_types( $setting );
184
+ if ( ! empty( $setting_control_types ) && ! in_array( $type, $setting_control_types, true ) ) {
185
+ throw new \UnexpectedValueException( "{$type} is not a valid control type for setting {$setting->get_id()} of type {$setting->get_type()}" );
186
+ }
187
+
188
+ $args = wp_parse_args( $args, [
189
+ 'name' => $setting->get_name(),
190
+ 'description' => $setting->get_description(),
191
+ 'options' => [],
192
+ ] );
193
+
194
+ $control = new Control();
195
+
196
+ $control->set_setting_id( $setting_id );
197
+ $control->set_type( $type );
198
+ $control->set_name( $args['name'] );
199
+ $control->set_description( $args['description'] );
200
+
201
+ if ( is_array( $args['options'] ) ) {
202
+ $control->set_options( $args['options'], $setting->get_options() );
203
+ }
204
+
205
+ $setting->set_control( $control );
206
+
207
+ return true;
208
+
209
+ } catch ( \Exception $exception ) {
210
+
211
+ wc_doing_it_wrong( __METHOD__, 'Could not register setting control: ' . $exception->getMessage(), '5.7.0' );
212
+
213
+ return false;
214
+ }
215
+ }
216
+
217
+
218
+ /**
219
+ * Gets the settings ID.
220
+ *
221
+ * @since 5.7.0
222
+ *
223
+ * @return string
224
+ */
225
+ public function get_id() {
226
+
227
+ return $this->id;
228
+ }
229
+
230
+
231
+ /**
232
+ * Gets registered settings.
233
+ *
234
+ * It returns all settings by default, but you can pass an array of IDs to filter the results.
235
+ *
236
+ * @param string[] $ids setting IDs to get
237
+ * @return Setting[]
238
+ */
239
+ public function get_settings( array $ids = [] ) {
240
+
241
+ $settings = $this->settings;
242
+
243
+ if ( ! empty( $ids ) ) {
244
+
245
+ foreach ( array_keys( $this->settings ) as $id ) {
246
+
247
+ if ( ! in_array( $id, $ids, true ) ) {
248
+ unset( $settings[ $id ] );
249
+ }
250
+ }
251
+ }
252
+
253
+ return $settings;
254
+ }
255
+
256
+
257
+ /**
258
+ * Gets a setting object.
259
+ *
260
+ * @since 5.7.0
261
+ *
262
+ * @param string $id setting ID to get
263
+ * @return Setting|null
264
+ */
265
+ public function get_setting( $id ) {
266
+
267
+ return ! empty( $this->settings[ $id ] ) ? $this->settings[ $id ] : null;
268
+ }
269
+
270
+
271
+ /**
272
+ * Gets the stored value for a setting.
273
+ *
274
+ * Optionally, will return the setting's default value if nothing is stored.
275
+ *
276
+ * @since 5.7.0
277
+ *
278
+ * @param string $setting_id setting ID
279
+ * @param bool $with_default whether to return the default value if nothing is stored
280
+ * @return array|bool|float|int|string
281
+ * @throws Framework\SV_WC_Plugin_Exception
282
+ */
283
+ public function get_value( $setting_id, $with_default = true ) {
284
+
285
+ $setting = $this->get_setting( $setting_id );
286
+
287
+ if ( ! $setting ) {
288
+ throw new Framework\SV_WC_Plugin_Exception( "Setting {$setting_id} does not exist" );
289
+ }
290
+
291
+ $value = $setting->get_value();
292
+
293
+ if ( $with_default && null === $value ) {
294
+ $value = $setting->get_default();
295
+ }
296
+
297
+ return $value;
298
+ }
299
+
300
+
301
+ /**
302
+ * Updates the stored value for a setting.
303
+ *
304
+ * @since 5.7.0
305
+ *
306
+ * @param string $setting_id setting ID
307
+ * @param array|bool|float|int|string $value
308
+ * @throws Framework\SV_WC_Plugin_Exception
309
+ */
310
+ public function update_value( $setting_id, $value ) {
311
+
312
+ $setting = $this->get_setting( $setting_id );
313
+
314
+ if ( ! $setting ) {
315
+ throw new Framework\SV_WC_Plugin_Exception( "Setting {$setting_id} does not exist", 404 );
316
+ }
317
+
318
+ // performs the validations and updates the value
319
+ $setting->update_value( $value );
320
+
321
+ $this->save( $setting_id );
322
+ }
323
+
324
+
325
+ /**
326
+ * Deletes the stored value for a setting.
327
+ *
328
+ * @since 5.7.0
329
+ *
330
+ * @param string $setting_id setting ID
331
+ * @return bool
332
+ * @throws Framework\SV_WC_Plugin_Exception
333
+ */
334
+ public function delete_value( $setting_id ) {
335
+
336
+ $setting = $this->get_setting( $setting_id );
337
+
338
+ if ( ! $setting ) {
339
+ throw new Framework\SV_WC_Plugin_Exception( "Setting {$setting_id} does not exist" );
340
+ }
341
+
342
+ $setting->set_value( null );
343
+
344
+ return delete_option( "{$this->get_option_name_prefix()}_{$setting->get_id()}" );
345
+ }
346
+
347
+
348
+ /**
349
+ * Saves registered settings in their current state.
350
+ *
351
+ * It saves all settings by default, but you can pass a setting ID to save a specific setting.
352
+ *
353
+ * @since 5.7.0
354
+ *
355
+ * @param string $setting_id setting ID
356
+ */
357
+ public function save( $setting_id = '' ) {
358
+
359
+ if ( ! empty( $setting_id ) ) {
360
+ $settings = [ $this->get_setting( $setting_id ) ];
361
+ } else {
362
+ $settings = $this->settings;
363
+ }
364
+
365
+ $settings = array_filter( $settings );
366
+
367
+ foreach ( $settings as $setting ) {
368
+
369
+ $option_name = "{$this->get_option_name_prefix()}_{$setting->get_id()}";
370
+ $setting_value = $setting->get_value();
371
+
372
+ if ( null === $setting_value ) {
373
+
374
+ delete_option( $option_name );
375
+
376
+ } else {
377
+
378
+ update_option( $option_name, $this->get_value_for_database( $setting ) );
379
+ }
380
+ }
381
+ }
382
+
383
+
384
+ /**
385
+ * Converts the value of a setting to be stored in an option.
386
+ *
387
+ * @since 5.7.0
388
+ *
389
+ * @param Setting $setting
390
+ * @return mixed
391
+ */
392
+ protected function get_value_for_database( Setting $setting ) {
393
+
394
+ $value = $setting->get_value();
395
+
396
+ if ( null !== $value && Setting::TYPE_BOOLEAN === $setting->get_type() ) {
397
+ $value = wc_bool_to_string( $value );
398
+ }
399
+
400
+ return $value;
401
+ }
402
+
403
+
404
+ /**
405
+ * Converts the stored value of a setting to the proper setting type.
406
+ *
407
+ * @since 5.7.0
408
+ *
409
+ * @param mixed $value the value stored in an option
410
+ * @param Setting $setting
411
+ * @return mixed
412
+ */
413
+ protected function get_value_from_database( $value, Setting $setting ) {
414
+
415
+ if ( null !== $value ) {
416
+
417
+ switch ( $setting->get_type() ) {
418
+
419
+ case Setting::TYPE_BOOLEAN:
420
+ $value = wc_string_to_bool( $value );
421
+ break;
422
+
423
+ case Setting::TYPE_INTEGER:
424
+ $value = is_numeric( $value ) ? (int) $value : null;
425
+ break;
426
+
427
+ case Setting::TYPE_FLOAT:
428
+ $value = is_numeric( $value ) ? (float) $value : null;
429
+ break;
430
+ }
431
+ }
432
+
433
+ return $value;
434
+ }
435
+
436
+
437
+ /**
438
+ * Gets the list of valid setting types.
439
+ *
440
+ * @since 5.7.0
441
+ *
442
+ * @return string[]
443
+ */
444
+ public function get_setting_types() {
445
+
446
+ $setting_types = [
447
+ Setting::TYPE_STRING,
448
+ Setting::TYPE_URL,
449
+ Setting::TYPE_EMAIL,
450
+ Setting::TYPE_INTEGER,
451
+ Setting::TYPE_FLOAT,
452
+ Setting::TYPE_BOOLEAN,
453
+ ];
454
+
455
+ /**
456
+ * Filters the list of valid setting types.
457
+ *
458
+ * @param string[] $setting_types valid setting types
459
+ * @param Abstract_Settings $settings the settings handler instance
460
+ */
461
+ return apply_filters( "wc_{$this->get_id()}_settings_api_setting_types", $setting_types, $this );
462
+ }
463
+
464
+
465
+ /**
466
+ * Gets the list of valid control types.
467
+ *
468
+ * @since 5.7.0
469
+ *
470
+ * @return string[]
471
+ */
472
+ public function get_control_types() {
473
+
474
+ $control_types = [
475
+ Control::TYPE_TEXT,
476
+ Control::TYPE_TEXTAREA,
477
+ Control::TYPE_NUMBER,
478
+ Control::TYPE_EMAIL,
479
+ Control::TYPE_PASSWORD,
480
+ Control::TYPE_DATE,
481
+ Control::TYPE_CHECKBOX,
482
+ Control::TYPE_RADIO,
483
+ Control::TYPE_SELECT,
484
+ Control::TYPE_FILE,
485
+ Control::TYPE_COLOR,
486
+ Control::TYPE_RANGE,
487
+ ];
488
+
489
+ /**
490
+ * Filters the list of valid control types.
491
+ *
492
+ * @param string[] $control_types valid control types
493
+ * @param Abstract_Settings $settings the settings handler instance
494
+ */
495
+ return apply_filters( "wc_{$this->get_id()}_settings_api_control_types", $control_types, $this );
496
+ }
497
+
498
+
499
+ /**
500
+ * Returns the valid control types for a setting.
501
+ *
502
+ * @since 5.7.0
503
+ *
504
+ * @param Setting $setting setting object
505
+ * @return string[]
506
+ */
507
+ public function get_setting_control_types( $setting ) {
508
+
509
+ /**
510
+ * Filters the list of valid control types for a setting.
511
+ *
512
+ * @param string[] $control_types valid control types
513
+ * @param string $setting_type setting type
514
+ * @param Setting $setting setting object
515
+ * @param Abstract_Settings $settings the settings handler instance
516
+ */
517
+ return apply_filters( "wc_{$this->get_id()}_settings_api_setting_control_types", [], $setting->get_type(), $setting, $this );
518
+ }
519
+
520
+
521
+ /**
522
+ * Gets the prefix for db option names.
523
+ *
524
+ * @since 5.7.0
525
+ *
526
+ * @return string
527
+ */
528
+ public function get_option_name_prefix() {
529
+
530
+ return "wc_{$this->id}";
531
+ }
532
+
533
+
534
+ }
535
+
536
+ endif;
vendor/skyverge/wc-plugin-framework/woocommerce/Settings_API/Control.php ADDED
@@ -0,0 +1,270 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * WooCommerce Plugin Framework
4
+ *
5
+ * This source file is subject to the GNU General Public License v3.0
6
+ * that is bundled with this package in the file license.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.html
9
+ * If you did not receive a copy of the license and are unable to
10
+ * obtain it through the world-wide-web, please send an email
11
+ * to license@skyverge.com so we can send you a copy immediately.
12
+ *
13
+ * DISCLAIMER
14
+ *
15
+ * Do not edit or add to this file if you wish to upgrade the plugin to newer
16
+ * versions in the future. If you wish to customize the plugin for your
17
+ * needs please refer to http://www.skyverge.com
18
+ *
19
+ * @package SkyVerge/WooCommerce/Plugin/Classes
20
+ * @author SkyVerge
21
+ * @copyright Copyright (c) 2013-2020, SkyVerge, Inc.
22
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
+ */
24
+
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0\Settings_API;
26
+
27
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
28
+
29
+ defined( 'ABSPATH' ) or exit;
30
+
31
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\Settings_API\\Control' ) ) :
32
+
33
+ /**
34
+ * The base control object.
35
+ *
36
+ * @since 5.7.0
37
+ */
38
+ class Control {
39
+
40
+
41
+ /** @var string the text control type */
42
+ const TYPE_TEXT = 'text';
43
+
44
+ /** @var string the textarea control type */
45
+ const TYPE_TEXTAREA = 'textarea';
46
+
47
+ /** @var string the number control type */
48
+ const TYPE_NUMBER = 'number';
49
+
50
+ /** @var string the email control type */
51
+ const TYPE_EMAIL = 'email';
52
+
53
+ /** @var string the password control type */
54
+ const TYPE_PASSWORD = 'password';
55
+
56
+ /** @var string the date control type */
57
+ const TYPE_DATE = 'date';
58
+
59
+ /** @var string the checkbox control type */
60
+ const TYPE_CHECKBOX = 'checkbox';
61
+
62
+ /** @var string the radio control type */
63
+ const TYPE_RADIO = 'radio';
64
+
65
+ /** @var string the select control type */
66
+ const TYPE_SELECT = 'select';
67
+
68
+ /** @var string the file control type */
69
+ const TYPE_FILE = 'file';
70
+
71
+ /** @var string the color control type */
72
+ const TYPE_COLOR = 'color';
73
+
74
+ /** @var string the range control type */
75
+ const TYPE_RANGE = 'range';
76
+
77
+
78
+ /** @var string|null the setting ID to which this control belongs */
79
+ protected $setting_id;
80
+
81
+ /** @var string|null the control type */
82
+ protected $type;
83
+
84
+ /** @var string the control name */
85
+ protected $name = '';
86
+
87
+ /** @var string the control description */
88
+ protected $description = '';
89
+
90
+ /** @var array the control options, as $option => $label */
91
+ protected $options = [];
92
+
93
+
94
+ /** Getter methods ************************************************************************************************/
95
+
96
+
97
+ /**
98
+ * The setting ID to which this control belongs.
99
+ *
100
+ * @since 5.7.0
101
+ *
102
+ * @return null|string
103
+ */
104
+ public function get_setting_id() {
105
+
106
+ return $this->setting_id;
107
+ }
108
+
109
+
110
+ /**
111
+ * Gets the control type.
112
+ *
113
+ * @since 5.7.0
114
+ *
115
+ * @return null|string
116
+ */
117
+ public function get_type() {
118
+
119
+ return $this->type;
120
+ }
121
+
122
+
123
+ /**
124
+ * Gets the control name.
125
+ *
126
+ * @since 5.7.0
127
+ *
128
+ * @return string
129
+ */
130
+ public function get_name() {
131
+
132
+ return $this->name;
133
+ }
134
+
135
+
136
+ /**
137
+ * Gets the control description.
138
+ *
139
+ * @since 5.7.0
140
+ *
141
+ * @return string
142
+ */
143
+ public function get_description() {
144
+
145
+ return $this->description;
146
+ }
147
+
148
+
149
+ /**
150
+ * Gets the control options.
151
+ *
152
+ * As $option => $label for display.
153
+ *
154
+ * @since 5.7.0
155
+ *
156
+ * @return array
157
+ */
158
+ public function get_options() {
159
+
160
+ return $this->options;
161
+ }
162
+
163
+
164
+ /** Setter methods ************************************************************************************************/
165
+
166
+
167
+ /**
168
+ * Sets the setting ID.
169
+ *
170
+ * @since 5.7.0
171
+ *
172
+ * @param string $value setting ID to set
173
+ * @throws Framework\SV_WC_Plugin_Exception
174
+ */
175
+ public function set_setting_id( $value ) {
176
+
177
+ if ( ! is_string( $value ) ) {
178
+ throw new Framework\SV_WC_Plugin_Exception( 'Setting ID value must be a string' );
179
+ }
180
+
181
+ $this->setting_id = $value;
182
+ }
183
+
184
+
185
+ /**
186
+ * Sets the type.
187
+ *
188
+ * @since 5.7.0
189
+ *
190
+ * @param string $value setting ID to set
191
+ * @param string[] $valid_types allowed control types
192
+ * @throws Framework\SV_WC_Plugin_Exception
193
+ */
194
+ public function set_type( $value, array $valid_types = [] ) {
195
+
196
+ if ( ! empty( $valid_types ) && ! in_array( $value, $valid_types, true ) ) {
197
+
198
+ throw new Framework\SV_WC_Plugin_Exception( sprintf(
199
+ 'Control type must be one of %s',
200
+ Framework\SV_WC_Helper::list_array_items( $valid_types, 'or' )
201
+ ) );
202
+ }
203
+
204
+ $this->type = $value;
205
+ }
206
+
207
+
208
+ /**
209
+ * Sets the name.
210
+ *
211
+ * @since 5.7.0
212
+ *
213
+ * @param string $value control name to set
214
+ * @throws Framework\SV_WC_Plugin_Exception
215
+ */
216
+ public function set_name( $value ) {
217
+
218
+ if ( ! is_string( $value ) ) {
219
+ throw new Framework\SV_WC_Plugin_Exception( 'Control name value must be a string' );
220
+ }
221
+
222
+ $this->name = $value;
223
+ }
224
+
225
+
226
+ /**
227
+ * Sets the description.
228
+ *
229
+ * @since 5.7.0
230
+ *
231
+ * @param string $value control description to set
232
+ * @throws Framework\SV_WC_Plugin_Exception
233
+ */
234
+ public function set_description( $value ) {
235
+
236
+ if ( ! is_string( $value ) ) {
237
+ throw new Framework\SV_WC_Plugin_Exception( 'Control description value must be a string' );
238
+ }
239
+
240
+ $this->description = $value;
241
+ }
242
+
243
+
244
+ /**
245
+ * Sets the options.
246
+ *
247
+ * @since 5.7.0
248
+ *
249
+ * @param array $options options to set
250
+ * @param array $valid_options valid option keys to check against
251
+ */
252
+ public function set_options( array $options, array $valid_options = [] ) {
253
+
254
+ if ( ! empty( $valid_options ) ) {
255
+
256
+ foreach ( array_keys( $options ) as $key ) {
257
+
258
+ if ( ! in_array( $key, $valid_options, true ) ) {
259
+ unset( $options[ $key ] );
260
+ }
261
+ }
262
+ }
263
+
264
+ $this->options = $options;
265
+ }
266
+
267
+
268
+ }
269
+
270
+ endif;
vendor/skyverge/wc-plugin-framework/woocommerce/Settings_API/Setting.php ADDED
@@ -0,0 +1,478 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * WooCommerce Plugin Framework
4
+ *
5
+ * This source file is subject to the GNU General Public License v3.0
6
+ * that is bundled with this package in the file license.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.html
9
+ * If you did not receive a copy of the license and are unable to
10
+ * obtain it through the world-wide-web, please send an email
11
+ * to license@skyverge.com so we can send you a copy immediately.
12
+ *
13
+ * DISCLAIMER
14
+ *
15
+ * Do not edit or add to this file if you wish to upgrade the plugin to newer
16
+ * versions in the future. If you wish to customize the plugin for your
17
+ * needs please refer to http://www.skyverge.com
18
+ *
19
+ * @package SkyVerge/WooCommerce/Plugin/Classes
20
+ * @author SkyVerge
21
+ * @copyright Copyright (c) 2013-2020, SkyVerge, Inc.
22
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
+ */
24
+
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0\Settings_API;
26
+
27
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
28
+
29
+ defined( 'ABSPATH' ) or exit;
30
+
31
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\Settings_API\\Setting' ) ) :
32
+
33
+ /**
34
+ * The base setting object.
35
+ *
36
+ * @since 5.7.0
37
+ */
38
+ class Setting {
39
+
40
+
41
+ /** @var string the string setting type */
42
+ const TYPE_STRING = 'string';
43
+
44
+ /** @var string the URL setting type */
45
+ const TYPE_URL = 'url';
46
+
47
+ /** @var string the email setting type */
48
+ const TYPE_EMAIL = 'email';
49
+
50
+ /** @var string the integer setting type */
51
+ const TYPE_INTEGER = 'integer';
52
+
53
+ /** @var string the float setting type */
54
+ const TYPE_FLOAT = 'float';
55
+
56
+ /** @var string the boolean setting type */
57
+ const TYPE_BOOLEAN = 'boolean';
58
+
59
+
60
+ /** @var string unique setting ID */
61
+ protected $id;
62
+
63
+ /** @var string setting type */
64
+ protected $type;
65
+
66
+ /** @var string setting name */
67
+ protected $name;
68
+
69
+ /** @var string setting description */
70
+ protected $description;
71
+
72
+ /** @var bool whether the setting holds an array of multiple values */
73
+ protected $is_multi = false;
74
+
75
+ /** @var array valid setting options */
76
+ protected $options = [];
77
+
78
+ /** @var int|float|string|bool|array setting default value */
79
+ protected $default;
80
+
81
+ /** @var int|float|string|bool|array setting current value */
82
+ protected $value;
83
+
84
+ /** @var Control control object */
85
+ protected $control;
86
+
87
+
88
+ /** Getter Methods ************************************************************************************************/
89
+
90
+
91
+ /**
92
+ * Gets the setting ID.
93
+ *
94
+ * @since 5.7.0
95
+ *
96
+ * @return string
97
+ */
98
+ public function get_id() {
99
+
100
+ return $this->id;
101
+ }
102
+
103
+
104
+ /**
105
+ * Gets the setting type.
106
+ *
107
+ * @since 5.7.0
108
+ *
109
+ * @return string
110
+ */
111
+ public function get_type() {
112
+
113
+ return $this->type;
114
+ }
115
+
116
+
117
+ /**
118
+ * Gets the setting name.
119
+ *
120
+ * @since 5.7.0
121
+ *
122
+ * @return string
123
+ */
124
+ public function get_name() {
125
+
126
+ return $this->name;
127
+ }
128
+
129
+
130
+ /**
131
+ * Gets the setting description.
132
+ *
133
+ * @since 5.7.0
134
+ *
135
+ * @return string
136
+ */
137
+ public function get_description() {
138
+
139
+ return $this->description;
140
+ }
141
+
142
+
143
+ /**
144
+ * Returns whether the setting holds an array of multiple values.
145
+ *
146
+ * @since 5.7.0
147
+ *
148
+ * @return bool
149
+ */
150
+ public function is_is_multi() {
151
+
152
+ return $this->is_multi;
153
+ }
154
+
155
+
156
+ /**
157
+ * Gets the setting options.
158
+ *
159
+ * @since 5.7.0
160
+ *
161
+ * @return array
162
+ */
163
+ public function get_options() {
164
+
165
+ return $this->options;
166
+ }
167
+
168
+
169
+ /**
170
+ * Gets the setting default value.
171
+ *
172
+ * @since 5.7.0
173
+ *
174
+ * @return array|bool|float|int|string|null
175
+ */
176
+ public function get_default() {
177
+
178
+ return $this->default;
179
+ }
180
+
181
+
182
+ /**
183
+ * Gets the setting current value.
184
+ *
185
+ * @since 5.7.0
186
+ *
187
+ * @return array|bool|float|int|string
188
+ */
189
+ public function get_value() {
190
+
191
+ return $this->value;
192
+ }
193
+
194
+
195
+ /**
196
+ * Gets the setting control.
197
+ *
198
+ * @since 5.7.0
199
+ *
200
+ * @return Control
201
+ */
202
+ public function get_control() {
203
+
204
+ return $this->control;
205
+ }
206
+
207
+
208
+ /** Setter Methods ************************************************************************************************/
209
+
210
+
211
+ /**
212
+ * Sets the setting ID.
213
+ *
214
+ * @since 5.7.0
215
+ *
216
+ * @param string $id
217
+ */
218
+ public function set_id( $id ) {
219
+
220
+ $this->id = $id;
221
+ }
222
+
223
+
224
+ /**
225
+ * Sets the setting type.
226
+ *
227
+ * @since 5.7.0
228
+ *
229
+ * @param string $type
230
+ */
231
+ public function set_type( $type ) {
232
+
233
+ $this->type = $type;
234
+ }
235
+
236
+
237
+ /**
238
+ * Sets the setting name.
239
+ *
240
+ * @since 5.7.0
241
+ *
242
+ * @param string $name
243
+ */
244
+ public function set_name( $name ) {
245
+
246
+ $this->name = $name;
247
+ }
248
+
249
+
250
+ /**
251
+ * Sets the setting description.
252
+ *
253
+ * @since 5.7.0
254
+ *
255
+ * @param string $description
256
+ */
257
+ public function set_description( $description ) {
258
+
259
+ $this->description = $description;
260
+ }
261
+
262
+
263
+ /**
264
+ * Sets whether the setting holds an array of multiple values.
265
+ *
266
+ * @since 5.7.0
267
+ *
268
+ * @param bool $is_multi
269
+ */
270
+ public function set_is_multi( $is_multi ) {
271
+
272
+ $this->is_multi = $is_multi;
273
+ }
274
+
275
+
276
+ /**
277
+ * Sets the setting options.
278
+ *
279
+ * @since 5.7.0
280
+ *
281
+ * @param array $options
282
+ */
283
+ public function set_options( $options ) {
284
+
285
+ foreach ( $options as $key => $option ) {
286
+
287
+ if ( ! $this->validate_value( $option ) ) {
288
+ unset( $options[ $key ] );
289
+ }
290
+ }
291
+
292
+ $this->options = $options;
293
+ }
294
+
295
+
296
+ /**
297
+ * Sets the setting default value.
298
+ *
299
+ * @since 5.7.0
300
+ *
301
+ * @param array|bool|float|int|string|null $value default value to set
302
+ */
303
+ public function set_default( $value ) {
304
+
305
+ if ( $this->is_is_multi() ) {
306
+
307
+ $_value = array_filter( (array) $value, [ $this, 'validate_value' ] );
308
+
309
+ // clear the default if all values were invalid
310
+ $value = ! empty( $_value ) ? $_value : null;
311
+
312
+ } elseif ( ! $this->validate_value( $value ) ) {
313
+
314
+ $value = null;
315
+ }
316
+
317
+ $this->default = $value;
318
+ }
319
+
320
+
321
+ /**
322
+ * Sets the setting current value.
323
+ *
324
+ * @since 5.7.0
325
+ *
326
+ * @param array|bool|float|int|string $value
327
+ */
328
+ public function set_value( $value ) {
329
+
330
+ $this->value = $value;
331
+ }
332
+
333
+
334
+ /**
335
+ * Sets the setting control.
336
+ *
337
+ * @since 5.7.0
338
+ *
339
+ * @param Control $control
340
+ */
341
+ public function set_control( $control ) {
342
+
343
+ $this->control = $control;
344
+ }
345
+
346
+
347
+ /**
348
+ * Sets the setting current value, after validating it against the type and, if set, options.
349
+ *
350
+ * @since 5.7.0
351
+ *
352
+ * @param array|bool|float|int|string $value
353
+ * @throws Framework\SV_WC_Plugin_Exception
354
+ */
355
+ public function update_value( $value ) {
356
+
357
+ if ( ! $this->validate_value( $value ) ) {
358
+
359
+ throw new Framework\SV_WC_Plugin_Exception( "Setting value for setting {$this->id} is not valid for the setting type {$this->type}", 400 );
360
+
361
+ } elseif ( ! empty( $this->options ) && ! in_array( $value, $this->options ) ) {
362
+
363
+ throw new Framework\SV_WC_Plugin_Exception( sprintf(
364
+ 'Setting value for setting %s must be one of %s',
365
+ $this->id,
366
+ Framework\SV_WC_Helper::list_array_items( $this->options, 'or' )
367
+ ), 400 );
368
+
369
+ } else {
370
+
371
+ $this->set_value( $value );
372
+ }
373
+ }
374
+
375
+
376
+ /**
377
+ * Validates the setting value.
378
+ *
379
+ * @since 5.7.0
380
+ *
381
+ * @param array|bool|float|int|string $value
382
+ * @return bool
383
+ */
384
+ public function validate_value( $value ) {
385
+
386
+ $validate_method = "validate_{$this->get_type()}_value";
387
+
388
+ return is_callable( [ $this, $validate_method ] ) ? $this->$validate_method( $value ) : true;
389
+ }
390
+
391
+
392
+ /**
393
+ * Validates a string value.
394
+ *
395
+ * @since 5.7.0
396
+ *
397
+ * @param array|bool|float|int|string $value value to validate
398
+ * @return bool
399
+ */
400
+ protected function validate_string_value( $value ) {
401
+
402
+ return is_string( $value );
403
+ }
404
+
405
+
406
+ /**
407
+ * Validates a URL value.
408
+ *
409
+ * @since 5.7.0
410
+ *
411
+ * @param array|bool|float|int|string $value value to validate
412
+ * @return bool
413
+ */
414
+ protected function validate_url_value( $value ) {
415
+
416
+ return wc_is_valid_url( $value );
417
+ }
418
+
419
+
420
+ /**
421
+ * Validates an email value.
422
+ *
423
+ * @since 5.7.0
424
+ *
425
+ * @param mixed $value value to validate
426
+ * @return bool
427
+ */
428
+ protected function validate_email_value( $value ) {
429
+
430
+ return (bool) is_email( $value );
431
+ }
432
+
433
+
434
+ /**
435
+ * Validates an integer value.
436
+ *
437
+ * @since 5.7.0
438
+ *
439
+ * @param mixed $value value to validate
440
+ * @return bool
441
+ */
442
+ public function validate_integer_value( $value ) {
443
+
444
+ return is_int( $value );
445
+ }
446
+
447
+
448
+ /**
449
+ * Validates a float value.
450
+ *
451
+ * @since 5.7.0
452
+ *
453
+ * @param mixed $value value to validate
454
+ * @return bool
455
+ */
456
+ protected function validate_float_value( $value ) {
457
+
458
+ return is_int( $value ) || is_float( $value );
459
+ }
460
+
461
+
462
+ /**
463
+ * Validates a boolean value.
464
+ *
465
+ * @since 5.7.0
466
+ *
467
+ * @param mixed $value value to validate
468
+ * @return bool
469
+ */
470
+ protected function validate_boolean_value( $value ) {
471
+
472
+ return is_bool( $value );
473
+ }
474
+
475
+
476
+ }
477
+
478
+ endif;
vendor/skyverge/wc-plugin-framework/woocommerce/admin/Notes_Helper.php ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * WooCommerce Plugin Framework
4
+ *
5
+ * This source file is subject to the GNU General Public License v3.0
6
+ * that is bundled with this package in the file license.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.html
9
+ * If you did not receive a copy of the license and are unable to
10
+ * obtain it through the world-wide-web, please send an email
11
+ * to license@skyverge.com so we can send you a copy immediately.
12
+ *
13
+ * DISCLAIMER
14
+ *
15
+ * Do not edit or add to this file if you wish to upgrade the plugin to newer
16
+ * versions in the future. If you wish to customize the plugin for your
17
+ * needs please refer to http://www.skyverge.com
18
+ *
19
+ * @author SkyVerge
20
+ * @copyright Copyright (c) 2013-2020, SkyVerge, Inc.
21
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
22
+ */
23
+
24
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0\Admin;
25
+
26
+ use Automattic\WooCommerce\Admin\Notes as WooCommerce_Admin_Notes;
27
+
28
+ defined( 'ABSPATH' ) or exit;
29
+
30
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\Admin\\Notes_Helper' ) ) :
31
+
32
+ /**
33
+ * Helper class for WooCommerce enhanced admin notes.
34
+ *
35
+ * @since 5.6.0
36
+ */
37
+ class Notes_Helper {
38
+
39
+
40
+ /** Conditional methods *******************************************************************************************/
41
+
42
+
43
+ /**
44
+ * Determines if any notes with the given name exist.
45
+ *
46
+ * @since 5.6.0
47
+ *
48
+ * @param string $name note name
49
+ * @return bool
50
+ */
51
+ public static function note_with_name_exists( $name ) {
52
+
53
+ return ! empty( self::get_note_ids_with_name( $name ) );
54
+ }
55
+
56
+
57
+ /** Getter methods ************************************************************************************************/
58
+
59
+
60
+ /**
61
+ * Gets a note with the given name.
62
+ *
63
+ * @since 5.6.0
64
+ *
65
+ * @param string $name name of the note to get
66
+ * @return WooCommerce_Admin_Notes\WC_Admin_Note|null
67
+ */
68
+ public static function get_note_with_name( $name ) {
69
+
70
+ $note = null;
71
+ $note_ids = self::get_note_ids_with_name( $name );
72
+
73
+ if ( ! empty( $note_ids ) ) {
74
+
75
+ $note_id = current( $note_ids );
76
+
77
+ $note = WooCommerce_Admin_Notes\WC_Admin_Notes::get_note( $note_id );
78
+ }
79
+
80
+ return $note ?: null;
81
+ }
82
+
83
+
84
+ /**
85
+ * Gets all notes with the given name.
86
+ *
87
+ * @since 5.6.0
88
+ *
89
+ * @param string $name note name
90
+ * @return int[]
91
+ */
92
+ public static function get_note_ids_with_name( $name ) {
93
+
94
+ $note_ids = [];
95
+
96
+ try {
97
+
98
+ /** @var WooCommerce_Admin_Notes\DataStore $data_store */
99
+ $data_store = \WC_Data_Store::load( 'admin-note' );
100
+
101
+ $note_ids = $data_store->get_notes_with_name( $name );
102
+
103
+ } catch ( \Exception $exception ) {}
104
+
105
+ return $note_ids;
106
+ }
107
+
108
+
109
+ /**
110
+ * Gets all note IDs from the given source.
111
+ *
112
+ * @since 5.6.1
113
+ *
114
+ * @param string $source note source
115
+ * @return int[]
116
+ */
117
+ public static function get_note_ids_with_source( $source ) {
118
+ global $wpdb;
119
+
120
+ return $wpdb->get_col(
121
+ $wpdb->prepare(
122
+ "SELECT note_id FROM {$wpdb->prefix}wc_admin_notes WHERE source = %s ORDER BY note_id ASC",
123
+ $source
124
+ )
125
+ );
126
+ }
127
+
128
+
129
+ /**
130
+ * Deletes all notes from the given source.
131
+ *
132
+ * @since 5.6.1
133
+ *
134
+ * @param string $source source name
135
+ */
136
+ public static function delete_notes_with_source( $source ) {
137
+
138
+ foreach ( self::get_note_ids_with_source( $source ) as $note_id ) {
139
+
140
+ if ( $note = WooCommerce_Admin_Notes\WC_Admin_Notes::get_note( $note_id ) ) {
141
+ $note->delete();
142
+ }
143
+ }
144
+ }
145
+
146
+
147
+ }
148
+
149
+ endif;
vendor/skyverge/wc-plugin-framework/woocommerce/admin/abstract-sv-wc-plugin-admin-setup-wizard.php CHANGED
@@ -21,13 +21,13 @@
21
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
22
  */
23
 
24
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4\Admin;
25
 
26
  defined( 'ABSPATH' ) or exit;
27
 
28
- use SkyVerge\WooCommerce\PluginFramework\v5_5_4 as Framework;
29
 
30
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\Admin\\Setup_Wizard' ) ) :
31
 
32
 
33
  /**
21
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
22
  */
23
 
24
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0\Admin;
25
 
26
  defined( 'ABSPATH' ) or exit;
27
 
28
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0 as Framework;
29
 
30
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\Admin\\Setup_Wizard' ) ) :
31
 
32
 
33
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/api/abstract-sv-wc-api-json-request.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_API_JSON_Request' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_API_JSON_Request' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/api/abstract-sv-wc-api-json-response.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_API_JSON_Response' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_API_JSON_Response' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/api/abstract-sv-wc-api-xml-request.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_API_XML_Request' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_API_XML_Request' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/api/abstract-sv-wc-api-xml-response.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_API_XML_Response' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_API_XML_Response' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/api/class-sv-wc-api-base.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_API_Base' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_API_Base' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/api/class-sv-wc-api-exception.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_API_Exception' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_API_Exception' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/api/interface-sv-wc-api-request.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! interface_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_API_Request' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! interface_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_API_Request' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/api/interface-sv-wc-api-response.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! interface_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_API_Response' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! interface_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_API_Response' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/changelog.txt CHANGED
@@ -1,5 +1,45 @@
1
  *** SkyVerge WooCommerce Plugin Framework Changelog ***
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  2020.01.20 - version 5.5.4
4
  * Tweak - Add a link to the site's terms and conditions page below Apple Pay buttons when available
5
  * Tweak - Adjust the place order button label for redirect/hosted gateways
1
  *** SkyVerge WooCommerce Plugin Framework Changelog ***
2
 
3
+ 2020.11.06 - version 5.10.0
4
+ * Feature - Add Google Pay support
5
+ * Tweak - Improve multiple gateway settings inheritance to allow for more than two gateways
6
+ * Tweak - Add admin notices for tax configurations that are incompatible with Apple Pay
7
+ * Fix - Ensure blank settings inputs aren't added when a base abstract gateway defines shared settings that a child gateway doesn't support
8
+
9
+ 2020.10.09 - version 5.9.0
10
+ * Feature - Add helper method to detect whether the current request is a REST API request
11
+ * Fix - Fix a Capture Charge button issue when adding items to an order
12
+ * Fix - Harden code to avoid a potential PHP warning at checkout if no card logos are configured for a gateway
13
+ * Fix - Update Pre-Orders and Subscriptions integrations to use 2 digits expiration years
14
+
15
+ 2020.07.31 - version 5.8.1
16
+ * Fix - Ensure that some payment gateway scripts used for handling tokens reference the current version of the Framework
17
+
18
+ 2020.07.29 - version 5.8.0
19
+ * Tweak - Migrate payment tokens to be compatible with WooCommerce core payment tokens
20
+ * Fix - Unblock the UI when removing a token from the admin token editor that was just added but not saved yet
21
+ * Dev - Deprecate some filter hooks in the payment methods table
22
+
23
+ 2020.05.15 - version 5.7.1
24
+ * Fix - Prevent JavaScript error triggered when different versions of the framework are used at the same time
25
+ * Fix - Fix URL for the Configure link in the admin notes shown for payment gateways that are not configured
26
+
27
+ 2020.05.07 - version 5.7.0
28
+ * Feature - Add a Settings API for easily registering plugin settings for display and REST API handling
29
+ * Feature - Introduce a base script handler for enqueueing and loading JavaScript objects
30
+ * Tweak - Ensure payment gateway scripts can be used when certain script optimization plugins are delaying load
31
+ * Tweak - Improve the payment form display on mobile devices
32
+ * Tweak - Update Apple Pay to allow all currencies by default
33
+
34
+ 2020.03.09 - version 5.6.1
35
+ * Fix - Delete enhanced admin notes on plugin deactivation
36
+ * Fix - Prevent uncaught errors when creating notes when WC Admin is disabled
37
+
38
+ 2020.03.04 - version 5.6.0
39
+ * Feature - Add support for WooCommerce Admin enhanced notes
40
+ * Tweak - Refactor Apple Pay handler classes for greater flexibility
41
+ * Fix - Remove gateway payment field validation on initial page load
42
+
43
  2020.01.20 - version 5.5.4
44
  * Tweak - Add a link to the site's terms and conditions page below Apple Pay buttons when available
45
  * Tweak - Adjust the place order button label for redirect/hosted gateways
vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-admin-notice-handler.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_Admin_Notice_Handler' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_Admin_Notice_Handler' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-helper.php CHANGED
@@ -22,11 +22,13 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
 
 
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_Helper' ) ) :
30
 
31
 
32
  /**
@@ -480,10 +482,11 @@ class SV_WC_Helper {
480
  $product = $item->get_product();
481
  $name = $item->get_name();
482
  $quantity = $item->get_quantity();
 
483
  $item_desc = [];
484
 
485
  // add SKU to description if available
486
- if ( $sku = $product->get_sku() ) {
487
  $item_desc[] = sprintf( 'SKU: %s', $sku );
488
  }
489
 
@@ -545,6 +548,25 @@ class SV_WC_Helper {
545
  }
546
 
547
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
548
  /**
549
  * Safely gets and trims data from $_POST.
550
  *
@@ -944,6 +966,46 @@ class SV_WC_Helper {
944
  }
945
 
946
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
947
  /**
948
  * Convert a 2-character country code into its 3-character equivalent, or
949
  * vice-versa, e.g.
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
+
27
+ use Automattic\WooCommerce\Admin\Loader;
28
 
29
  defined( 'ABSPATH' ) or exit;
30
 
31
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_Helper' ) ) :
32
 
33
 
34
  /**
482
  $product = $item->get_product();
483
  $name = $item->get_name();
484
  $quantity = $item->get_quantity();
485
+ $sku = $product instanceof \WC_Product ? $product->get_sku() : '';
486
  $item_desc = [];
487
 
488
  // add SKU to description if available
489
+ if ( ! empty( $sku ) ) {
490
  $item_desc[] = sprintf( 'SKU: %s', $sku );
491
  }
492
 
548
  }
549
 
550
 
551
+ /**
552
+ * Determines if a shop has any published virtual products.
553
+ *
554
+ * @since 5.10.0
555
+ *
556
+ * @return bool
557
+ */
558
+ public static function shop_has_virtual_products() {
559
+
560
+ $virtual_products = wc_get_products( [
561
+ 'virtual' => true,
562
+ 'status' => 'publish',
563
+ 'limit' => 1,
564
+ ] );
565
+
566
+ return sizeof( $virtual_products ) > 0;
567
+ }
568
+
569
+
570
  /**
571
  * Safely gets and trims data from $_POST.
572
  *
966
  }
967
 
968
 
969
+ /**
970
+ * Determines if viewing an enhanced admin screen.
971
+ *
972
+ * @since 5.6.0
973
+ *
974
+ * @return bool
975
+ */
976
+ public static function is_enhanced_admin_screen() {
977
+
978
+ return is_admin() && SV_WC_Plugin_Compatibility::is_enhanced_admin_available() && ( Loader::is_admin_page() || Loader::is_embed_page() );
979
+ }
980
+
981
+
982
+ /**
983
+ * Determines if the current request is for a WC REST API endpoint.
984
+ *
985
+ * @see \WooCommerce::is_rest_api_request()
986
+ *
987
+ * @since 5.9.0
988
+ *
989
+ * @return bool
990
+ */
991
+ public static function is_rest_api_request() {
992
+
993
+ if ( is_callable( 'WC' ) && is_callable( [ WC(), 'is_rest_api_request' ] ) ) {
994
+ return (bool) WC()->is_rest_api_request();
995
+ }
996
+
997
+ if ( empty( $_SERVER['REQUEST_URI'] ) || ! function_exists( 'rest_get_url_prefix' ) ) {
998
+ return false;
999
+ }
1000
+
1001
+ $rest_prefix = trailingslashit( rest_get_url_prefix() );
1002
+ $is_rest_api_request = false !== strpos( $_SERVER['REQUEST_URI'], $rest_prefix );
1003
+
1004
+ /* applies WooCommerce core filter */
1005
+ return (bool) apply_filters( 'woocommerce_is_rest_api_request', $is_rest_api_request );
1006
+ }
1007
+
1008
+
1009
  /**
1010
  * Convert a 2-character country code into its 3-character equivalent, or
1011
  * vice-versa, e.g.
vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-hook-deprecator.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_Hook_Deprecator' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_Hook_Deprecator' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin-compatibility.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_Plugin_Compatibility' ) ) :
30
 
31
 
32
  /**
@@ -313,6 +313,21 @@ class SV_WC_Plugin_Compatibility {
313
  }
314
 
315
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
316
  /** WordPress core ******************************************************/
317
 
318
 
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_Plugin_Compatibility' ) ) :
30
 
31
 
32
  /**
313
  }
314
 
315
 
316
+ /**
317
+ * Determines whether the enhanced admin is available.
318
+ *
319
+ * This checks both for WooCommerce v4.0+ and the underlying package availability.
320
+ *
321
+ * @since 5.6.0
322
+ *
323
+ * @return bool
324
+ */
325
+ public static function is_enhanced_admin_available() {
326
+
327
+ return self::is_wc_version_gte( '4.0' ) && function_exists( 'wc_admin_url' );
328
+ }
329
+
330
+
331
  /** WordPress core ******************************************************/
332
 
333
 
vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin-dependencies.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_Plugin_Dependencies' ) ) :
30
 
31
 
32
  /**
@@ -312,6 +312,61 @@ class SV_WC_Plugin_Dependencies {
312
  }
313
 
314
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
315
  /** Getter methods ********************************************************/
316
 
317
 
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_Plugin_Dependencies' ) ) :
30
 
31
 
32
  /**
312
  }
313
 
314
 
315
+ /**
316
+ * Returns the active scripts optimization plugins.
317
+ *
318
+ * Returns a key-value array where the key contains the plugin file identifier and the value is the name of the plugin.
319
+ *
320
+ * @since 5.7.0
321
+ *
322
+ * @return array
323
+ */
324
+ public function get_active_scripts_optimization_plugins() {
325
+
326
+ /**
327
+ * Filters script optimization plugins to look for.
328
+ *
329
+ * @since 5.7.0
330
+ *
331
+ * @param array $plugins an array of file identifiers (keys) and plugin names (values)
332
+ */
333
+ $plugins = (array) apply_filters( 'wc_' . $this->get_plugin()->get_id() . '_scripts_optimization_plugins', [
334
+ 'async-javascript.php' => 'Async JavaScript',
335
+ 'autoptimize.php' => 'Autoptimize',
336
+ 'wp-hummingbird.php' => 'Hummingbird',
337
+ 'sg-optimizer.php' => 'SG Optimizer',
338
+ 'w3-total-cache.php' => 'W3 Total Cache',
339
+ 'wpFastestCache.php' => 'WP Fastest Cache',
340
+ 'wp-rocket.php' => 'WP Rocket',
341
+ ] );
342
+
343
+ $active_plugins = [];
344
+
345
+ foreach ( $plugins as $filename => $plugin_name ) {
346
+
347
+ if ( $this->get_plugin()->is_plugin_active( $filename ) ) {
348
+
349
+ $active_plugins[ $filename ] = $plugin_name;
350
+ }
351
+ }
352
+
353
+ return $active_plugins;
354
+ }
355
+
356
+
357
+ /**
358
+ * Returns true if any of the known scripts optimization plugins is active.
359
+ *
360
+ * @since 5.7.0
361
+ *
362
+ * @return bool
363
+ */
364
+ public function is_scripts_optimization_plugin_active() {
365
+
366
+ return ! empty( $this->get_active_scripts_optimization_plugins() );
367
+ }
368
+
369
+
370
  /** Getter methods ********************************************************/
371
 
372
 
vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin-exception.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_Plugin_Exception' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_Plugin_Exception' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wc-plugin.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_Plugin' ) ) :
30
 
31
 
32
  /**
@@ -37,13 +37,13 @@ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_Pl
37
  * plugin. This class handles all the "non-feature" support tasks such
38
  * as verifying dependencies are met, loading the text domain, etc.
39
  *
40
- * @version 5.5.0
41
  */
42
  abstract class SV_WC_Plugin {
43
 
44
 
45
  /** Plugin Framework Version */
46
- const VERSION = '5.5.4';
47
 
48
  /** @var object single instance of plugin */
49
  protected static $instance;
@@ -221,7 +221,7 @@ abstract class SV_WC_Plugin {
221
  */
222
  protected function init_hook_deprecator() {
223
 
224
- $this->hook_deprecator = new SV_WC_Hook_Deprecator( $this->get_plugin_name(), $this->get_deprecated_hooks() );
225
  }
226
 
227
 
@@ -418,9 +418,15 @@ abstract class SV_WC_Plugin {
418
  require_once( $framework_path . '/Addresses/Address.php' );
419
  require_once( $framework_path . '/Addresses/Customer_Address.php' );
420
 
 
 
 
 
 
421
  // common utility methods
422
  require_once( $framework_path . '/class-sv-wc-helper.php' );
423
  require_once( $framework_path . '/Country_Helper.php' );
 
424
 
425
  // backwards compatibility for older WC versions
426
  require_once( $framework_path . '/class-sv-wc-plugin-compatibility.php' );
@@ -445,7 +451,11 @@ abstract class SV_WC_Plugin {
445
  require_once( $framework_path . '/api/abstract-sv-wc-api-json-request.php' );
446
  require_once( $framework_path . '/api/abstract-sv-wc-api-json-response.php' );
447
 
 
 
 
448
  // Handlers
 
449
  require_once( $framework_path . '/class-sv-wc-plugin-dependencies.php' );
450
  require_once( $framework_path . '/class-sv-wc-hook-deprecator.php' );
451
  require_once( $framework_path . '/class-sv-wp-admin-message-handler.php' );
@@ -456,8 +466,49 @@ abstract class SV_WC_Plugin {
456
 
457
 
458
  /**
459
- * Return deprecated/removed hooks. Implementing classes should override this
460
- * and return an array of deprecated/removed hooks in the following format:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
461
  *
462
  * $old_hook_name = array {
463
  * @type string $version version the hook was deprecated/removed in
@@ -467,12 +518,13 @@ abstract class SV_WC_Plugin {
467
  * }
468
  *
469
  * @since 4.3.0
 
470
  * @return array
471
  */
472
  protected function get_deprecated_hooks() {
473
 
474
  // stub method
475
- return array();
476
  }
477
 
478
 
@@ -931,6 +983,21 @@ abstract class SV_WC_Plugin {
931
  }
932
 
933
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
934
  /**
935
  * Returns the plugin version name. Defaults to wc_{plugin id}_version
936
  *
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_Plugin' ) ) :
30
 
31
 
32
  /**
37
  * plugin. This class handles all the "non-feature" support tasks such
38
  * as verifying dependencies are met, loading the text domain, etc.
39
  *
40
+ * @version 5.8.0
41
  */
42
  abstract class SV_WC_Plugin {
43
 
44
 
45
  /** Plugin Framework Version */
46
+ const VERSION = '5.10.0';
47
 
48
  /** @var object single instance of plugin */
49
  protected static $instance;
221
  */
222
  protected function init_hook_deprecator() {
223
 
224
+ $this->hook_deprecator = new SV_WC_Hook_Deprecator( $this->get_plugin_name(), array_merge( $this->get_framework_deprecated_hooks(), $this->get_deprecated_hooks() ) );
225
  }
226
 
227
 
418
  require_once( $framework_path . '/Addresses/Address.php' );
419
  require_once( $framework_path . '/Addresses/Customer_Address.php' );
420
 
421
+ // Settings API
422
+ require_once( $framework_path . '/Settings_API/Abstract_Settings.php' );
423
+ require_once( $framework_path . '/Settings_API/Setting.php' );
424
+ require_once( $framework_path . '/Settings_API/Control.php' );
425
+
426
  // common utility methods
427
  require_once( $framework_path . '/class-sv-wc-helper.php' );
428
  require_once( $framework_path . '/Country_Helper.php' );
429
+ require_once( $framework_path . '/admin/Notes_Helper.php' );
430
 
431
  // backwards compatibility for older WC versions
432
  require_once( $framework_path . '/class-sv-wc-plugin-compatibility.php' );
451
  require_once( $framework_path . '/api/abstract-sv-wc-api-json-request.php' );
452
  require_once( $framework_path . '/api/abstract-sv-wc-api-json-response.php' );
453
 
454
+ // REST API Controllers
455
+ require_once( $framework_path . '/rest-api/Controllers/Settings.php' );
456
+
457
  // Handlers
458
+ require_once( $framework_path . '/Handlers/Script_Handler.php' );
459
  require_once( $framework_path . '/class-sv-wc-plugin-dependencies.php' );
460
  require_once( $framework_path . '/class-sv-wc-hook-deprecator.php' );
461
  require_once( $framework_path . '/class-sv-wp-admin-message-handler.php' );
466
 
467
 
468
  /**
469
+ * Gets a list of framework deprecated/removed hooks.
470
+ *
471
+ * @see SV_WC_Plugin::init_hook_deprecator()
472
+ * @see SV_WC_Plugin::get_deprecated_hooks()
473
+ *
474
+ * @since 5.8.0
475
+ *
476
+ * @return array associative array
477
+ */
478
+ private function get_framework_deprecated_hooks() {
479
+
480
+ $plugin_id = $this->get_id();
481
+ $deprecated_hooks = [];
482
+ $deprecated_filters = [
483
+ /** @see SV_WC_Payment_Gateway_My_Payment_Methods handler - once migrated to WC core tokens UI, we removed these and have no replacement */
484
+ // TODO: remove deprecated hooks handling by version 6.0.0 or by 2021-02-25 {FN 2020-02-25}
485
+ "wc_{$plugin_id}_my_payment_methods_table_html",
486
+ "wc_{$plugin_id}_my_payment_methods_table_head_html",
487
+ "wc_{$plugin_id}_my_payment_methods_table_title",
488
+ "wc_{$plugin_id}_my_payment_methods_table_title_html",
489
+ "wc_{$plugin_id}_my_payment_methods_table_row_html",
490
+ "wc_{$plugin_id}_my_payment_methods_table_body_html",
491
+ "wc_{$plugin_id}_my_payment_methods_table_body_row_data",
492
+ "wc_{$plugin_id}_my_payment_methods_table_method_expiry_html",
493
+ "wc_{$plugin_id}_my_payment_methods_table_actions_html",
494
+ ];
495
+
496
+ foreach ( $deprecated_filters as $deprecated_filter ) {
497
+ $deprecated_hooks[ $deprecated_filter ] = [
498
+ 'removed' => true,
499
+ 'replacement' => false,
500
+ 'version' => '5.8.1'
501
+ ];
502
+ }
503
+
504
+ return $deprecated_hooks;
505
+ }
506
+
507
+
508
+ /**
509
+ * Gets a list of the plugin's deprecated/removed hooks.
510
+ *
511
+ * Implementing classes should override this and return an array of deprecated/removed hooks in the following format:
512
  *
513
  * $old_hook_name = array {
514
  * @type string $version version the hook was deprecated/removed in
518
  * }
519
  *
520
  * @since 4.3.0
521
+ *
522
  * @return array
523
  */
524
  protected function get_deprecated_hooks() {
525
 
526
  // stub method
527
+ return [];
528
  }
529
 
530
 
983
  }
984
 
985
 
986
+ /**
987
+ * Gets the settings API handler instance.
988
+ *
989
+ * Plugins can use this to init the settings API handler.
990
+ *
991
+ * @since 5.7.0
992
+ *
993
+ * @return void|Settings_API\Abstract_Settings
994
+ */
995
+ public function get_settings_handler() {
996
+
997
+ return;
998
+ }
999
+
1000
+
1001
  /**
1002
  * Returns the plugin version name. Defaults to wc_{plugin id}_version
1003
  *
vendor/skyverge/wc-plugin-framework/woocommerce/class-sv-wp-admin-message-handler.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WP_Admin_Message_Handler' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WP_Admin_Message_Handler' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/compatibility/abstract-sv-wc-data-compatibility.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_Data_Compatibility' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_Data_Compatibility' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/compatibility/class-sv-wc-datetime.php CHANGED
@@ -22,13 +22,13 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  use DateTimeZone;
28
 
29
  defined( 'ABSPATH' ) or exit;
30
 
31
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_DateTime' ) ) :
32
 
33
 
34
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  use DateTimeZone;
28
 
29
  defined( 'ABSPATH' ) or exit;
30
 
31
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_DateTime' ) ) :
32
 
33
 
34
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/compatibility/class-sv-wc-order-compatibility.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_Order_Compatibility' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_Order_Compatibility' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/compatibility/class-sv-wc-product-compatibility.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WC_Product_Compatibility' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WC_Product_Compatibility' ) ) :
30
 
31
 
32
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/i18n/languages/woocommerce-plugin-framework-et.mo CHANGED
Binary file
vendor/skyverge/wc-plugin-framework/woocommerce/i18n/languages/woocommerce-plugin-framework-et.po CHANGED
@@ -18,29 +18,29 @@ msgstr ""
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Generator: Poedit 1.8.11\n"
20
 
21
- #: Lifecycle.php:377
22
  msgid "Awesome"
23
  msgstr ""
24
 
25
- #: Lifecycle.php:378
26
  msgid "Fantastic"
27
  msgstr ""
28
 
29
- #: Lifecycle.php:379
30
  msgid "Cowabunga"
31
  msgstr ""
32
 
33
- #: Lifecycle.php:380
34
  msgid "Congratulations"
35
  msgstr ""
36
 
37
- #: Lifecycle.php:381
38
  msgid "Hot dog"
39
  msgstr ""
40
 
41
  #. translators: Placeholders: %1$s - plugin name, %2$s - <a> tag, %3$s - </a>
42
  #. tag, %4$s - <a> tag, %5$s - </a> tag
43
- #: Lifecycle.php:388
44
  msgid ""
45
  "Are you having a great experience with %1$s so far? Please consider "
46
  "%2$sleaving a review%3$s! If things aren't going quite as expected, we're "
@@ -184,7 +184,7 @@ msgstr "%1$s vajab WooCommerce'i versiooni %2$s või uuemat"
184
  msgid "Please %1$supdate WooCommerce%2$s"
185
  msgstr "Palun %1$suuenda WooCommerce'i%2$s"
186
 
187
- #: class-sv-wc-plugin-compatibility.php:334
188
  msgid "WooCommerce"
189
  msgstr ""
190
 
@@ -256,7 +256,7 @@ msgstr "%s eksemplari ei saa deserialiseerida (unserialize)."
256
 
257
  #. translators: Placeholders: %1$s - plugin name, %2$s - WooCommerce version
258
  #. number, %3$s - opening <a> HTML link tag, %4$s - closing </a> HTML link tag
259
- #: class-sv-wc-plugin.php:563
260
  msgid ""
261
  "Heads up! %1$s will soon discontinue support for WooCommerce %2$s. Please "
262
  "%3$supdate WooCommerce%4$s to take advantage of the latest updates and "
@@ -264,22 +264,252 @@ msgid ""
264
  msgstr ""
265
 
266
  #. translators: Docs as in Documentation
267
- #: class-sv-wc-plugin.php:606
268
  msgid "Docs"
269
  msgstr "Dokumentatsioon"
270
 
271
- #: class-sv-wc-plugin.php:699
272
  msgid "%1$s - A minimum of %2$s is required."
273
  msgstr ""
274
 
275
- #: class-sv-wc-plugin.php:708
276
  msgid "Set as %1$s - %2$s is required."
277
  msgstr ""
278
 
279
- #: class-sv-wc-plugin.php:973
 
280
  msgid "Configure"
281
  msgstr "Seadista"
282
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
283
  #: payment-gateway/Handlers/Abstract_Hosted_Payment_Handler.php:179
284
  #, fuzzy
285
  msgid ""
@@ -290,8 +520,8 @@ msgstr ""
290
  "meiega ühendust."
291
 
292
  #: payment-gateway/Handlers/Abstract_Hosted_Payment_Handler.php:217
293
- #: payment-gateway/class-sv-wc-payment-gateway.php:2762
294
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:489
295
  msgid ""
296
  "An error occurred, please try again or try an alternate form of payment."
297
  msgstr "Esines viga, palun proovi uuesti või kasuta teistsugust makseviisi."
@@ -306,30 +536,30 @@ msgstr ""
306
  #. translators: Placeholders: %1$s - payment request response status code, %2$s
307
  #. - payment request response status message
308
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:152
309
- #: payment-gateway/class-sv-wc-payment-gateway.php:2355
310
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:165
311
  msgid "Status code %1$s: %2$s"
312
  msgstr "Staatuse kood %1$s: %2$s"
313
 
314
  #. translators: Placeholders: %s - status code
315
  #. translators: Placeholders: %s - payment request response status code
316
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:155
317
- #: payment-gateway/class-sv-wc-payment-gateway.php:2358
318
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:168
319
  msgid "Status code: %s"
320
  msgstr "Staatuse kood: %s"
321
 
322
  #. translators: Placeholders; %s - status message
323
  #. translators: Placeholders: %s - payment request response status message
324
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:158
325
- #: payment-gateway/class-sv-wc-payment-gateway.php:2361
326
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:171
327
  msgid "Status message: %s"
328
  msgstr "Staatuse teade: %s"
329
 
330
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:163
331
- #: payment-gateway/class-sv-wc-payment-gateway.php:2366
332
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:178
333
  msgid "Transaction ID %s"
334
  msgstr "Tehingu ID %s"
335
 
@@ -346,7 +576,7 @@ msgid "Order %s is already paid for."
346
  msgstr ""
347
 
348
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:267
349
- #: payment-gateway/class-sv-wc-payment-gateway.php:2698
350
  msgid ""
351
  "Your order has been received and is being reviewed. Thank you for your "
352
  "business."
@@ -356,8 +586,8 @@ msgstr ""
356
  #. translators: This is a message describing that the transaction in question
357
  #. only performed a credit card authorization and did not capture any funds.
358
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:274
359
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:861
360
- #: payment-gateway/class-sv-wc-payment-gateway.php:1733
361
  #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:370
362
  msgid "Authorization only transaction"
363
  msgstr "Autoriseerimise tehing"
@@ -406,12 +636,12 @@ msgstr "%1$s: tasumine summas %2$s kinnitatud"
406
 
407
  #. translators: Placeholders: %s - transaction ID
408
  #: payment-gateway/Handlers/Capture.php:198
409
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:680
410
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:765
411
- #: payment-gateway/class-sv-wc-payment-gateway.php:2034
412
- #: payment-gateway/class-sv-wc-payment-gateway.php:2267
413
- #: payment-gateway/class-sv-wc-payment-gateway.php:2579
414
- #: payment-gateway/class-sv-wc-payment-gateway.php:2624
415
  #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:353
416
  msgid "(Transaction ID %s)"
417
  msgstr "(Tehingu ID %s)"
@@ -472,67 +702,67 @@ msgstr ""
472
  msgid "An error occurred. Please try again."
473
  msgstr "Sinu päringuga esines viga, palun proovi uuesti."
474
 
475
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:454
476
  #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:305
477
  msgid "(%s)"
478
  msgstr ""
479
 
480
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:484
481
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:667
482
  msgid "Default"
483
  msgstr ""
484
 
485
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:520
486
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:553
487
  msgid "Token ID"
488
  msgstr ""
489
 
490
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:525
491
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:300
492
  msgid "Card Type"
493
  msgstr "Kaardi tüüp"
494
 
495
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:530
496
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:566
497
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:192
498
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:298
499
  msgid "Last Four"
500
  msgstr "Viimased 4 numbrit"
501
 
502
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:537
503
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:331
504
  msgid "Expiration (MM/YY)"
505
  msgstr "Aegub (KK/AA)"
506
 
507
  #. translators: e-check account type, HTML form field label
508
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:558
509
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:438
510
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:299
511
  msgid "Account Type"
512
  msgstr "Konto tüüp"
513
 
514
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:561
515
  msgid "Checking"
516
  msgstr ""
517
 
518
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:562
519
  msgid "Savings"
520
  msgstr ""
521
 
522
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:663
523
  msgid "Refresh"
524
  msgstr ""
525
 
526
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:665
527
  msgid "Add New"
528
  msgstr ""
529
 
530
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:668
531
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:762
532
  msgid "Save"
533
  msgstr ""
534
 
535
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:691
536
  msgid "Remove"
537
  msgstr ""
538
 
@@ -542,7 +772,7 @@ msgid "%s Payment Tokens"
542
  msgstr "%s maksevahendid"
543
 
544
  #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:302
545
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:779
546
  msgid "Customer ID"
547
  msgstr "Kliendi ID"
548
 
@@ -552,7 +782,7 @@ msgstr ""
552
 
553
  #. translators: environment as in a software environment (test/production)
554
  #: payment-gateway/admin/views/html-admin-gateway-status.php:53
555
- #: payment-gateway/class-sv-wc-payment-gateway.php:1266
556
  msgid "Environment"
557
  msgstr "Keskkond"
558
 
@@ -569,7 +799,7 @@ msgid "Displays whether or not tokenization is enabled for this gateway."
569
  msgstr ""
570
 
571
  #: payment-gateway/admin/views/html-admin-gateway-status.php:75
572
- #: payment-gateway/class-sv-wc-payment-gateway.php:1196
573
  msgid "Debug Mode"
574
  msgstr "Veaotsingu režiim"
575
 
@@ -586,12 +816,12 @@ msgid "Display at Checkout"
586
  msgstr ""
587
 
588
  #: payment-gateway/admin/views/html-admin-gateway-status.php:83
589
- #: payment-gateway/class-sv-wc-payment-gateway.php:1204
590
  msgid "Save to Log"
591
  msgstr "Salvesta logifaili"
592
 
593
  #: payment-gateway/admin/views/html-admin-gateway-status.php:85
594
- #: payment-gateway/class-sv-wc-payment-gateway.php:1202
595
  msgid "Off"
596
  msgstr "Välja lülitatud"
597
 
@@ -623,7 +853,7 @@ msgid "Capture %s"
623
  msgstr "Teosta makse"
624
 
625
  #: payment-gateway/admin/views/html-order-partial-capture.php:66
626
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:229
627
  #, fuzzy
628
  msgid "Cancel"
629
  msgstr "Tühista tellimus"
@@ -642,11 +872,6 @@ msgstr ""
642
  "Kasutajale makseviisi poolt määratud kliendi tunnus. Muuda seda ainult siis, "
643
  "kui tõesti vajalik."
644
 
645
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:99
646
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:132
647
- msgid "An error occurred, please try again or try an alternate form of payment"
648
- msgstr "Esines viga, palun proovi uuesti või kasuta teistsugust makseviisi"
649
-
650
  #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:100
651
  msgid ""
652
  "We cannot process your order with the payment information that you provided. "
@@ -789,166 +1014,6 @@ msgstr ""
789
  "Antud aadress ei kattu kaardi omaniku aadressiga. Palun kontrolli, et "
790
  "sisestaid õige aadressi ning proovi uuesti."
791
 
792
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:84
793
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:102
794
- msgid "Apple Pay"
795
- msgstr ""
796
-
797
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:108
798
- #: payment-gateway/class-sv-wc-payment-gateway.php:1142
799
- msgid "Enable / Disable"
800
- msgstr "Luba / Keela"
801
-
802
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:109
803
- msgid "Accept Apple Pay"
804
- msgstr ""
805
-
806
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:116
807
- msgid "Allow Apple Pay on"
808
- msgstr ""
809
-
810
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:126
811
- msgid "Button Style"
812
- msgstr ""
813
-
814
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:129
815
- msgid "Black"
816
- msgstr ""
817
-
818
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:130
819
- msgid "White"
820
- msgstr ""
821
-
822
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:131
823
- msgid "White with outline"
824
- msgstr ""
825
-
826
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:143
827
- #: payment-gateway/class-sv-wc-payment-gateway.php:1317
828
- msgid "Connection Settings"
829
- msgstr ""
830
-
831
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:149
832
- msgid "Apple Merchant ID"
833
- msgstr ""
834
-
835
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:153
836
- msgid "This is found in your %1$sApple developer account%2$s"
837
- msgstr ""
838
-
839
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:160
840
- msgid "Certificate Path"
841
- msgstr ""
842
-
843
- #. translators: Placeholders: %s - the server's web root path
844
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:165
845
- msgid "For reference, your current web root path is: %s"
846
- msgstr ""
847
-
848
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:178
849
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:188
850
- msgid "Processing Gateway"
851
- msgstr ""
852
-
853
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:196
854
- #, fuzzy
855
- msgid "Test Mode"
856
- msgstr "Veaotsingu režiim"
857
-
858
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:197
859
- msgid ""
860
- "Enable to test Apple Pay functionality throughout your sites without "
861
- "processing real payments."
862
- msgstr ""
863
-
864
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:306
865
- msgid "Your site must be served over HTTPS with a valid SSL certificate."
866
- msgstr ""
867
-
868
- #. translators: Placeholders: %1$s - plugin name, %2$s - a
869
- #. currency/comma-separated list of currencies, %3$s - <a> tag, %4$s - </a> tag
870
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:316
871
- msgid ""
872
- "Accepts payment in %1$s only. %2$sConfigure%3$s WooCommerce to accept %1$s "
873
- "to enable Apple Pay."
874
- msgid_plural ""
875
- "Accepts payment in one of %1$s only. %2$sConfigure%3$s WooCommerce to accept "
876
- "one of %1$s to enable Apple Pay."
877
- msgstr[0] ""
878
- msgstr[1] ""
879
-
880
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:335
881
- msgid ""
882
- "Your %1$sMerchant Identity Certificate%2$s cannot be found. Please check "
883
- "your path configuration."
884
- msgstr ""
885
-
886
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:342
887
- msgid "Apple Pay is disabled."
888
- msgstr ""
889
-
890
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:381
891
- msgid "Single products"
892
- msgstr ""
893
-
894
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:382
895
- msgid "Cart"
896
- msgstr ""
897
-
898
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:383
899
- #, fuzzy
900
- msgid "Checkout"
901
- msgstr "E-tšekk"
902
-
903
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:169
904
- msgid "Buy with"
905
- msgstr ""
906
-
907
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:202
908
- msgid ""
909
- "By submitting your payment, you agree to our %1$sterms and conditions%2$s."
910
- msgstr ""
911
-
912
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:351
913
- msgid "or"
914
- msgstr ""
915
-
916
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-orders.php:123
917
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-orders.php:136
918
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-orders.php:140
919
- msgid "Error %d: Unable to create order. Please try again."
920
- msgstr ""
921
-
922
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:121
923
- msgid "Apple Pay payment authorized."
924
- msgstr ""
925
-
926
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:155
927
- #, fuzzy
928
- msgid "Apple Pay payment failed. %s"
929
- msgstr "%1$s: makse ebaõnnestus (%2$s)"
930
-
931
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:532
932
- msgid "Subtotal"
933
- msgstr ""
934
-
935
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:542
936
- #, fuzzy
937
- msgid "Discount"
938
- msgstr "Konto"
939
-
940
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:552
941
- msgid "Shipping"
942
- msgstr ""
943
-
944
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:562
945
- msgid "Fees"
946
- msgstr ""
947
-
948
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:572
949
- msgid "Taxes"
950
- msgstr ""
951
-
952
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:61
953
  msgid ""
954
  "Payment error, please try another payment method or contact us to complete "
@@ -957,82 +1022,82 @@ msgstr ""
957
  "Viga maksega, palun proovi teistsugust makseviisi või võta meiega ühendust."
958
 
959
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:161
960
- #: payment-gateway/class-sv-wc-payment-gateway.php:480
961
  msgid "Card expiration date is invalid"
962
  msgstr "Kaardi aegumiskuupäev ei ole korrektne"
963
 
964
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:185
965
- #: payment-gateway/class-sv-wc-payment-gateway.php:473
966
  msgid "Card number is missing"
967
  msgstr "Kaardi number on puudu"
968
 
969
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:191
970
- #: payment-gateway/class-sv-wc-payment-gateway.php:476
971
  msgid "Card number is invalid (wrong length)"
972
  msgstr "Kaardi number ei ole korrektne (pikkus on vale)"
973
 
974
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:196
975
- #: payment-gateway/class-sv-wc-payment-gateway.php:475
976
  msgid "Card number is invalid (only digits allowed)"
977
  msgstr "Kaardi number ei ole korrektne (lubatud on ainult numbrid)"
978
 
979
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:201
980
- #: payment-gateway/class-sv-wc-payment-gateway.php:474
981
  msgid "Card number is invalid"
982
  msgstr "Kaardi number ei ole korrektne"
983
 
984
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:228
985
- #: payment-gateway/class-sv-wc-payment-gateway.php:478
986
  msgid "Card security code is invalid (only digits are allowed)"
987
  msgstr "Kaardi turvakood ei ole korrektne (lubatud on ainult numbrid)"
988
 
989
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:234
990
- #: payment-gateway/class-sv-wc-payment-gateway.php:479
991
  msgid "Card security code is invalid (must be 3 or 4 digits)"
992
  msgstr "Kaardi turvakood ei ole korrektne (peab olema 3 või 4 numbrit)"
993
 
994
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:240
995
- #: payment-gateway/class-sv-wc-payment-gateway.php:477
996
  msgid "Card security code is missing"
997
  msgstr "Kaardi turvakood on puudu"
998
 
999
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:267
1000
- #: payment-gateway/class-sv-wc-payment-gateway.php:489
1001
  msgid "Routing Number is missing"
1002
  msgstr "Suunakood on puudu"
1003
 
1004
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:274
1005
- #: payment-gateway/class-sv-wc-payment-gateway.php:490
1006
  msgid "Routing Number is invalid (only digits are allowed)"
1007
  msgstr "Suunakood ei ole korrektne (lubatud on ainult numbrid)"
1008
 
1009
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:280
1010
- #: payment-gateway/class-sv-wc-payment-gateway.php:491
1011
  msgid "Routing number is invalid (must be 9 digits)"
1012
  msgstr "Suunakood ei ole korrektne (peab olemas 9 numbrit)"
1013
 
1014
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:289
1015
- #: payment-gateway/class-sv-wc-payment-gateway.php:486
1016
  msgid "Account Number is missing"
1017
  msgstr "Konto number on puudu"
1018
 
1019
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:296
1020
- #: payment-gateway/class-sv-wc-payment-gateway.php:487
1021
  msgid "Account Number is invalid (only digits are allowed)"
1022
  msgstr "Konto number ei ole korrektne (lubatud on ainult numbrid)"
1023
 
1024
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:302
1025
- #: payment-gateway/class-sv-wc-payment-gateway.php:488
1026
  msgid "Account number is invalid (must be between 5 and 17 digits)"
1027
  msgstr "Konto number ei ole korrektne (peab olemas 5-17 numbrit)"
1028
 
1029
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:309
1030
- #: payment-gateway/class-sv-wc-payment-gateway.php:485
1031
  msgid "Drivers license number is invalid"
1032
  msgstr "Juhiloa number ei ole korrektne"
1033
 
1034
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:315
1035
- #: payment-gateway/class-sv-wc-payment-gateway.php:481
1036
  msgid "Check Number is invalid (only digits are allowed)"
1037
  msgstr "Tšeki number ei ole korrektne (lubatud on ainult numbrid)"
1038
 
@@ -1049,53 +1114,53 @@ msgstr "Maksevahend kustutatud."
1049
  #. translators: Placeholders: %1$s - payment method title, %2$s - payment
1050
  #. account type (savings/checking) (may or may not be available), %3$s - last
1051
  #. four digits of the account
1052
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:670
1053
- #: payment-gateway/class-sv-wc-payment-gateway.php:2614
1054
  msgid "%1$s Check Transaction Approved: %2$s account ending in %3$s"
1055
  msgstr "%1$s: tšeki tehing vastu võetud: %2$s konto, lõpeb numbritega %3$s"
1056
 
1057
  #. translators: Placeholders: %s - check number
1058
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:675
1059
- #: payment-gateway/class-sv-wc-payment-gateway.php:2619
1060
  msgid "Check number %s"
1061
  msgstr "Tšeki number %s"
1062
 
1063
  #. translators: Placeholders: %1$s - payment method title, %2$s - environment
1064
  #. ("Test"), %3$s - transaction type (authorization/charge), %4$s - card type
1065
  #. (mastercard, visa, ...), %5$s - last four digits of the card
1066
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:744
1067
  #, fuzzy
1068
  msgid "%1$s %2$s %3$s Approved: %4$s ending in %5$s"
1069
  msgstr "%1$s %2$s: %3$s kinnitatud: %4$s lõpeb numbritega %5$s (aegub %6$s)"
1070
 
1071
  #. translators: Placeholders: %s - expiry date
1072
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:757
1073
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:686
1074
- #: payment-gateway/class-sv-wc-payment-gateway.php:2571
1075
  msgid "(expires %s)"
1076
  msgstr "(aegub %s)"
1077
 
1078
  #. translators: Placeholders: %s - failure message
1079
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:829
1080
  msgid "Tokenization Request Failed: %s"
1081
  msgstr "Maksevahendi salvestamise päring ebaõnnestus: %s"
1082
 
1083
  #. translators: Placeholders: %1$s - payment method title, %2$s - failure
1084
  #. message
1085
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:840
1086
  msgid "%1$s Tokenization Request Failed: %2$s"
1087
  msgstr "%1$s: maksevahendi salvestamise päring ebaõnnestus: %2$s"
1088
 
1089
  #. translators: Placeholders: %s - failure message. Payment method as in a
1090
  #. specific credit card, e-check or bank account
1091
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:898
1092
  msgid "Oops, adding your new payment method failed: %s"
1093
  msgstr "Oih, sinu maksevahendi lisamine ebaõnnestus: %s"
1094
 
1095
  #. translators: Payment method as in a specific credit card. Placeholders: %1$s
1096
  #. - card type (visa, mastercard, ...), %2$s - last four digits of the card,
1097
  #. %3$s - card expiry date
1098
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:939
1099
  msgid "Nice! New payment method added: %1$s ending in %2$s (expires %3$s)"
1100
  msgstr ""
1101
  "Lahe! Uus maksevahend lisatud: %1$s, lõpeb numbritega %2$s (aegub %3$s)"
@@ -1103,19 +1168,19 @@ msgstr ""
1103
  #. translators: Payment method as in a specific e-check account. Placeholders:
1104
  #. %1$s - account type (checking/savings), %2$s - last four digits of the
1105
  #. account
1106
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:949
1107
  msgid "Nice! New payment method added: %1$s account ending in %2$s"
1108
  msgstr "Lahe! Uus maksevahend lisatud: %1$s konto, lõpeb numbritega %2$s"
1109
 
1110
  #. translators: Payment method as in a specific credit card, e-check or bank
1111
  #. account
1112
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:956
1113
  msgid "Nice! New payment method added."
1114
  msgstr "Lahe! Uus maksevahend lisatud."
1115
 
1116
  #. translators: Placeholders: %1$s - site title, %2$s - customer email. Payment
1117
  #. method as in a specific credit card, e-check or bank account
1118
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1079
1119
  msgid "%1$s - Add Payment Method for %2$s"
1120
  msgstr "%1$s - Lisa maksevahend kliendile %2$s"
1121
 
@@ -1161,7 +1226,7 @@ msgstr "Tühista tellimus"
1161
  #. account, etc), %3$s - last four digits of the card/account, %4$s -
1162
  #. card/account expiry date
1163
  #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:597
1164
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:834
1165
  msgid "%1$s Payment Method Saved: %2$s ending in %3$s (expires %4$s)"
1166
  msgstr ""
1167
  "%1$s: maksevahend salvestatud: %2$s lõpeb numbritega in %3$s (aegub %4$s)"
@@ -1170,7 +1235,7 @@ msgstr ""
1170
  #. NETbilling, etc), %2$s - account type (checking/savings - may or may not be
1171
  #. available), %3$s - last four digits of the account
1172
  #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:608
1173
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:845
1174
  msgid "%1$s eCheck Payment Method Saved: %2$s account ending in %3$s"
1175
  msgstr ""
1176
  "%1$s: e-tšeki maksevahend salvestatud: %2$s konto, lõpeb numbritega %3$s"
@@ -1188,169 +1253,122 @@ msgstr "Minu maksevahendid."
1188
  msgid "Tokenization failed. %s"
1189
  msgstr "Maksevahendi salvestamise päring ebaõnnestus: %s"
1190
 
1191
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:228
1192
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:761
1193
  msgid "Edit"
1194
  msgstr ""
1195
 
1196
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:230
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1197
  #, fuzzy
1198
  msgid ""
1199
  "Oops, there was an error updating your payment method. Please try again."
1200
  msgstr "Sinu päringuga esines viga, palun proovi uuesti."
1201
 
1202
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:231
1203
  msgid "Are you sure you want to delete this payment method?"
1204
  msgstr "Oled sa kindel, et soovid selle maksevahendi kustutada?"
1205
 
1206
  #. translators: Payment method as in a specific credit card, eCheck or bank
1207
  #. account
1208
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:290
1209
  msgid "You do not have any saved payment methods."
1210
  msgstr "Sul ei ole salvestatud maksevahendeid."
1211
 
1212
- #. translators: Payment method as in a specific credit card, eCheck or bank
1213
- #. account
1214
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:329
1215
- msgid "My Payment Methods"
1216
- msgstr "Minu maksevahendid."
1217
-
1218
- #. translators: Payment method as in a specific credit card, e-check or bank
1219
- #. account
1220
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:337
1221
- msgid "Add New Payment Method"
1222
- msgstr "Lisa uus maksevahend"
1223
-
1224
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:425
1225
- msgid "Method"
1226
- msgstr "Maksevahend"
1227
-
1228
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:426
1229
- msgid "Details"
1230
- msgstr ""
1231
-
1232
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:427
1233
- msgid "Expires"
1234
- msgstr "Aegub"
1235
-
1236
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:428
1237
- #, fuzzy
1238
- msgid "Default?"
1239
- msgstr "(vaikimisi)"
1240
-
1241
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:429
1242
- msgid "Actions"
1243
- msgstr ""
1244
-
1245
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:465
1246
- msgid "Credit/Debit Cards"
1247
- msgstr "Deebet- ja krediitkaardid"
1248
-
1249
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:474
1250
- msgid "Bank Accounts"
1251
- msgstr "Pangakontod"
1252
-
1253
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:529
1254
- msgid "N/A"
1255
- msgstr "-"
1256
-
1257
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:641
1258
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:200
1259
  msgid "Nickname"
1260
  msgstr ""
1261
 
1262
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:822
1263
- msgid "Delete"
1264
- msgstr "Kustuta"
1265
-
1266
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:976
1267
  msgid "Oops, you took too long, please try again."
1268
  msgstr "Oih, sul läks liiga kaua aega - palun proovi uuesti."
1269
 
1270
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:989
1271
  msgid "There was an error with your request, please try again."
1272
  msgstr "Sinu päringuga esines viga, palun proovi uuesti."
1273
 
1274
- #. translators: Payment method as in a specific credit card, e-check or bank
1275
- #. account
1276
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:1002
1277
- msgid "Error removing payment method"
1278
- msgstr "Viga maksevahendi eemaldamisel"
1279
-
1280
- #. translators: Payment method as in a specific credit card, e-check or bank
1281
- #. account
1282
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:1007
1283
- msgid "Payment method deleted."
1284
- msgstr "Maksevahend kustutatud."
1285
-
1286
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:313
1287
  msgid "Card Number"
1288
  msgstr "Kaardi number"
1289
 
1290
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:334
1291
  msgid "MM / YY"
1292
  msgstr "KK / AA"
1293
 
1294
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:352
1295
  msgid "Card Security Code"
1296
  msgstr "Kaardi turvakood"
1297
 
1298
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:355
1299
  msgid "CSC"
1300
  msgstr "Turvakood"
1301
 
1302
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:395
1303
  msgid "Where do I find this?"
1304
  msgstr "Kust ma selle leian?"
1305
 
1306
  #. translators: e-check routing number, HTML form field label,
1307
  #. https:en.wikipedia.org/wiki/Routing_transit_number
1308
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:401
1309
  msgid "Routing Number"
1310
  msgstr "Suunakood"
1311
 
1312
  #. translators: e-check account number, HTML form field label
1313
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:420
1314
  msgid "Account Number"
1315
  msgstr "Kontonumber"
1316
 
1317
  #. translators: Test mode refers to the current software environment
1318
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:486
1319
  msgid "TEST MODE ENABLED"
1320
  msgstr "TESTREŽIIM SISSE LÜLITATUD"
1321
 
1322
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:513
1323
  #, fuzzy
1324
  msgid "Sample Check"
1325
  msgstr "E-tšekk"
1326
 
1327
  #. translators: Payment method as in a specific credit card, eCheck or bank
1328
  #. account
1329
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:588
1330
  msgid "Manage Payment Methods"
1331
  msgstr "Halda maksevahendeid"
1332
 
1333
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:725
1334
  msgid "Use a new card"
1335
  msgstr "Kasuta uut kaarti"
1336
 
1337
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:725
1338
  msgid "Use a new bank account"
1339
  msgstr "Kasuta uut pangakontot"
1340
 
1341
  #. translators: account as in customer's account on the eCommerce site
1342
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:788
1343
  msgid "Securely Save to Account"
1344
  msgstr "Salvesta turvaliselt oma kontole"
1345
 
1346
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:919
1347
  #, fuzzy
1348
  msgid "Payment Info"
1349
  msgstr "Maksevahendid"
1350
 
1351
  #. translators: Placeholders: %1$s - plugin name, %2$s - <a> tag, %3$s - </a>
1352
  #. tag
1353
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:617
1354
  #, fuzzy
1355
  msgid ""
1356
  "%1$s: WooCommerce is not being forced over SSL; your customers' payment data "
@@ -1360,7 +1378,7 @@ msgstr ""
1360
  "olla ohus."
1361
 
1362
  #. translators: Placeholders: %s - payment gateway name
1363
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:634
1364
  msgid ""
1365
  "%s will soon require TLS 1.2 support to process transactions and your server "
1366
  "environment may need to be updated. Please contact your hosting provider to "
@@ -1370,7 +1388,7 @@ msgstr ""
1370
 
1371
  #. translators: Placeholders: %1$s - plugin name, %2$s - a
1372
  #. currency/comma-separated list of currencies, %3$s - <a> tag, %4$s - </a> tag
1373
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:690
1374
  msgid ""
1375
  "%1$s accepts payment in %2$s only. %3$sConfigure%4$s WooCommerce to accept "
1376
  "%2$s to enable this gateway for checkout."
@@ -1382,24 +1400,41 @@ msgstr[1] ""
1382
 
1383
  #. translators: Placeholders: %1$s - payment gateway name, %2$s - opening <a>
1384
  #. tag, %3$s - closing </a> tag
1385
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:725
1386
  msgid ""
1387
  "Heads up! %1$s is currently configured to log transaction data for debugging "
1388
  "purposes. If you are not experiencing any problems with payment processing, "
1389
  "we recommend %2$sturning off Debug Mode%3$s"
1390
  msgstr ""
1391
 
 
 
 
 
 
 
 
 
 
1392
  #. translators: Placeholders: %1$s - plugin name, %2$s - opening <a> HTML link
1393
  #. tag, %3$s - closing </a> HTML link tag
1394
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:771
1395
  msgid ""
1396
  "Heads up! Apple Pay for %1$s requires WooCommerce version 3.2 or greater. "
1397
  "Please %2$supdate WooCommerce%3$s."
1398
  msgstr ""
1399
 
 
 
 
 
 
 
 
 
1400
  #. translators: Placeholders: %1$s - payment gateway title (such as
1401
  #. Authorize.net, Braintree, etc), %2$s - <a> tag, %3$s - </a> tag
1402
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:807
1403
  msgid ""
1404
  "%1$s is inactive for subscription transactions. Please %2$senable "
1405
  "tokenization%3$s to activate %1$s for Subscriptions."
@@ -1410,7 +1445,7 @@ msgstr ""
1410
 
1411
  #. translators: Placeholders: %1$s - payment gateway title (such as
1412
  #. Authorize.net, Braintree, etc), %2$s - <a> tag, %3$s - </a> tag
1413
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:825
1414
  msgid ""
1415
  "%1$s is inactive for pre-order transactions. Please %2$senable tokenization"
1416
  "%3$s to activate %1$s for Pre-Orders."
@@ -1419,13 +1454,13 @@ msgstr ""
1419
  "maksevahendite salvestamine%3$s sisse, et aktiveerida %1$s Eeltellimuste "
1420
  "(Pre-Orders) jaoks."
1421
 
1422
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:862
1423
  msgid ""
1424
  "You must enable tokenization for this gateway in order to support automatic "
1425
  "renewal payments with the WooCommerce Subscriptions extension."
1426
  msgstr ""
1427
 
1428
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:863
1429
  msgid "Inactive"
1430
  msgstr ""
1431
 
@@ -1448,79 +1483,75 @@ msgstr ""
1448
  msgid "Expiry Date"
1449
  msgstr "Aegumiskuupäev (01/%s)"
1450
 
1451
- #: payment-gateway/class-sv-wc-payment-gateway.php:341
1452
  msgid "you successfully processed a payment!"
1453
  msgstr ""
1454
 
1455
- #: payment-gateway/class-sv-wc-payment-gateway.php:346
1456
  msgid "you successfully processed a refund!"
1457
  msgstr ""
1458
 
1459
- #: payment-gateway/class-sv-wc-payment-gateway.php:482
1460
  msgid "Check Number is missing"
1461
  msgstr "Tšeki number on puudu"
1462
 
1463
- #: payment-gateway/class-sv-wc-payment-gateway.php:483
1464
  msgid "Drivers license state is missing"
1465
  msgstr "Juhiloa osariik on puudu"
1466
 
1467
- #: payment-gateway/class-sv-wc-payment-gateway.php:484
1468
  msgid "Drivers license number is missing"
1469
  msgstr "Juhiloa number on puudu"
1470
 
1471
- #: payment-gateway/class-sv-wc-payment-gateway.php:659
1472
  msgid "Continue to Payment"
1473
  msgstr ""
1474
 
1475
- #: payment-gateway/class-sv-wc-payment-gateway.php:659
1476
  msgid "Place order"
1477
  msgstr "Esita tellimus"
1478
 
1479
- #: payment-gateway/class-sv-wc-payment-gateway.php:691
1480
  msgid "Thank you for your order."
1481
  msgstr "Aitäh tellimuse eest."
1482
 
1483
- #: payment-gateway/class-sv-wc-payment-gateway.php:1101
1484
  msgid "Credit Card"
1485
  msgstr "Krediitkaart"
1486
 
1487
- #: payment-gateway/class-sv-wc-payment-gateway.php:1103
1488
  msgid "eCheck"
1489
  msgstr "E-tšekk"
1490
 
1491
- #: payment-gateway/class-sv-wc-payment-gateway.php:1121
1492
  msgid "Pay securely using your credit card."
1493
  msgstr "Maksa turvaliselt oma krediitkaardiga."
1494
 
1495
- #: payment-gateway/class-sv-wc-payment-gateway.php:1123
1496
  msgid "Pay securely using your checking account."
1497
  msgstr "Maksa turvaliselt oma tšekikontoga."
1498
 
1499
- #: payment-gateway/class-sv-wc-payment-gateway.php:1143
1500
  msgid "Enable this gateway"
1501
  msgstr "Lülita see makseviis sisse"
1502
 
1503
- #: payment-gateway/class-sv-wc-payment-gateway.php:1149
1504
- msgid "Title"
1505
- msgstr "Nimetus"
1506
-
1507
- #: payment-gateway/class-sv-wc-payment-gateway.php:1151
1508
  msgid "Payment method title that the customer will see during checkout."
1509
  msgstr "Kliendile kassas nähtav makseviisi nimetus."
1510
 
1511
- #: payment-gateway/class-sv-wc-payment-gateway.php:1156
1512
  msgid "Description"
1513
  msgstr "Kirjeldus"
1514
 
1515
- #: payment-gateway/class-sv-wc-payment-gateway.php:1158
1516
  msgid "Payment method description that the customer will see during checkout."
1517
  msgstr "Kliendile kassas nähtav makseviisi kirjeldus."
1518
 
1519
- #: payment-gateway/class-sv-wc-payment-gateway.php:1187
1520
  msgid "Detailed Decline Messages"
1521
  msgstr "Täpsemad maksest keeldumise teated"
1522
 
1523
- #: payment-gateway/class-sv-wc-payment-gateway.php:1189
1524
  msgid ""
1525
  "Check to enable detailed decline messages to the customer during checkout "
1526
  "when possible, rather than a generic decline message."
@@ -1529,7 +1560,7 @@ msgstr ""
1529
  "teate asemel näidata võimaluse korral täpsemaid põhjusi."
1530
 
1531
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
1532
- #: payment-gateway/class-sv-wc-payment-gateway.php:1199
1533
  msgid ""
1534
  "Show Detailed Error Messages and API requests/responses on the checkout page "
1535
  "and/or save them to the %1$sdebug log%2$s"
@@ -1537,90 +1568,90 @@ msgstr ""
1537
  "Näita üksikasjalikke veateateud ja API päringuid/vastuseid kassas ja/või "
1538
  "salvesta need %1$slogifaili%2$s"
1539
 
1540
- #: payment-gateway/class-sv-wc-payment-gateway.php:1203
1541
  msgid "Show on Checkout Page"
1542
  msgstr "Näita kassas"
1543
 
1544
  #. translators: show debugging information on both checkout page and in the log
1545
- #: payment-gateway/class-sv-wc-payment-gateway.php:1206
1546
  msgid "Both"
1547
  msgstr "Mõlemad"
1548
 
1549
- #: payment-gateway/class-sv-wc-payment-gateway.php:1269
1550
  msgid "Select the gateway environment to use for transactions."
1551
  msgstr "Vali makseviisi tehingute teostamise keskkond."
1552
 
1553
- #: payment-gateway/class-sv-wc-payment-gateway.php:1323
1554
  msgid "Share connection settings"
1555
  msgstr "Jaga ühenduse andmeid"
1556
 
1557
- #: payment-gateway/class-sv-wc-payment-gateway.php:1325
1558
  msgid "Use connection/authentication settings from other gateway"
1559
  msgstr "Kasuta teise makseviisi ühenduse/autentimise seadeid"
1560
 
1561
- #: payment-gateway/class-sv-wc-payment-gateway.php:1328
1562
  msgid "Disabled because the other gateway is using these settings"
1563
  msgstr "Ei saa muuta, kuna teine makseviis kasutab neid seadeid"
1564
 
1565
- #: payment-gateway/class-sv-wc-payment-gateway.php:1345
1566
  msgid "Card Verification (CSC)"
1567
  msgstr "Kaardi turvakood (CSC)"
1568
 
1569
- #: payment-gateway/class-sv-wc-payment-gateway.php:1346
1570
  msgid "Display the Card Security Code (CV2) field on checkout"
1571
  msgstr "Näita kassas kaardi turvakoodi (CV2) välja"
1572
 
1573
- #: payment-gateway/class-sv-wc-payment-gateway.php:1354
1574
  #, fuzzy
1575
  msgid "Saved Card Verification"
1576
  msgstr "Kaardi turvakood (CSC)"
1577
 
1578
- #: payment-gateway/class-sv-wc-payment-gateway.php:1355
1579
  #, fuzzy
1580
  msgid "Display the Card Security Code field when paying with a saved card"
1581
  msgstr "Näita kassas kaardi turvakoodi (CV2) välja"
1582
 
1583
  #. translators: Placeholders: %1$s - site title, %2$s - order number
1584
- #: payment-gateway/class-sv-wc-payment-gateway.php:1686
1585
  msgid "%1$s - Order %2$s"
1586
  msgstr "%1$s - Tellimus %2$s"
1587
 
1588
  #. translators: Placeholders: %1$s - site title, %2$s - order number.
1589
  #. Definitions: Capture as in capture funds from a credit card.
1590
- #: payment-gateway/class-sv-wc-payment-gateway.php:1815
1591
  msgid "%1$s - Capture for Order %2$s"
1592
  msgstr "%1$s - Tasumine tellimuse %2$s eest"
1593
 
1594
  #. translators: Placeholders: %1$s - site title, %2$s - order number
1595
- #: payment-gateway/class-sv-wc-payment-gateway.php:1958
1596
  msgid "%1$s - Refund for Order %2$s"
1597
  msgstr "%1$s - Tagasimakse tellimuse %2$s eest"
1598
 
1599
  #. translators: Placeholders: %1$s - payment gateway title (such as
1600
  #. Authorize.net, Braintree, etc), %2$s - a monetary amount
1601
- #: payment-gateway/class-sv-wc-payment-gateway.php:2025
1602
  msgid "%1$s Refund in the amount of %2$s approved."
1603
  msgstr "%1$s: tagasimakse summas %2$s kinnitatud."
1604
 
1605
  #. translators: Placeholders: %1$s - payment gateway title (such as
1606
  #. Authorize.net, Braintree, etc), %2$s - error code, %3$s - error message
1607
- #: payment-gateway/class-sv-wc-payment-gateway.php:2055
1608
  msgid "%1$s Refund Failed: %2$s - %3$s"
1609
  msgstr "%1$s: tagasimakse ebaõnnestus: %2$s - %3$s"
1610
 
1611
  #. translators: Placeholders: %1$s - payment gateway title (such as
1612
  #. Authorize.net, Braintree, etc), %2$s - error message
1613
- #: payment-gateway/class-sv-wc-payment-gateway.php:2063
1614
  msgid "%1$s Refund Failed: %2$s"
1615
  msgstr "%1$s: tagasimakse ebaõnnestus: %2$s"
1616
 
1617
  #. translators: Placeholders: %s - payment gateway title (such as
1618
  #. Authorize.net, Braintree, etc)
1619
- #: payment-gateway/class-sv-wc-payment-gateway.php:2084
1620
  msgid "%s Order completely refunded."
1621
  msgstr "%s: tellimus täielikult tagasi makstud."
1622
 
1623
- #: payment-gateway/class-sv-wc-payment-gateway.php:2139
1624
  msgid ""
1625
  "Oops, you cannot partially void this order. Please use the full order amount."
1626
  msgstr ""
@@ -1629,58 +1660,58 @@ msgstr ""
1629
 
1630
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error code,
1631
  #. %3$s - error message. Void as in to void an order.
1632
- #: payment-gateway/class-sv-wc-payment-gateway.php:2226
1633
  msgid "%1$s Void Failed: %2$s - %3$s"
1634
  msgstr "%1$s: tühistamine ebaõnnestus: %2$s - %3$s"
1635
 
1636
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1637
  #. message. Void as in to void an order.
1638
- #: payment-gateway/class-sv-wc-payment-gateway.php:2234
1639
  msgid "%1$s Void Failed: %2$s"
1640
  msgstr "%1$s: tühistamine ebaõnnestus: %2$s"
1641
 
1642
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - a monetary
1643
  #. amount. Void as in to void an order.
1644
- #: payment-gateway/class-sv-wc-payment-gateway.php:2258
1645
  msgid "%1$s Void in the amount of %2$s approved."
1646
  msgstr "%1$s: tühistamine summas %2$s kinnitatud."
1647
 
1648
  #. translators: Placeholders: %1$s - payment method title, %2$s - environment
1649
  #. ("Test"), %3$s - transaction type (authorization/charge)
1650
- #: payment-gateway/class-sv-wc-payment-gateway.php:2550
1651
  #, fuzzy
1652
  msgid "%1$s %2$s %3$s Approved"
1653
  msgstr "%1$s: %2$s tehing kinnitatud"
1654
 
1655
  #. translators: Placeholders: %1$s - credit card type (MasterCard, Visa,
1656
  #. etc...), %2$s - last four digits of the card
1657
- #: payment-gateway/class-sv-wc-payment-gateway.php:2560
1658
  msgid "%1$s ending in %2$s"
1659
  msgstr ""
1660
 
1661
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - message
1662
  #. (probably reason for the transaction being held for review)
1663
- #: payment-gateway/class-sv-wc-payment-gateway.php:2656
1664
  msgid "%1$s Transaction Held for Review (%2$s)"
1665
  msgstr "%1$s: tehning pandi ülevaatuseks ootele (%2$s)"
1666
 
1667
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1668
  #. message; e.g. Order Note: [Payment method] Payment failed [error]
1669
- #: payment-gateway/class-sv-wc-payment-gateway.php:2745
1670
  msgid "%1$s Payment Failed (%2$s)"
1671
  msgstr "%1$s: makse ebaõnnestus (%2$s)"
1672
 
1673
  #. translators: Placeholders: %1$s - payment gateway title, %2$s -
1674
  #. message/error
1675
- #: payment-gateway/class-sv-wc-payment-gateway.php:2780
1676
  msgid "%1$s Transaction Cancelled (%2$s)"
1677
  msgstr "%1$s: tehing tühistatud (%2$s)"
1678
 
1679
- #: payment-gateway/class-sv-wc-payment-gateway.php:3028
1680
  msgid "Transaction Type"
1681
  msgstr "Tehingu tüüp"
1682
 
1683
- #: payment-gateway/class-sv-wc-payment-gateway.php:3030
1684
  msgid ""
1685
  "Select how transactions should be processed. Charge submits all transactions "
1686
  "for settlement, Authorization simply authorizes the order total for capture "
@@ -1690,44 +1721,44 @@ msgstr ""
1690
  "koheselt tasumisele, \"Autoriseerimine\" lihtsalt autoriseerib tellimuse "
1691
  "summa hilisemaks tasumiseks."
1692
 
1693
- #: payment-gateway/class-sv-wc-payment-gateway.php:3041
1694
  msgid "Charge Virtual-Only Orders"
1695
  msgstr ""
1696
 
1697
- #: payment-gateway/class-sv-wc-payment-gateway.php:3043
1698
  msgid ""
1699
  "If the order contains exclusively virtual items, enable this to immediately "
1700
  "charge, rather than authorize, the transaction."
1701
  msgstr ""
1702
 
1703
- #: payment-gateway/class-sv-wc-payment-gateway.php:3051
1704
  #, fuzzy
1705
  msgid "Enable Partial Capture"
1706
  msgstr "Lülita see makseviis sisse"
1707
 
1708
- #: payment-gateway/class-sv-wc-payment-gateway.php:3053
1709
  msgid "Allow orders to be partially captured multiple times."
1710
  msgstr ""
1711
 
1712
- #: payment-gateway/class-sv-wc-payment-gateway.php:3065
1713
  #, fuzzy
1714
  msgid "Capture Paid Orders"
1715
  msgstr "Teosta makse"
1716
 
1717
- #: payment-gateway/class-sv-wc-payment-gateway.php:3068
1718
  msgid "Automatically capture orders when they are changed to %s."
1719
  msgstr ""
1720
 
1721
- #: payment-gateway/class-sv-wc-payment-gateway.php:3069
1722
  msgid "a paid status"
1723
  msgstr ""
1724
 
1725
- #: payment-gateway/class-sv-wc-payment-gateway.php:3259
1726
  #, fuzzy
1727
  msgid "Accepted Card Logos"
1728
  msgstr "Vastuvõetavad kaardid"
1729
 
1730
- #: payment-gateway/class-sv-wc-payment-gateway.php:3261
1731
  #, fuzzy
1732
  msgid ""
1733
  "These are the card logos that are displayed to customers as accepted during "
@@ -1735,7 +1766,7 @@ msgid ""
1735
  msgstr "Kliendile kassas nähtav makseviisi nimetus."
1736
 
1737
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag
1738
- #: payment-gateway/class-sv-wc-payment-gateway.php:3264
1739
  msgid ""
1740
  "This setting %1$sdoes not%2$s change which card types the gateway will "
1741
  "accept. Accepted cards are configured from your payment processor account."
@@ -1744,11 +1775,11 @@ msgstr ""
1744
  #. translators:
1745
  #. http:www.cybersource.com/products/payment_security/payment_tokenization/ and
1746
  #. https:en.wikipedia.org/wiki/Tokenization_(data_security)
1747
- #: payment-gateway/class-sv-wc-payment-gateway.php:3355
1748
  msgid "Tokenization"
1749
  msgstr "Maksevahendite salvestamine"
1750
 
1751
- #: payment-gateway/class-sv-wc-payment-gateway.php:3356
1752
  msgid ""
1753
  "Allow customers to securely save their payment details for future checkout."
1754
  msgstr ""
@@ -1757,7 +1788,7 @@ msgstr ""
1757
 
1758
  #. translators: %1$s - gateway name, %2$s - <a> tag, %3$s - </a> tag, %4$s -
1759
  #. <a> tag, %5$s - </a> tag
1760
- #: payment-gateway/class-sv-wc-payment-gateway.php:4175
1761
  msgid ""
1762
  "Heads up! %1$s is not fully configured and cannot accept payments. Please "
1763
  "%2$sreview the documentation%3$s and configure the %4$sgateway settings%5$s."
@@ -1787,48 +1818,123 @@ msgstr ""
1787
  msgid "Pre-Order Release Payment Failed: %s"
1788
  msgstr "Eeltellimuse väljastamise makse ebaõnnestus: %s"
1789
 
1790
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:326
1791
  msgid "Subscription Renewal: payment token is missing/invalid."
1792
  msgstr ""
1793
 
1794
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:352
1795
  msgid "%1$s - Subscription Renewal Order %2$s"
1796
  msgstr ""
1797
 
1798
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1799
  #. message; e.g. Order Note: [Payment method] Payment Change failed [error]
1800
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:484
1801
  #, fuzzy
1802
  msgid "%1$s Payment Change Failed (%2$s)"
1803
  msgstr "%1$s: makse ebaõnnestus (%2$s)"
1804
 
1805
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:627
1806
  msgid "Via %s ending in %s"
1807
  msgstr ""
1808
 
1809
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:654
1810
  msgid "Subscriptions"
1811
  msgstr ""
1812
 
1813
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:723
1814
- msgid ""
1815
- "This payment method is tied to a subscription and cannot be deleted. Please "
1816
- "switch the subscription to another method first."
1817
- msgstr ""
1818
 
1819
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:775
1820
  msgid "Payment Token"
1821
  msgstr ""
1822
 
1823
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:804
1824
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:809
1825
  msgid "%s is required."
1826
  msgstr ""
1827
 
1828
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:173
1829
  msgid "Unknown Error"
1830
  msgstr "Esines tundmatu viga"
1831
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1832
  #: utilities/class-sv-wp-background-job-handler.php:644
1833
  msgid "Job data key \"%s\" not set"
1834
  msgstr ""
@@ -1916,37 +2022,37 @@ msgctxt "enhanced select"
1916
  msgid "Searching&hellip;"
1917
  msgstr ""
1918
 
1919
- #: class-sv-wc-helper.php:408
1920
  msgctxt "coordinating conjunction for a list of items: a, b, and c"
1921
  msgid "and"
1922
  msgstr ""
1923
 
1924
- #: class-sv-wc-plugin.php:611
1925
  msgctxt "noun"
1926
  msgid "Support"
1927
  msgstr "Kasutajatugi"
1928
 
1929
- #: class-sv-wc-plugin.php:616
1930
  msgctxt "verb"
1931
  msgid "Review"
1932
  msgstr ""
1933
 
1934
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:746
1935
- #: payment-gateway/class-sv-wc-payment-gateway.php:2552
1936
  msgctxt "noun, software environment"
1937
  msgid "Test"
1938
  msgstr "test"
1939
 
1940
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:747
1941
- #: payment-gateway/class-sv-wc-payment-gateway.php:2553
1942
- #: payment-gateway/class-sv-wc-payment-gateway.php:3034
1943
  msgctxt "credit card transaction type"
1944
  msgid "Authorization"
1945
  msgstr "Autoriseerimine"
1946
 
1947
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:747
1948
- #: payment-gateway/class-sv-wc-payment-gateway.php:2553
1949
- #: payment-gateway/class-sv-wc-payment-gateway.php:3033
1950
  msgctxt "noun, credit card transaction type"
1951
  msgid "Charge"
1952
  msgstr "Makse"
@@ -1957,19 +2063,19 @@ msgid "Account"
1957
  msgstr "Konto"
1958
 
1959
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:229
1960
- #: payment-gateway/class-sv-wc-payment-gateway.php:3292
1961
  msgctxt "credit card type"
1962
  msgid "Visa"
1963
  msgstr "Visa"
1964
 
1965
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:233
1966
- #: payment-gateway/class-sv-wc-payment-gateway.php:3293
1967
  msgctxt "credit card type"
1968
  msgid "MasterCard"
1969
  msgstr "MasterCard"
1970
 
1971
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:237
1972
- #: payment-gateway/class-sv-wc-payment-gateway.php:3294
1973
  msgctxt "credit card type"
1974
  msgid "American Express"
1975
  msgstr "American Express"
@@ -1980,13 +2086,13 @@ msgid "Diners Club"
1980
  msgstr ""
1981
 
1982
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:245
1983
- #: payment-gateway/class-sv-wc-payment-gateway.php:3295
1984
  msgctxt "credit card type"
1985
  msgid "Discover"
1986
  msgstr "Discover"
1987
 
1988
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:249
1989
- #: payment-gateway/class-sv-wc-payment-gateway.php:3297
1990
  msgctxt "credit card type"
1991
  msgid "JCB"
1992
  msgstr "JCB"
@@ -2006,34 +2112,34 @@ msgctxt "credit card type"
2006
  msgid "Laser"
2007
  msgstr ""
2008
 
2009
- #: payment-gateway/class-sv-wc-payment-gateway.php:3296
2010
  msgctxt "credit card type"
2011
  msgid "Diners"
2012
  msgstr "Diners"
2013
 
2014
  #. translators: http:www.investopedia.com/terms/c/checkingaccount.asp
2015
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:446
2016
  msgctxt "account type"
2017
  msgid "Checking"
2018
  msgstr "Tšekikonto"
2019
 
2020
  #. translators: http:www.investopedia.com/terms/s/savingsaccount.asp
2021
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:448
2022
  msgctxt "account type"
2023
  msgid "Savings"
2024
  msgstr "Hoiuarve"
2025
 
2026
- #: payment-gateway/class-sv-wc-payment-gateway.php:2333
2027
  msgctxt "hash before order number"
2028
  msgid "#"
2029
  msgstr "#"
2030
 
2031
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:684
2032
  msgctxt "hash before order number"
2033
  msgid "#%s"
2034
  msgstr ""
2035
 
2036
- #: payment-gateway/class-sv-wc-payment-gateway.php:3062
2037
  msgctxt ""
2038
  "coordinating conjunction for a list of order statuses: on-hold, processing, "
2039
  "or completed"
@@ -2041,11 +2147,38 @@ msgid "or"
2041
  msgstr ""
2042
 
2043
  #. translators: https:www.skyverge.com/for-translators-environments/
2044
- #: payment-gateway/class-sv-wc-payment-gateway.php:3901
2045
  msgctxt "software environment"
2046
  msgid "Production"
2047
  msgstr "Töö/avalik"
2048
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2049
  #, fuzzy
2050
  #~ msgid "Pay with"
2051
  #~ msgstr "Maksa"
@@ -2053,9 +2186,6 @@ msgstr "Töö/avalik"
2053
  #~ msgid "%1$s Capture Failed: %2$s - %3$s"
2054
  #~ msgstr "%1$s: tasumine ebaõnnestus: %2$s - %3$s"
2055
 
2056
- #~ msgid "Dismiss"
2057
- #~ msgstr "Loobu"
2058
-
2059
  #~ msgid "(check number %s)"
2060
  #~ msgstr "(tšeki number %s)"
2061
 
18
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
  "X-Generator: Poedit 1.8.11\n"
20
 
21
+ #: Lifecycle.php:394
22
  msgid "Awesome"
23
  msgstr ""
24
 
25
+ #: Lifecycle.php:395
26
  msgid "Fantastic"
27
  msgstr ""
28
 
29
+ #: Lifecycle.php:396
30
  msgid "Cowabunga"
31
  msgstr ""
32
 
33
+ #: Lifecycle.php:397
34
  msgid "Congratulations"
35
  msgstr ""
36
 
37
+ #: Lifecycle.php:398
38
  msgid "Hot dog"
39
  msgstr ""
40
 
41
  #. translators: Placeholders: %1$s - plugin name, %2$s - <a> tag, %3$s - </a>
42
  #. tag, %4$s - <a> tag, %5$s - </a> tag
43
+ #: Lifecycle.php:405
44
  msgid ""
45
  "Are you having a great experience with %1$s so far? Please consider "
46
  "%2$sleaving a review%3$s! If things aren't going quite as expected, we're "
184
  msgid "Please %1$supdate WooCommerce%2$s"
185
  msgstr "Palun %1$suuenda WooCommerce'i%2$s"
186
 
187
+ #: class-sv-wc-plugin-compatibility.php:349
188
  msgid "WooCommerce"
189
  msgstr ""
190
 
256
 
257
  #. translators: Placeholders: %1$s - plugin name, %2$s - WooCommerce version
258
  #. number, %3$s - opening <a> HTML link tag, %4$s - closing </a> HTML link tag
259
+ #: class-sv-wc-plugin.php:615
260
  msgid ""
261
  "Heads up! %1$s will soon discontinue support for WooCommerce %2$s. Please "
262
  "%3$supdate WooCommerce%4$s to take advantage of the latest updates and "
264
  msgstr ""
265
 
266
  #. translators: Docs as in Documentation
267
+ #: class-sv-wc-plugin.php:658
268
  msgid "Docs"
269
  msgstr "Dokumentatsioon"
270
 
271
+ #: class-sv-wc-plugin.php:751
272
  msgid "%1$s - A minimum of %2$s is required."
273
  msgstr ""
274
 
275
+ #: class-sv-wc-plugin.php:760
276
  msgid "Set as %1$s - %2$s is required."
277
  msgstr ""
278
 
279
+ #: class-sv-wc-plugin.php:1040
280
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:876
281
  msgid "Configure"
282
  msgstr "Seadista"
283
 
284
+ #: payment-gateway/External_Checkout/Admin.php:137
285
+ #: payment-gateway/External_Checkout/Admin.php:147
286
+ msgid "Processing Gateway"
287
+ msgstr ""
288
+
289
+ #: payment-gateway/External_Checkout/Admin.php:287
290
+ msgid "Single products"
291
+ msgstr ""
292
+
293
+ #: payment-gateway/External_Checkout/Admin.php:288
294
+ msgid "Cart"
295
+ msgstr ""
296
+
297
+ #: payment-gateway/External_Checkout/Admin.php:289
298
+ #, fuzzy
299
+ msgid "Checkout"
300
+ msgstr "E-tšekk"
301
+
302
+ #. translators: Placeholders: - external checkout label, %2$s - <strong> tag,
303
+ #. %3$s - </strong> tag
304
+ #: payment-gateway/External_Checkout/Admin.php:330
305
+ msgid "%2$S%1$s is disabled.%3$S"
306
+ msgstr ""
307
+
308
+ #. translators: Placeholders: %1$s - plugin name, %2$s - a
309
+ #. currency/comma-separated list of currencies, %3$s - <a> tag, %4$s - </a>
310
+ #. tag, %5$s - external checkout label
311
+ #: payment-gateway/External_Checkout/Admin.php:395
312
+ msgid ""
313
+ "Accepts payment in %1$s only. %2$sConfigure%3$s WooCommerce to accept %1$s "
314
+ "to enable %4$s."
315
+ msgid_plural ""
316
+ "Accepts payment in one of %1$s only. %2$sConfigure%3$s WooCommerce to accept "
317
+ "one of %1$s to enable %4$s."
318
+ msgstr[0] ""
319
+ msgstr[1] ""
320
+
321
+ #: payment-gateway/External_Checkout/Admin.php:437
322
+ msgid ""
323
+ "%4$s%1$s Notice!%5$s Your store %2$scalculates taxes%3$s based on the "
324
+ "shipping address, but %1$s %4$sdoes not%5$s share customer shipping "
325
+ "information with your store for orders with only virtual products. These "
326
+ "orders will have their taxes calculated based on the shop address instead."
327
+ msgstr ""
328
+
329
+ #: payment-gateway/External_Checkout/Admin.php:471
330
+ msgid ""
331
+ "%4$s%1$s Notice!%5$s Your store %2$scalculates taxes%3$s based on the "
332
+ "billing address, but %1$s %4$sdoes not%5$s share the customer billing "
333
+ "address with your store before payment. These orders will have their taxes "
334
+ "calculated based on the shipping address (or shop address, for orders with "
335
+ "only virtual products)."
336
+ msgstr ""
337
+
338
+ #: payment-gateway/External_Checkout/Frontend.php:259
339
+ msgid "or"
340
+ msgstr ""
341
+
342
+ #: payment-gateway/External_Checkout/Frontend.php:293
343
+ msgid ""
344
+ "By submitting your payment, you agree to our %1$sterms and conditions%2$s."
345
+ msgstr ""
346
+
347
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:71
348
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:87
349
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:66
350
+ msgid "Google Pay"
351
+ msgstr ""
352
+
353
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:93
354
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:93
355
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1262
356
+ msgid "Enable / Disable"
357
+ msgstr "Luba / Keela"
358
+
359
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:94
360
+ msgid "Accept Google Pay"
361
+ msgstr ""
362
+
363
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:101
364
+ msgid "Allow Google Pay on"
365
+ msgstr ""
366
+
367
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:111
368
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:111
369
+ msgid "Button Style"
370
+ msgstr ""
371
+
372
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:114
373
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:114
374
+ msgid "Black"
375
+ msgstr ""
376
+
377
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:115
378
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:115
379
+ msgid "White"
380
+ msgstr ""
381
+
382
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:148
383
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:150
384
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1440
385
+ msgid "Connection Settings"
386
+ msgstr ""
387
+
388
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:157
389
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:188
390
+ #, fuzzy
391
+ msgid "Test Mode"
392
+ msgstr "Veaotsingu režiim"
393
+
394
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:158
395
+ msgid ""
396
+ "Enable to test Google Pay functionality throughout your sites without "
397
+ "processing real payments."
398
+ msgstr ""
399
+
400
+ #: payment-gateway/External_Checkout/Google_Pay/Frontend.php:130
401
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:141
402
+ #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:99
403
+ msgid "An error occurred, please try again or try an alternate form of payment"
404
+ msgstr "Esines viga, palun proovi uuesti või kasuta teistsugust makseviisi"
405
+
406
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:255
407
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:380
408
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:539
409
+ msgid "Subtotal"
410
+ msgstr ""
411
+
412
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:390
413
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:549
414
+ #, fuzzy
415
+ msgid "Discount"
416
+ msgstr "Konto"
417
+
418
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:400
419
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:559
420
+ msgid "Shipping"
421
+ msgstr ""
422
+
423
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:410
424
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:569
425
+ msgid "Fees"
426
+ msgstr ""
427
+
428
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:420
429
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:579
430
+ msgid "Taxes"
431
+ msgstr ""
432
+
433
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:463
434
+ #, fuzzy
435
+ msgid "Google Pay payment authorized."
436
+ msgstr "%1$s: makse ebaõnnestus (%2$s)"
437
+
438
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:538
439
+ #, fuzzy
440
+ msgid "Google Pay payment failed. %s"
441
+ msgstr "%1$s: makse ebaõnnestus (%2$s)"
442
+
443
+ #: payment-gateway/External_Checkout/Orders.php:140
444
+ #: payment-gateway/External_Checkout/Orders.php:153
445
+ #: payment-gateway/External_Checkout/Orders.php:157
446
+ msgid "Error %d: Unable to create order. Please try again."
447
+ msgstr ""
448
+
449
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:71
450
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:87
451
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:65
452
+ msgid "Apple Pay"
453
+ msgstr ""
454
+
455
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:94
456
+ msgid "Accept Apple Pay"
457
+ msgstr ""
458
+
459
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:101
460
+ msgid "Allow Apple Pay on"
461
+ msgstr ""
462
+
463
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:116
464
+ msgid "White with outline"
465
+ msgstr ""
466
+
467
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:159
468
+ msgid "Apple Merchant ID"
469
+ msgstr ""
470
+
471
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:163
472
+ msgid "This is found in your %1$sApple developer account%2$s"
473
+ msgstr ""
474
+
475
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:173
476
+ msgid "Certificate Path"
477
+ msgstr ""
478
+
479
+ #. translators: Placeholders: %s - the server's web root path
480
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:178
481
+ msgid "For reference, your current web root path is: %s"
482
+ msgstr ""
483
+
484
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:189
485
+ msgid ""
486
+ "Enable to test Apple Pay functionality throughout your sites without "
487
+ "processing real payments."
488
+ msgstr ""
489
+
490
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:228
491
+ msgid "Your site must be served over HTTPS with a valid SSL certificate."
492
+ msgstr ""
493
+
494
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:238
495
+ msgid ""
496
+ "Your %1$sMerchant Identity Certificate%2$s cannot be found. Please check "
497
+ "your path configuration."
498
+ msgstr ""
499
+
500
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:176
501
+ msgid "Buy with"
502
+ msgstr ""
503
+
504
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:152
505
+ msgid "Apple Pay payment authorized."
506
+ msgstr ""
507
+
508
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:186
509
+ #, fuzzy
510
+ msgid "Apple Pay payment failed. %s"
511
+ msgstr "%1$s: makse ebaõnnestus (%2$s)"
512
+
513
  #: payment-gateway/Handlers/Abstract_Hosted_Payment_Handler.php:179
514
  #, fuzzy
515
  msgid ""
520
  "meiega ühendust."
521
 
522
  #: payment-gateway/Handlers/Abstract_Hosted_Payment_Handler.php:217
523
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2889
524
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:512
525
  msgid ""
526
  "An error occurred, please try again or try an alternate form of payment."
527
  msgstr "Esines viga, palun proovi uuesti või kasuta teistsugust makseviisi."
536
  #. translators: Placeholders: %1$s - payment request response status code, %2$s
537
  #. - payment request response status message
538
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:152
539
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2482
540
+ #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:173
541
  msgid "Status code %1$s: %2$s"
542
  msgstr "Staatuse kood %1$s: %2$s"
543
 
544
  #. translators: Placeholders: %s - status code
545
  #. translators: Placeholders: %s - payment request response status code
546
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:155
547
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2485
548
+ #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:176
549
  msgid "Status code: %s"
550
  msgstr "Staatuse kood: %s"
551
 
552
  #. translators: Placeholders; %s - status message
553
  #. translators: Placeholders: %s - payment request response status message
554
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:158
555
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2488
556
+ #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:179
557
  msgid "Status message: %s"
558
  msgstr "Staatuse teade: %s"
559
 
560
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:163
561
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2493
562
+ #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:186
563
  msgid "Transaction ID %s"
564
  msgstr "Tehingu ID %s"
565
 
576
  msgstr ""
577
 
578
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:267
579
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2825
580
  msgid ""
581
  "Your order has been received and is being reviewed. Thank you for your "
582
  "business."
586
  #. translators: This is a message describing that the transaction in question
587
  #. only performed a credit card authorization and did not capture any funds.
588
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:274
589
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:864
590
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1860
591
  #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:370
592
  msgid "Authorization only transaction"
593
  msgstr "Autoriseerimise tehing"
636
 
637
  #. translators: Placeholders: %s - transaction ID
638
  #: payment-gateway/Handlers/Capture.php:198
639
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:683
640
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:768
641
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2161
642
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2394
643
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2706
644
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2751
645
  #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:353
646
  msgid "(Transaction ID %s)"
647
  msgstr "(Tehingu ID %s)"
702
  msgid "An error occurred. Please try again."
703
  msgstr "Sinu päringuga esines viga, palun proovi uuesti."
704
 
705
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:491
706
  #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:305
707
  msgid "(%s)"
708
  msgstr ""
709
 
710
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:521
711
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:900
712
  msgid "Default"
713
  msgstr ""
714
 
715
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:557
716
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:590
717
  msgid "Token ID"
718
  msgstr ""
719
 
720
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:562
721
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:300
722
  msgid "Card Type"
723
  msgstr "Kaardi tüüp"
724
 
725
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:567
726
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:603
727
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:192
728
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:298
729
  msgid "Last Four"
730
  msgstr "Viimased 4 numbrit"
731
 
732
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:574
733
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:358
734
  msgid "Expiration (MM/YY)"
735
  msgstr "Aegub (KK/AA)"
736
 
737
  #. translators: e-check account type, HTML form field label
738
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:595
739
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:466
740
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:299
741
  msgid "Account Type"
742
  msgstr "Konto tüüp"
743
 
744
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:598
745
  msgid "Checking"
746
  msgstr ""
747
 
748
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:599
749
  msgid "Savings"
750
  msgstr ""
751
 
752
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:700
753
  msgid "Refresh"
754
  msgstr ""
755
 
756
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:702
757
  msgid "Add New"
758
  msgstr ""
759
 
760
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:705
761
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:297
762
  msgid "Save"
763
  msgstr ""
764
 
765
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:728
766
  msgid "Remove"
767
  msgstr ""
768
 
772
  msgstr "%s maksevahendid"
773
 
774
  #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:302
775
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:841
776
  msgid "Customer ID"
777
  msgstr "Kliendi ID"
778
 
782
 
783
  #. translators: environment as in a software environment (test/production)
784
  #: payment-gateway/admin/views/html-admin-gateway-status.php:53
785
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1389
786
  msgid "Environment"
787
  msgstr "Keskkond"
788
 
799
  msgstr ""
800
 
801
  #: payment-gateway/admin/views/html-admin-gateway-status.php:75
802
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1316
803
  msgid "Debug Mode"
804
  msgstr "Veaotsingu režiim"
805
 
816
  msgstr ""
817
 
818
  #: payment-gateway/admin/views/html-admin-gateway-status.php:83
819
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1324
820
  msgid "Save to Log"
821
  msgstr "Salvesta logifaili"
822
 
823
  #: payment-gateway/admin/views/html-admin-gateway-status.php:85
824
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1322
825
  msgid "Off"
826
  msgstr "Välja lülitatud"
827
 
853
  msgstr "Teosta makse"
854
 
855
  #: payment-gateway/admin/views/html-order-partial-capture.php:66
856
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:608
857
  #, fuzzy
858
  msgid "Cancel"
859
  msgstr "Tühista tellimus"
872
  "Kasutajale makseviisi poolt määratud kliendi tunnus. Muuda seda ainult siis, "
873
  "kui tõesti vajalik."
874
 
 
 
 
 
 
875
  #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:100
876
  msgid ""
877
  "We cannot process your order with the payment information that you provided. "
1014
  "Antud aadress ei kattu kaardi omaniku aadressiga. Palun kontrolli, et "
1015
  "sisestaid õige aadressi ning proovi uuesti."
1016
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1017
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:61
1018
  msgid ""
1019
  "Payment error, please try another payment method or contact us to complete "
1022
  "Viga maksega, palun proovi teistsugust makseviisi või võta meiega ühendust."
1023
 
1024
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:161
1025
+ #: payment-gateway/class-sv-wc-payment-gateway.php:503
1026
  msgid "Card expiration date is invalid"
1027
  msgstr "Kaardi aegumiskuupäev ei ole korrektne"
1028
 
1029
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:185
1030
+ #: payment-gateway/class-sv-wc-payment-gateway.php:496
1031
  msgid "Card number is missing"
1032
  msgstr "Kaardi number on puudu"
1033
 
1034
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:191
1035
+ #: payment-gateway/class-sv-wc-payment-gateway.php:499
1036
  msgid "Card number is invalid (wrong length)"
1037
  msgstr "Kaardi number ei ole korrektne (pikkus on vale)"
1038
 
1039
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:196
1040
+ #: payment-gateway/class-sv-wc-payment-gateway.php:498
1041
  msgid "Card number is invalid (only digits allowed)"
1042
  msgstr "Kaardi number ei ole korrektne (lubatud on ainult numbrid)"
1043
 
1044
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:201
1045
+ #: payment-gateway/class-sv-wc-payment-gateway.php:497
1046
  msgid "Card number is invalid"
1047
  msgstr "Kaardi number ei ole korrektne"
1048
 
1049
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:228
1050
+ #: payment-gateway/class-sv-wc-payment-gateway.php:501
1051
  msgid "Card security code is invalid (only digits are allowed)"
1052
  msgstr "Kaardi turvakood ei ole korrektne (lubatud on ainult numbrid)"
1053
 
1054
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:234
1055
+ #: payment-gateway/class-sv-wc-payment-gateway.php:502
1056
  msgid "Card security code is invalid (must be 3 or 4 digits)"
1057
  msgstr "Kaardi turvakood ei ole korrektne (peab olema 3 või 4 numbrit)"
1058
 
1059
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:240
1060
+ #: payment-gateway/class-sv-wc-payment-gateway.php:500
1061
  msgid "Card security code is missing"
1062
  msgstr "Kaardi turvakood on puudu"
1063
 
1064
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:267
1065
+ #: payment-gateway/class-sv-wc-payment-gateway.php:512
1066
  msgid "Routing Number is missing"
1067
  msgstr "Suunakood on puudu"
1068
 
1069
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:274
1070
+ #: payment-gateway/class-sv-wc-payment-gateway.php:513
1071
  msgid "Routing Number is invalid (only digits are allowed)"
1072
  msgstr "Suunakood ei ole korrektne (lubatud on ainult numbrid)"
1073
 
1074
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:280
1075
+ #: payment-gateway/class-sv-wc-payment-gateway.php:514
1076
  msgid "Routing number is invalid (must be 9 digits)"
1077
  msgstr "Suunakood ei ole korrektne (peab olemas 9 numbrit)"
1078
 
1079
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:289
1080
+ #: payment-gateway/class-sv-wc-payment-gateway.php:509
1081
  msgid "Account Number is missing"
1082
  msgstr "Konto number on puudu"
1083
 
1084
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:296
1085
+ #: payment-gateway/class-sv-wc-payment-gateway.php:510
1086
  msgid "Account Number is invalid (only digits are allowed)"
1087
  msgstr "Konto number ei ole korrektne (lubatud on ainult numbrid)"
1088
 
1089
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:302
1090
+ #: payment-gateway/class-sv-wc-payment-gateway.php:511
1091
  msgid "Account number is invalid (must be between 5 and 17 digits)"
1092
  msgstr "Konto number ei ole korrektne (peab olemas 5-17 numbrit)"
1093
 
1094
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:309
1095
+ #: payment-gateway/class-sv-wc-payment-gateway.php:508
1096
  msgid "Drivers license number is invalid"
1097
  msgstr "Juhiloa number ei ole korrektne"
1098
 
1099
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:315
1100
+ #: payment-gateway/class-sv-wc-payment-gateway.php:504
1101
  msgid "Check Number is invalid (only digits are allowed)"
1102
  msgstr "Tšeki number ei ole korrektne (lubatud on ainult numbrid)"
1103
 
1114
  #. translators: Placeholders: %1$s - payment method title, %2$s - payment
1115
  #. account type (savings/checking) (may or may not be available), %3$s - last
1116
  #. four digits of the account
1117
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:673
1118
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2741
1119
  msgid "%1$s Check Transaction Approved: %2$s account ending in %3$s"
1120
  msgstr "%1$s: tšeki tehing vastu võetud: %2$s konto, lõpeb numbritega %3$s"
1121
 
1122
  #. translators: Placeholders: %s - check number
1123
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:678
1124
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2746
1125
  msgid "Check number %s"
1126
  msgstr "Tšeki number %s"
1127
 
1128
  #. translators: Placeholders: %1$s - payment method title, %2$s - environment
1129
  #. ("Test"), %3$s - transaction type (authorization/charge), %4$s - card type
1130
  #. (mastercard, visa, ...), %5$s - last four digits of the card
1131
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:747
1132
  #, fuzzy
1133
  msgid "%1$s %2$s %3$s Approved: %4$s ending in %5$s"
1134
  msgstr "%1$s %2$s: %3$s kinnitatud: %4$s lõpeb numbritega %5$s (aegub %6$s)"
1135
 
1136
  #. translators: Placeholders: %s - expiry date
1137
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:760
1138
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:714
1139
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2698
1140
  msgid "(expires %s)"
1141
  msgstr "(aegub %s)"
1142
 
1143
  #. translators: Placeholders: %s - failure message
1144
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:832
1145
  msgid "Tokenization Request Failed: %s"
1146
  msgstr "Maksevahendi salvestamise päring ebaõnnestus: %s"
1147
 
1148
  #. translators: Placeholders: %1$s - payment method title, %2$s - failure
1149
  #. message
1150
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:843
1151
  msgid "%1$s Tokenization Request Failed: %2$s"
1152
  msgstr "%1$s: maksevahendi salvestamise päring ebaõnnestus: %2$s"
1153
 
1154
  #. translators: Placeholders: %s - failure message. Payment method as in a
1155
  #. specific credit card, e-check or bank account
1156
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:901
1157
  msgid "Oops, adding your new payment method failed: %s"
1158
  msgstr "Oih, sinu maksevahendi lisamine ebaõnnestus: %s"
1159
 
1160
  #. translators: Payment method as in a specific credit card. Placeholders: %1$s
1161
  #. - card type (visa, mastercard, ...), %2$s - last four digits of the card,
1162
  #. %3$s - card expiry date
1163
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:946
1164
  msgid "Nice! New payment method added: %1$s ending in %2$s (expires %3$s)"
1165
  msgstr ""
1166
  "Lahe! Uus maksevahend lisatud: %1$s, lõpeb numbritega %2$s (aegub %3$s)"
1168
  #. translators: Payment method as in a specific e-check account. Placeholders:
1169
  #. %1$s - account type (checking/savings), %2$s - last four digits of the
1170
  #. account
1171
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:956
1172
  msgid "Nice! New payment method added: %1$s account ending in %2$s"
1173
  msgstr "Lahe! Uus maksevahend lisatud: %1$s konto, lõpeb numbritega %2$s"
1174
 
1175
  #. translators: Payment method as in a specific credit card, e-check or bank
1176
  #. account
1177
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:963
1178
  msgid "Nice! New payment method added."
1179
  msgstr "Lahe! Uus maksevahend lisatud."
1180
 
1181
  #. translators: Placeholders: %1$s - site title, %2$s - customer email. Payment
1182
  #. method as in a specific credit card, e-check or bank account
1183
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1086
1184
  msgid "%1$s - Add Payment Method for %2$s"
1185
  msgstr "%1$s - Lisa maksevahend kliendile %2$s"
1186
 
1226
  #. account, etc), %3$s - last four digits of the card/account, %4$s -
1227
  #. card/account expiry date
1228
  #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:597
1229
+ #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:1115
1230
  msgid "%1$s Payment Method Saved: %2$s ending in %3$s (expires %4$s)"
1231
  msgstr ""
1232
  "%1$s: maksevahend salvestatud: %2$s lõpeb numbritega in %3$s (aegub %4$s)"
1235
  #. NETbilling, etc), %2$s - account type (checking/savings - may or may not be
1236
  #. available), %3$s - last four digits of the account
1237
  #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:608
1238
+ #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:1126
1239
  msgid "%1$s eCheck Payment Method Saved: %2$s account ending in %3$s"
1240
  msgstr ""
1241
  "%1$s: e-tšeki maksevahend salvestatud: %2$s konto, lõpeb numbritega %3$s"
1253
  msgid "Tokenization failed. %s"
1254
  msgstr "Maksevahendi salvestamise päring ebaõnnestus: %s"
1255
 
1256
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:293
1257
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:607
1258
  msgid "Edit"
1259
  msgstr ""
1260
 
1261
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:337
1262
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1269
1263
+ msgid "Title"
1264
+ msgstr "Nimetus"
1265
+
1266
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:340
1267
+ msgid "Details"
1268
+ msgstr ""
1269
+
1270
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:343
1271
+ #, fuzzy
1272
+ msgid "Default?"
1273
+ msgstr "(vaikimisi)"
1274
+
1275
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:609
1276
  #, fuzzy
1277
  msgid ""
1278
  "Oops, there was an error updating your payment method. Please try again."
1279
  msgstr "Sinu päringuga esines viga, palun proovi uuesti."
1280
 
1281
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:610
1282
  msgid "Are you sure you want to delete this payment method?"
1283
  msgstr "Oled sa kindel, et soovid selle maksevahendi kustutada?"
1284
 
1285
  #. translators: Payment method as in a specific credit card, eCheck or bank
1286
  #. account
1287
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:697
1288
  msgid "You do not have any saved payment methods."
1289
  msgstr "Sul ei ole salvestatud maksevahendeid."
1290
 
1291
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:872
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1292
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:200
1293
  msgid "Nickname"
1294
  msgstr ""
1295
 
1296
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:1118
 
 
 
 
1297
  msgid "Oops, you took too long, please try again."
1298
  msgstr "Oih, sul läks liiga kaua aega - palun proovi uuesti."
1299
 
1300
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:1129
1301
  msgid "There was an error with your request, please try again."
1302
  msgstr "Sinu päringuga esines viga, palun proovi uuesti."
1303
 
1304
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:340
 
 
 
 
 
 
 
 
 
 
 
 
1305
  msgid "Card Number"
1306
  msgstr "Kaardi number"
1307
 
1308
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:361
1309
  msgid "MM / YY"
1310
  msgstr "KK / AA"
1311
 
1312
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:380
1313
  msgid "Card Security Code"
1314
  msgstr "Kaardi turvakood"
1315
 
1316
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:383
1317
  msgid "CSC"
1318
  msgstr "Turvakood"
1319
 
1320
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:423
1321
  msgid "Where do I find this?"
1322
  msgstr "Kust ma selle leian?"
1323
 
1324
  #. translators: e-check routing number, HTML form field label,
1325
  #. https:en.wikipedia.org/wiki/Routing_transit_number
1326
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:429
1327
  msgid "Routing Number"
1328
  msgstr "Suunakood"
1329
 
1330
  #. translators: e-check account number, HTML form field label
1331
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:448
1332
  msgid "Account Number"
1333
  msgstr "Kontonumber"
1334
 
1335
  #. translators: Test mode refers to the current software environment
1336
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:514
1337
  msgid "TEST MODE ENABLED"
1338
  msgstr "TESTREŽIIM SISSE LÜLITATUD"
1339
 
1340
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:541
1341
  #, fuzzy
1342
  msgid "Sample Check"
1343
  msgstr "E-tšekk"
1344
 
1345
  #. translators: Payment method as in a specific credit card, eCheck or bank
1346
  #. account
1347
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:616
1348
  msgid "Manage Payment Methods"
1349
  msgstr "Halda maksevahendeid"
1350
 
1351
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:753
1352
  msgid "Use a new card"
1353
  msgstr "Kasuta uut kaarti"
1354
 
1355
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:753
1356
  msgid "Use a new bank account"
1357
  msgstr "Kasuta uut pangakontot"
1358
 
1359
  #. translators: account as in customer's account on the eCommerce site
1360
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:816
1361
  msgid "Securely Save to Account"
1362
  msgstr "Salvesta turvaliselt oma kontole"
1363
 
1364
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:950
1365
  #, fuzzy
1366
  msgid "Payment Info"
1367
  msgstr "Maksevahendid"
1368
 
1369
  #. translators: Placeholders: %1$s - plugin name, %2$s - <a> tag, %3$s - </a>
1370
  #. tag
1371
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:706
1372
  #, fuzzy
1373
  msgid ""
1374
  "%1$s: WooCommerce is not being forced over SSL; your customers' payment data "
1378
  "olla ohus."
1379
 
1380
  #. translators: Placeholders: %s - payment gateway name
1381
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:723
1382
  msgid ""
1383
  "%s will soon require TLS 1.2 support to process transactions and your server "
1384
  "environment may need to be updated. Please contact your hosting provider to "
1388
 
1389
  #. translators: Placeholders: %1$s - plugin name, %2$s - a
1390
  #. currency/comma-separated list of currencies, %3$s - <a> tag, %4$s - </a> tag
1391
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:779
1392
  msgid ""
1393
  "%1$s accepts payment in %2$s only. %3$sConfigure%4$s WooCommerce to accept "
1394
  "%2$s to enable this gateway for checkout."
1400
 
1401
  #. translators: Placeholders: %1$s - payment gateway name, %2$s - opening <a>
1402
  #. tag, %3$s - closing </a> tag
1403
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:814
1404
  msgid ""
1405
  "Heads up! %1$s is currently configured to log transaction data for debugging "
1406
  "purposes. If you are not experiencing any problems with payment processing, "
1407
  "we recommend %2$sturning off Debug Mode%3$s"
1408
  msgstr ""
1409
 
1410
+ #. translators: Placeholders: %s - gateway name
1411
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:865
1412
+ msgid "%s is not configured"
1413
+ msgstr ""
1414
+
1415
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:877
1416
+ msgid "Dismiss"
1417
+ msgstr "Loobu"
1418
+
1419
  #. translators: Placeholders: %1$s - plugin name, %2$s - opening <a> HTML link
1420
  #. tag, %3$s - closing </a> HTML link tag
1421
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:914
1422
  msgid ""
1423
  "Heads up! Apple Pay for %1$s requires WooCommerce version 3.2 or greater. "
1424
  "Please %2$supdate WooCommerce%3$s."
1425
  msgstr ""
1426
 
1427
+ #. translators: Placeholders: %1$s - plugin name, %2$s - opening <a> HTML link
1428
+ #. tag, %3$s - closing </a> HTML link tag
1429
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:938
1430
+ msgid ""
1431
+ "Heads up! Google Pay for %1$s requires WooCommerce version 3.2 or greater. "
1432
+ "Please %2$supdate WooCommerce%3$s."
1433
+ msgstr ""
1434
+
1435
  #. translators: Placeholders: %1$s - payment gateway title (such as
1436
  #. Authorize.net, Braintree, etc), %2$s - <a> tag, %3$s - </a> tag
1437
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:974
1438
  msgid ""
1439
  "%1$s is inactive for subscription transactions. Please %2$senable "
1440
  "tokenization%3$s to activate %1$s for Subscriptions."
1445
 
1446
  #. translators: Placeholders: %1$s - payment gateway title (such as
1447
  #. Authorize.net, Braintree, etc), %2$s - <a> tag, %3$s - </a> tag
1448
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:992
1449
  msgid ""
1450
  "%1$s is inactive for pre-order transactions. Please %2$senable tokenization"
1451
  "%3$s to activate %1$s for Pre-Orders."
1454
  "maksevahendite salvestamine%3$s sisse, et aktiveerida %1$s Eeltellimuste "
1455
  "(Pre-Orders) jaoks."
1456
 
1457
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:1029
1458
  msgid ""
1459
  "You must enable tokenization for this gateway in order to support automatic "
1460
  "renewal payments with the WooCommerce Subscriptions extension."
1461
  msgstr ""
1462
 
1463
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:1030
1464
  msgid "Inactive"
1465
  msgstr ""
1466
 
1483
  msgid "Expiry Date"
1484
  msgstr "Aegumiskuupäev (01/%s)"
1485
 
1486
+ #: payment-gateway/class-sv-wc-payment-gateway.php:350
1487
  msgid "you successfully processed a payment!"
1488
  msgstr ""
1489
 
1490
+ #: payment-gateway/class-sv-wc-payment-gateway.php:355
1491
  msgid "you successfully processed a refund!"
1492
  msgstr ""
1493
 
1494
+ #: payment-gateway/class-sv-wc-payment-gateway.php:505
1495
  msgid "Check Number is missing"
1496
  msgstr "Tšeki number on puudu"
1497
 
1498
+ #: payment-gateway/class-sv-wc-payment-gateway.php:506
1499
  msgid "Drivers license state is missing"
1500
  msgstr "Juhiloa osariik on puudu"
1501
 
1502
+ #: payment-gateway/class-sv-wc-payment-gateway.php:507
1503
  msgid "Drivers license number is missing"
1504
  msgstr "Juhiloa number on puudu"
1505
 
1506
+ #: payment-gateway/class-sv-wc-payment-gateway.php:720
1507
  msgid "Continue to Payment"
1508
  msgstr ""
1509
 
1510
+ #: payment-gateway/class-sv-wc-payment-gateway.php:720
1511
  msgid "Place order"
1512
  msgstr "Esita tellimus"
1513
 
1514
+ #: payment-gateway/class-sv-wc-payment-gateway.php:752
1515
  msgid "Thank you for your order."
1516
  msgstr "Aitäh tellimuse eest."
1517
 
1518
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1221
1519
  msgid "Credit Card"
1520
  msgstr "Krediitkaart"
1521
 
1522
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1223
1523
  msgid "eCheck"
1524
  msgstr "E-tšekk"
1525
 
1526
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1241
1527
  msgid "Pay securely using your credit card."
1528
  msgstr "Maksa turvaliselt oma krediitkaardiga."
1529
 
1530
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1243
1531
  msgid "Pay securely using your checking account."
1532
  msgstr "Maksa turvaliselt oma tšekikontoga."
1533
 
1534
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1263
1535
  msgid "Enable this gateway"
1536
  msgstr "Lülita see makseviis sisse"
1537
 
1538
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1271
 
 
 
 
1539
  msgid "Payment method title that the customer will see during checkout."
1540
  msgstr "Kliendile kassas nähtav makseviisi nimetus."
1541
 
1542
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1276
1543
  msgid "Description"
1544
  msgstr "Kirjeldus"
1545
 
1546
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1278
1547
  msgid "Payment method description that the customer will see during checkout."
1548
  msgstr "Kliendile kassas nähtav makseviisi kirjeldus."
1549
 
1550
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1307
1551
  msgid "Detailed Decline Messages"
1552
  msgstr "Täpsemad maksest keeldumise teated"
1553
 
1554
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1309
1555
  msgid ""
1556
  "Check to enable detailed decline messages to the customer during checkout "
1557
  "when possible, rather than a generic decline message."
1560
  "teate asemel näidata võimaluse korral täpsemaid põhjusi."
1561
 
1562
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
1563
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1319
1564
  msgid ""
1565
  "Show Detailed Error Messages and API requests/responses on the checkout page "
1566
  "and/or save them to the %1$sdebug log%2$s"
1568
  "Näita üksikasjalikke veateateud ja API päringuid/vastuseid kassas ja/või "
1569
  "salvesta need %1$slogifaili%2$s"
1570
 
1571
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1323
1572
  msgid "Show on Checkout Page"
1573
  msgstr "Näita kassas"
1574
 
1575
  #. translators: show debugging information on both checkout page and in the log
1576
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1326
1577
  msgid "Both"
1578
  msgstr "Mõlemad"
1579
 
1580
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1392
1581
  msgid "Select the gateway environment to use for transactions."
1582
  msgstr "Vali makseviisi tehingute teostamise keskkond."
1583
 
1584
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1446
1585
  msgid "Share connection settings"
1586
  msgstr "Jaga ühenduse andmeid"
1587
 
1588
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1448
1589
  msgid "Use connection/authentication settings from other gateway"
1590
  msgstr "Kasuta teise makseviisi ühenduse/autentimise seadeid"
1591
 
1592
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1451
1593
  msgid "Disabled because the other gateway is using these settings"
1594
  msgstr "Ei saa muuta, kuna teine makseviis kasutab neid seadeid"
1595
 
1596
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1468
1597
  msgid "Card Verification (CSC)"
1598
  msgstr "Kaardi turvakood (CSC)"
1599
 
1600
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1469
1601
  msgid "Display the Card Security Code (CV2) field on checkout"
1602
  msgstr "Näita kassas kaardi turvakoodi (CV2) välja"
1603
 
1604
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1477
1605
  #, fuzzy
1606
  msgid "Saved Card Verification"
1607
  msgstr "Kaardi turvakood (CSC)"
1608
 
1609
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1478
1610
  #, fuzzy
1611
  msgid "Display the Card Security Code field when paying with a saved card"
1612
  msgstr "Näita kassas kaardi turvakoodi (CV2) välja"
1613
 
1614
  #. translators: Placeholders: %1$s - site title, %2$s - order number
1615
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1813
1616
  msgid "%1$s - Order %2$s"
1617
  msgstr "%1$s - Tellimus %2$s"
1618
 
1619
  #. translators: Placeholders: %1$s - site title, %2$s - order number.
1620
  #. Definitions: Capture as in capture funds from a credit card.
1621
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1942
1622
  msgid "%1$s - Capture for Order %2$s"
1623
  msgstr "%1$s - Tasumine tellimuse %2$s eest"
1624
 
1625
  #. translators: Placeholders: %1$s - site title, %2$s - order number
1626
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2085
1627
  msgid "%1$s - Refund for Order %2$s"
1628
  msgstr "%1$s - Tagasimakse tellimuse %2$s eest"
1629
 
1630
  #. translators: Placeholders: %1$s - payment gateway title (such as
1631
  #. Authorize.net, Braintree, etc), %2$s - a monetary amount
1632
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2152
1633
  msgid "%1$s Refund in the amount of %2$s approved."
1634
  msgstr "%1$s: tagasimakse summas %2$s kinnitatud."
1635
 
1636
  #. translators: Placeholders: %1$s - payment gateway title (such as
1637
  #. Authorize.net, Braintree, etc), %2$s - error code, %3$s - error message
1638
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2182
1639
  msgid "%1$s Refund Failed: %2$s - %3$s"
1640
  msgstr "%1$s: tagasimakse ebaõnnestus: %2$s - %3$s"
1641
 
1642
  #. translators: Placeholders: %1$s - payment gateway title (such as
1643
  #. Authorize.net, Braintree, etc), %2$s - error message
1644
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2190
1645
  msgid "%1$s Refund Failed: %2$s"
1646
  msgstr "%1$s: tagasimakse ebaõnnestus: %2$s"
1647
 
1648
  #. translators: Placeholders: %s - payment gateway title (such as
1649
  #. Authorize.net, Braintree, etc)
1650
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2211
1651
  msgid "%s Order completely refunded."
1652
  msgstr "%s: tellimus täielikult tagasi makstud."
1653
 
1654
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2266
1655
  msgid ""
1656
  "Oops, you cannot partially void this order. Please use the full order amount."
1657
  msgstr ""
1660
 
1661
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error code,
1662
  #. %3$s - error message. Void as in to void an order.
1663
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2353
1664
  msgid "%1$s Void Failed: %2$s - %3$s"
1665
  msgstr "%1$s: tühistamine ebaõnnestus: %2$s - %3$s"
1666
 
1667
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1668
  #. message. Void as in to void an order.
1669
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2361
1670
  msgid "%1$s Void Failed: %2$s"
1671
  msgstr "%1$s: tühistamine ebaõnnestus: %2$s"
1672
 
1673
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - a monetary
1674
  #. amount. Void as in to void an order.
1675
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2385
1676
  msgid "%1$s Void in the amount of %2$s approved."
1677
  msgstr "%1$s: tühistamine summas %2$s kinnitatud."
1678
 
1679
  #. translators: Placeholders: %1$s - payment method title, %2$s - environment
1680
  #. ("Test"), %3$s - transaction type (authorization/charge)
1681
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2677
1682
  #, fuzzy
1683
  msgid "%1$s %2$s %3$s Approved"
1684
  msgstr "%1$s: %2$s tehing kinnitatud"
1685
 
1686
  #. translators: Placeholders: %1$s - credit card type (MasterCard, Visa,
1687
  #. etc...), %2$s - last four digits of the card
1688
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2687
1689
  msgid "%1$s ending in %2$s"
1690
  msgstr ""
1691
 
1692
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - message
1693
  #. (probably reason for the transaction being held for review)
1694
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2783
1695
  msgid "%1$s Transaction Held for Review (%2$s)"
1696
  msgstr "%1$s: tehning pandi ülevaatuseks ootele (%2$s)"
1697
 
1698
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1699
  #. message; e.g. Order Note: [Payment method] Payment failed [error]
1700
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2872
1701
  msgid "%1$s Payment Failed (%2$s)"
1702
  msgstr "%1$s: makse ebaõnnestus (%2$s)"
1703
 
1704
  #. translators: Placeholders: %1$s - payment gateway title, %2$s -
1705
  #. message/error
1706
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2907
1707
  msgid "%1$s Transaction Cancelled (%2$s)"
1708
  msgstr "%1$s: tehing tühistatud (%2$s)"
1709
 
1710
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3155
1711
  msgid "Transaction Type"
1712
  msgstr "Tehingu tüüp"
1713
 
1714
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3157
1715
  msgid ""
1716
  "Select how transactions should be processed. Charge submits all transactions "
1717
  "for settlement, Authorization simply authorizes the order total for capture "
1721
  "koheselt tasumisele, \"Autoriseerimine\" lihtsalt autoriseerib tellimuse "
1722
  "summa hilisemaks tasumiseks."
1723
 
1724
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3168
1725
  msgid "Charge Virtual-Only Orders"
1726
  msgstr ""
1727
 
1728
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3170
1729
  msgid ""
1730
  "If the order contains exclusively virtual items, enable this to immediately "
1731
  "charge, rather than authorize, the transaction."
1732
  msgstr ""
1733
 
1734
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3178
1735
  #, fuzzy
1736
  msgid "Enable Partial Capture"
1737
  msgstr "Lülita see makseviis sisse"
1738
 
1739
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3180
1740
  msgid "Allow orders to be partially captured multiple times."
1741
  msgstr ""
1742
 
1743
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3192
1744
  #, fuzzy
1745
  msgid "Capture Paid Orders"
1746
  msgstr "Teosta makse"
1747
 
1748
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3195
1749
  msgid "Automatically capture orders when they are changed to %s."
1750
  msgstr ""
1751
 
1752
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3196
1753
  msgid "a paid status"
1754
  msgstr ""
1755
 
1756
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3386
1757
  #, fuzzy
1758
  msgid "Accepted Card Logos"
1759
  msgstr "Vastuvõetavad kaardid"
1760
 
1761
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3388
1762
  #, fuzzy
1763
  msgid ""
1764
  "These are the card logos that are displayed to customers as accepted during "
1766
  msgstr "Kliendile kassas nähtav makseviisi nimetus."
1767
 
1768
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag
1769
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3391
1770
  msgid ""
1771
  "This setting %1$sdoes not%2$s change which card types the gateway will "
1772
  "accept. Accepted cards are configured from your payment processor account."
1775
  #. translators:
1776
  #. http:www.cybersource.com/products/payment_security/payment_tokenization/ and
1777
  #. https:en.wikipedia.org/wiki/Tokenization_(data_security)
1778
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3482
1779
  msgid "Tokenization"
1780
  msgstr "Maksevahendite salvestamine"
1781
 
1782
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3483
1783
  msgid ""
1784
  "Allow customers to securely save their payment details for future checkout."
1785
  msgstr ""
1788
 
1789
  #. translators: %1$s - gateway name, %2$s - <a> tag, %3$s - </a> tag, %4$s -
1790
  #. <a> tag, %5$s - </a> tag
1791
+ #: payment-gateway/class-sv-wc-payment-gateway.php:4302
1792
  msgid ""
1793
  "Heads up! %1$s is not fully configured and cannot accept payments. Please "
1794
  "%2$sreview the documentation%3$s and configure the %4$sgateway settings%5$s."
1818
  msgid "Pre-Order Release Payment Failed: %s"
1819
  msgstr "Eeltellimuse väljastamise makse ebaõnnestus: %s"
1820
 
1821
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:349
1822
  msgid "Subscription Renewal: payment token is missing/invalid."
1823
  msgstr ""
1824
 
1825
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:375
1826
  msgid "%1$s - Subscription Renewal Order %2$s"
1827
  msgstr ""
1828
 
1829
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1830
  #. message; e.g. Order Note: [Payment method] Payment Change failed [error]
1831
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:507
1832
  #, fuzzy
1833
  msgid "%1$s Payment Change Failed (%2$s)"
1834
  msgstr "%1$s: makse ebaõnnestus (%2$s)"
1835
 
1836
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:650
1837
  msgid "Via %s ending in %s"
1838
  msgstr ""
1839
 
1840
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:677
1841
  msgid "Subscriptions"
1842
  msgstr ""
1843
 
1844
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:738
1845
+ msgid "N/A"
1846
+ msgstr "-"
 
 
1847
 
1848
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:837
1849
  msgid "Payment Token"
1850
  msgstr ""
1851
 
1852
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:866
1853
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:871
1854
  msgid "%s is required."
1855
  msgstr ""
1856
 
1857
+ #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:181
1858
  msgid "Unknown Error"
1859
  msgstr "Esines tundmatu viga"
1860
 
1861
+ #: rest-api/Controllers/Settings.php:83
1862
+ msgid "Unique identifier for the resource."
1863
+ msgstr ""
1864
+
1865
+ #: rest-api/Controllers/Settings.php:118
1866
+ msgid "Sorry, you cannot list resources."
1867
+ msgstr ""
1868
+
1869
+ #. translators: Placeholder: %s - setting ID
1870
+ #: rest-api/Controllers/Settings.php:167
1871
+ msgid "Setting %s does not exist"
1872
+ msgstr ""
1873
+
1874
+ #: rest-api/Controllers/Settings.php:190
1875
+ msgid "Sorry, you cannot edit this resource."
1876
+ msgstr ""
1877
+
1878
+ #: rest-api/Controllers/Settings.php:223
1879
+ msgid "Could not update setting: %s"
1880
+ msgstr ""
1881
+
1882
+ #: rest-api/Controllers/Settings.php:293
1883
+ msgid "Unique identifier of the setting."
1884
+ msgstr ""
1885
+
1886
+ #: rest-api/Controllers/Settings.php:299
1887
+ msgid "The type of the setting."
1888
+ msgstr ""
1889
+
1890
+ #: rest-api/Controllers/Settings.php:306
1891
+ msgid "The name of the setting."
1892
+ msgstr ""
1893
+
1894
+ #: rest-api/Controllers/Settings.php:312
1895
+ msgid "The description of the setting. It may or may not be used for display."
1896
+ msgstr ""
1897
+
1898
+ #: rest-api/Controllers/Settings.php:318
1899
+ msgid "Whether the setting stores an array of values or a single value."
1900
+ msgstr ""
1901
+
1902
+ #: rest-api/Controllers/Settings.php:324
1903
+ msgid "A list of valid options, used for validation before storing the value."
1904
+ msgstr ""
1905
+
1906
+ #: rest-api/Controllers/Settings.php:330
1907
+ msgid "Optional default value for the setting."
1908
+ msgstr ""
1909
+
1910
+ #: rest-api/Controllers/Settings.php:336
1911
+ msgid "The value of the setting."
1912
+ msgstr ""
1913
+
1914
+ #: rest-api/Controllers/Settings.php:341
1915
+ msgid ""
1916
+ "Optional object that defines how the user will interact with and update the "
1917
+ "setting."
1918
+ msgstr ""
1919
+
1920
+ #: rest-api/Controllers/Settings.php:345
1921
+ msgid "The type of the control."
1922
+ msgstr ""
1923
+
1924
+ #: rest-api/Controllers/Settings.php:352
1925
+ msgid "The name of the control. Inherits the setting's name."
1926
+ msgstr ""
1927
+
1928
+ #: rest-api/Controllers/Settings.php:358
1929
+ msgid "The description of the control. Inherits the setting's description."
1930
+ msgstr ""
1931
+
1932
+ #: rest-api/Controllers/Settings.php:364
1933
+ msgid ""
1934
+ "A list of key/value pairs defining the display value of each setting option. "
1935
+ "The keys should match the options defined in the base setting for validation."
1936
+ msgstr ""
1937
+
1938
  #: utilities/class-sv-wp-background-job-handler.php:644
1939
  msgid "Job data key \"%s\" not set"
1940
  msgstr ""
2022
  msgid "Searching&hellip;"
2023
  msgstr ""
2024
 
2025
+ #: class-sv-wc-helper.php:410
2026
  msgctxt "coordinating conjunction for a list of items: a, b, and c"
2027
  msgid "and"
2028
  msgstr ""
2029
 
2030
+ #: class-sv-wc-plugin.php:663
2031
  msgctxt "noun"
2032
  msgid "Support"
2033
  msgstr "Kasutajatugi"
2034
 
2035
+ #: class-sv-wc-plugin.php:668
2036
  msgctxt "verb"
2037
  msgid "Review"
2038
  msgstr ""
2039
 
2040
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:749
2041
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2679
2042
  msgctxt "noun, software environment"
2043
  msgid "Test"
2044
  msgstr "test"
2045
 
2046
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:750
2047
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2680
2048
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3161
2049
  msgctxt "credit card transaction type"
2050
  msgid "Authorization"
2051
  msgstr "Autoriseerimine"
2052
 
2053
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:750
2054
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2680
2055
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3160
2056
  msgctxt "noun, credit card transaction type"
2057
  msgid "Charge"
2058
  msgstr "Makse"
2063
  msgstr "Konto"
2064
 
2065
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:229
2066
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3419
2067
  msgctxt "credit card type"
2068
  msgid "Visa"
2069
  msgstr "Visa"
2070
 
2071
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:233
2072
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3420
2073
  msgctxt "credit card type"
2074
  msgid "MasterCard"
2075
  msgstr "MasterCard"
2076
 
2077
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:237
2078
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3421
2079
  msgctxt "credit card type"
2080
  msgid "American Express"
2081
  msgstr "American Express"
2086
  msgstr ""
2087
 
2088
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:245
2089
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3422
2090
  msgctxt "credit card type"
2091
  msgid "Discover"
2092
  msgstr "Discover"
2093
 
2094
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:249
2095
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3424
2096
  msgctxt "credit card type"
2097
  msgid "JCB"
2098
  msgstr "JCB"
2112
  msgid "Laser"
2113
  msgstr ""
2114
 
2115
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3423
2116
  msgctxt "credit card type"
2117
  msgid "Diners"
2118
  msgstr "Diners"
2119
 
2120
  #. translators: http:www.investopedia.com/terms/c/checkingaccount.asp
2121
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:474
2122
  msgctxt "account type"
2123
  msgid "Checking"
2124
  msgstr "Tšekikonto"
2125
 
2126
  #. translators: http:www.investopedia.com/terms/s/savingsaccount.asp
2127
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:476
2128
  msgctxt "account type"
2129
  msgid "Savings"
2130
  msgstr "Hoiuarve"
2131
 
2132
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2460
2133
  msgctxt "hash before order number"
2134
  msgid "#"
2135
  msgstr "#"
2136
 
2137
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:732
2138
  msgctxt "hash before order number"
2139
  msgid "#%s"
2140
  msgstr ""
2141
 
2142
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3189
2143
  msgctxt ""
2144
  "coordinating conjunction for a list of order statuses: on-hold, processing, "
2145
  "or completed"
2147
  msgstr ""
2148
 
2149
  #. translators: https:www.skyverge.com/for-translators-environments/
2150
+ #: payment-gateway/class-sv-wc-payment-gateway.php:4028
2151
  msgctxt "software environment"
2152
  msgid "Production"
2153
  msgstr "Töö/avalik"
2154
 
2155
+ #~ msgid "My Payment Methods"
2156
+ #~ msgstr "Minu maksevahendid."
2157
+
2158
+ #~ msgid "Add New Payment Method"
2159
+ #~ msgstr "Lisa uus maksevahend"
2160
+
2161
+ #~ msgid "Method"
2162
+ #~ msgstr "Maksevahend"
2163
+
2164
+ #~ msgid "Expires"
2165
+ #~ msgstr "Aegub"
2166
+
2167
+ #~ msgid "Credit/Debit Cards"
2168
+ #~ msgstr "Deebet- ja krediitkaardid"
2169
+
2170
+ #~ msgid "Bank Accounts"
2171
+ #~ msgstr "Pangakontod"
2172
+
2173
+ #~ msgid "Delete"
2174
+ #~ msgstr "Kustuta"
2175
+
2176
+ #~ msgid "Error removing payment method"
2177
+ #~ msgstr "Viga maksevahendi eemaldamisel"
2178
+
2179
+ #~ msgid "Payment method deleted."
2180
+ #~ msgstr "Maksevahend kustutatud."
2181
+
2182
  #, fuzzy
2183
  #~ msgid "Pay with"
2184
  #~ msgstr "Maksa"
2186
  #~ msgid "%1$s Capture Failed: %2$s - %3$s"
2187
  #~ msgstr "%1$s: tasumine ebaõnnestus: %2$s - %3$s"
2188
 
 
 
 
2189
  #~ msgid "(check number %s)"
2190
  #~ msgstr "(tšeki number %s)"
2191
 
vendor/skyverge/wc-plugin-framework/woocommerce/i18n/languages/woocommerce-plugin-framework.pot CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: WooCommerce Plugin Framework 5.5.4\n"
6
  "Report-Msgid-Bugs-To: https://support.woocommerce.com/hc/\n"
7
  "POT-Creation-Date: 2015-07-22 12:09:16+00:00\n"
8
  "MIME-Version: 1.0\n"
@@ -12,27 +12,27 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: Lifecycle.php:377
16
  msgid "Awesome"
17
  msgstr ""
18
 
19
- #: Lifecycle.php:378
20
  msgid "Fantastic"
21
  msgstr ""
22
 
23
- #: Lifecycle.php:379
24
  msgid "Cowabunga"
25
  msgstr ""
26
 
27
- #: Lifecycle.php:380
28
  msgid "Congratulations"
29
  msgstr ""
30
 
31
- #: Lifecycle.php:381
32
  msgid "Hot dog"
33
  msgstr ""
34
 
35
- #: Lifecycle.php:388
36
  #. translators: Placeholders: %1$s - plugin name, %2$s - <a> tag, %3$s - </a>
37
  #. tag, %4$s - <a> tag, %5$s - </a> tag
38
  msgid ""
@@ -173,7 +173,7 @@ msgstr ""
173
  msgid "Please %1$supdate WooCommerce%2$s"
174
  msgstr ""
175
 
176
- #: class-sv-wc-plugin-compatibility.php:334
177
  msgid "WooCommerce"
178
  msgstr ""
179
 
@@ -244,7 +244,7 @@ msgstr ""
244
  msgid "You cannot unserialize instances of %s."
245
  msgstr ""
246
 
247
- #: class-sv-wc-plugin.php:563
248
  #. translators: Placeholders: %1$s - plugin name, %2$s - WooCommerce version
249
  #. number, %3$s - opening <a> HTML link tag, %4$s - closing </a> HTML link tag
250
  msgid ""
@@ -253,23 +253,246 @@ msgid ""
253
  "features."
254
  msgstr ""
255
 
256
- #: class-sv-wc-plugin.php:606
257
  #. translators: Docs as in Documentation
258
  msgid "Docs"
259
  msgstr ""
260
 
261
- #: class-sv-wc-plugin.php:699
262
  msgid "%1$s - A minimum of %2$s is required."
263
  msgstr ""
264
 
265
- #: class-sv-wc-plugin.php:708
266
  msgid "Set as %1$s - %2$s is required."
267
  msgstr ""
268
 
269
- #: class-sv-wc-plugin.php:973
 
270
  msgid "Configure"
271
  msgstr ""
272
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
273
  #: payment-gateway/Handlers/Abstract_Hosted_Payment_Handler.php:179
274
  msgid ""
275
  "There was a problem processing your order and it is being placed on hold "
@@ -277,8 +500,8 @@ msgid ""
277
  msgstr ""
278
 
279
  #: payment-gateway/Handlers/Abstract_Hosted_Payment_Handler.php:217
280
- #: payment-gateway/class-sv-wc-payment-gateway.php:2762
281
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:489
282
  msgid "An error occurred, please try again or try an alternate form of payment."
283
  msgstr ""
284
 
@@ -289,8 +512,8 @@ msgid "Could not find order %s"
289
  msgstr ""
290
 
291
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:152
292
- #: payment-gateway/class-sv-wc-payment-gateway.php:2355
293
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:165
294
  #. translators: Placeholders: %1$s - status code, %2$s - status message
295
  #. translators: Placeholders: %1$s - payment request response status code, %2$s
296
  #. - payment request response status message
@@ -298,24 +521,24 @@ msgid "Status code %1$s: %2$s"
298
  msgstr ""
299
 
300
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:155
301
- #: payment-gateway/class-sv-wc-payment-gateway.php:2358
302
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:168
303
  #. translators: Placeholders: %s - status code
304
  #. translators: Placeholders: %s - payment request response status code
305
  msgid "Status code: %s"
306
  msgstr ""
307
 
308
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:158
309
- #: payment-gateway/class-sv-wc-payment-gateway.php:2361
310
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:171
311
  #. translators: Placeholders; %s - status message
312
  #. translators: Placeholders: %s - payment request response status message
313
  msgid "Status message: %s"
314
  msgstr ""
315
 
316
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:163
317
- #: payment-gateway/class-sv-wc-payment-gateway.php:2366
318
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:178
319
  msgid "Transaction ID %s"
320
  msgstr ""
321
 
@@ -332,15 +555,15 @@ msgid "Order %s is already paid for."
332
  msgstr ""
333
 
334
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:267
335
- #: payment-gateway/class-sv-wc-payment-gateway.php:2698
336
  msgid ""
337
  "Your order has been received and is being reviewed. Thank you for your "
338
  "business."
339
  msgstr ""
340
 
341
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:274
342
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:861
343
- #: payment-gateway/class-sv-wc-payment-gateway.php:1733
344
  #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:370
345
  #. translators: This is a message describing that the transaction in question
346
  #. only performed a credit card authorization and did not capture any funds.
@@ -386,12 +609,12 @@ msgid "%1$s Capture of %2$s Approved"
386
  msgstr ""
387
 
388
  #: payment-gateway/Handlers/Capture.php:198
389
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:680
390
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:765
391
- #: payment-gateway/class-sv-wc-payment-gateway.php:2034
392
- #: payment-gateway/class-sv-wc-payment-gateway.php:2267
393
- #: payment-gateway/class-sv-wc-payment-gateway.php:2579
394
- #: payment-gateway/class-sv-wc-payment-gateway.php:2624
395
  #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:353
396
  #. translators: Placeholders: %s - transaction ID
397
  msgid "(Transaction ID %s)"
@@ -448,67 +671,67 @@ msgstr ""
448
  msgid "An error occurred. Please try again."
449
  msgstr ""
450
 
451
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:454
452
  #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:305
453
  msgid "(%s)"
454
  msgstr ""
455
 
456
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:484
457
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:667
458
  msgid "Default"
459
  msgstr ""
460
 
461
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:520
462
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:553
463
  msgid "Token ID"
464
  msgstr ""
465
 
466
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:525
467
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:300
468
  msgid "Card Type"
469
  msgstr ""
470
 
471
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:530
472
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:566
473
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:192
474
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:298
475
  msgid "Last Four"
476
  msgstr ""
477
 
478
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:537
479
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:331
480
  msgid "Expiration (MM/YY)"
481
  msgstr ""
482
 
483
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:558
484
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:438
485
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:299
486
  #. translators: e-check account type, HTML form field label
487
  msgid "Account Type"
488
  msgstr ""
489
 
490
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:561
491
  msgid "Checking"
492
  msgstr ""
493
 
494
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:562
495
  msgid "Savings"
496
  msgstr ""
497
 
498
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:663
499
  msgid "Refresh"
500
  msgstr ""
501
 
502
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:665
503
  msgid "Add New"
504
  msgstr ""
505
 
506
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:668
507
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:762
508
  msgid "Save"
509
  msgstr ""
510
 
511
- #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:691
512
  msgid "Remove"
513
  msgstr ""
514
 
@@ -518,7 +741,7 @@ msgid "%s Payment Tokens"
518
  msgstr ""
519
 
520
  #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:302
521
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:779
522
  msgid "Customer ID"
523
  msgstr ""
524
 
@@ -527,7 +750,7 @@ msgid "This section contains configuration settings for this gateway."
527
  msgstr ""
528
 
529
  #: payment-gateway/admin/views/html-admin-gateway-status.php:53
530
- #: payment-gateway/class-sv-wc-payment-gateway.php:1266
531
  #. translators: environment as in a software environment (test/production)
532
  msgid "Environment"
533
  msgstr ""
@@ -545,7 +768,7 @@ msgid "Displays whether or not tokenization is enabled for this gateway."
545
  msgstr ""
546
 
547
  #: payment-gateway/admin/views/html-admin-gateway-status.php:75
548
- #: payment-gateway/class-sv-wc-payment-gateway.php:1196
549
  msgid "Debug Mode"
550
  msgstr ""
551
 
@@ -562,12 +785,12 @@ msgid "Display at Checkout"
562
  msgstr ""
563
 
564
  #: payment-gateway/admin/views/html-admin-gateway-status.php:83
565
- #: payment-gateway/class-sv-wc-payment-gateway.php:1204
566
  msgid "Save to Log"
567
  msgstr ""
568
 
569
  #: payment-gateway/admin/views/html-admin-gateway-status.php:85
570
- #: payment-gateway/class-sv-wc-payment-gateway.php:1202
571
  msgid "Off"
572
  msgstr ""
573
 
@@ -596,7 +819,7 @@ msgid "Capture %s"
596
  msgstr ""
597
 
598
  #: payment-gateway/admin/views/html-order-partial-capture.php:66
599
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:229
600
  msgid "Cancel"
601
  msgstr ""
602
 
@@ -612,11 +835,6 @@ msgstr ""
612
  msgid "The gateway customer ID for the user. Only edit this if necessary."
613
  msgstr ""
614
 
615
- #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:99
616
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:132
617
- msgid "An error occurred, please try again or try an alternate form of payment"
618
- msgstr ""
619
-
620
  #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:100
621
  msgid ""
622
  "We cannot process your order with the payment information that you "
@@ -733,161 +951,6 @@ msgid ""
733
  "Please verify the address and try again."
734
  msgstr ""
735
 
736
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:84
737
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:102
738
- msgid "Apple Pay"
739
- msgstr ""
740
-
741
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:108
742
- #: payment-gateway/class-sv-wc-payment-gateway.php:1142
743
- msgid "Enable / Disable"
744
- msgstr ""
745
-
746
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:109
747
- msgid "Accept Apple Pay"
748
- msgstr ""
749
-
750
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:116
751
- msgid "Allow Apple Pay on"
752
- msgstr ""
753
-
754
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:126
755
- msgid "Button Style"
756
- msgstr ""
757
-
758
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:129
759
- msgid "Black"
760
- msgstr ""
761
-
762
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:130
763
- msgid "White"
764
- msgstr ""
765
-
766
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:131
767
- msgid "White with outline"
768
- msgstr ""
769
-
770
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:143
771
- #: payment-gateway/class-sv-wc-payment-gateway.php:1317
772
- msgid "Connection Settings"
773
- msgstr ""
774
-
775
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:149
776
- msgid "Apple Merchant ID"
777
- msgstr ""
778
-
779
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:153
780
- msgid "This is found in your %1$sApple developer account%2$s"
781
- msgstr ""
782
-
783
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:160
784
- msgid "Certificate Path"
785
- msgstr ""
786
-
787
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:165
788
- #. translators: Placeholders: %s - the server's web root path
789
- msgid "For reference, your current web root path is: %s"
790
- msgstr ""
791
-
792
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:178
793
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:188
794
- msgid "Processing Gateway"
795
- msgstr ""
796
-
797
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:196
798
- msgid "Test Mode"
799
- msgstr ""
800
-
801
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:197
802
- msgid ""
803
- "Enable to test Apple Pay functionality throughout your sites without "
804
- "processing real payments."
805
- msgstr ""
806
-
807
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:306
808
- msgid "Your site must be served over HTTPS with a valid SSL certificate."
809
- msgstr ""
810
-
811
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:316
812
- #. translators: Placeholders: %1$s - plugin name, %2$s - a
813
- #. currency/comma-separated list of currencies, %3$s - <a> tag, %4$s - </a> tag
814
- msgid ""
815
- "Accepts payment in %1$s only. %2$sConfigure%3$s WooCommerce to accept %1$s "
816
- "to enable Apple Pay."
817
- msgid_plural ""
818
- "Accepts payment in one of %1$s only. %2$sConfigure%3$s WooCommerce to "
819
- "accept one of %1$s to enable Apple Pay."
820
- msgstr[0] ""
821
- msgstr[1] ""
822
-
823
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:335
824
- msgid ""
825
- "Your %1$sMerchant Identity Certificate%2$s cannot be found. Please check "
826
- "your path configuration."
827
- msgstr ""
828
-
829
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:342
830
- msgid "Apple Pay is disabled."
831
- msgstr ""
832
-
833
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:381
834
- msgid "Single products"
835
- msgstr ""
836
-
837
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:382
838
- msgid "Cart"
839
- msgstr ""
840
-
841
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:383
842
- msgid "Checkout"
843
- msgstr ""
844
-
845
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:169
846
- msgid "Buy with"
847
- msgstr ""
848
-
849
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:202
850
- msgid "By submitting your payment, you agree to our %1$sterms and conditions%2$s."
851
- msgstr ""
852
-
853
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:351
854
- msgid "or"
855
- msgstr ""
856
-
857
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-orders.php:123
858
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-orders.php:136
859
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay-orders.php:140
860
- msgid "Error %d: Unable to create order. Please try again."
861
- msgstr ""
862
-
863
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:121
864
- msgid "Apple Pay payment authorized."
865
- msgstr ""
866
-
867
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:155
868
- msgid "Apple Pay payment failed. %s"
869
- msgstr ""
870
-
871
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:532
872
- msgid "Subtotal"
873
- msgstr ""
874
-
875
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:542
876
- msgid "Discount"
877
- msgstr ""
878
-
879
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:552
880
- msgid "Shipping"
881
- msgstr ""
882
-
883
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:562
884
- msgid "Fees"
885
- msgstr ""
886
-
887
- #: payment-gateway/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:572
888
- msgid "Taxes"
889
- msgstr ""
890
-
891
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:61
892
  msgid ""
893
  "Payment error, please try another payment method or contact us to complete "
@@ -895,82 +958,82 @@ msgid ""
895
  msgstr ""
896
 
897
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:161
898
- #: payment-gateway/class-sv-wc-payment-gateway.php:480
899
  msgid "Card expiration date is invalid"
900
  msgstr ""
901
 
902
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:185
903
- #: payment-gateway/class-sv-wc-payment-gateway.php:473
904
  msgid "Card number is missing"
905
  msgstr ""
906
 
907
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:191
908
- #: payment-gateway/class-sv-wc-payment-gateway.php:476
909
  msgid "Card number is invalid (wrong length)"
910
  msgstr ""
911
 
912
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:196
913
- #: payment-gateway/class-sv-wc-payment-gateway.php:475
914
  msgid "Card number is invalid (only digits allowed)"
915
  msgstr ""
916
 
917
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:201
918
- #: payment-gateway/class-sv-wc-payment-gateway.php:474
919
  msgid "Card number is invalid"
920
  msgstr ""
921
 
922
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:228
923
- #: payment-gateway/class-sv-wc-payment-gateway.php:478
924
  msgid "Card security code is invalid (only digits are allowed)"
925
  msgstr ""
926
 
927
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:234
928
- #: payment-gateway/class-sv-wc-payment-gateway.php:479
929
  msgid "Card security code is invalid (must be 3 or 4 digits)"
930
  msgstr ""
931
 
932
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:240
933
- #: payment-gateway/class-sv-wc-payment-gateway.php:477
934
  msgid "Card security code is missing"
935
  msgstr ""
936
 
937
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:267
938
- #: payment-gateway/class-sv-wc-payment-gateway.php:489
939
  msgid "Routing Number is missing"
940
  msgstr ""
941
 
942
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:274
943
- #: payment-gateway/class-sv-wc-payment-gateway.php:490
944
  msgid "Routing Number is invalid (only digits are allowed)"
945
  msgstr ""
946
 
947
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:280
948
- #: payment-gateway/class-sv-wc-payment-gateway.php:491
949
  msgid "Routing number is invalid (must be 9 digits)"
950
  msgstr ""
951
 
952
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:289
953
- #: payment-gateway/class-sv-wc-payment-gateway.php:486
954
  msgid "Account Number is missing"
955
  msgstr ""
956
 
957
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:296
958
- #: payment-gateway/class-sv-wc-payment-gateway.php:487
959
  msgid "Account Number is invalid (only digits are allowed)"
960
  msgstr ""
961
 
962
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:302
963
- #: payment-gateway/class-sv-wc-payment-gateway.php:488
964
  msgid "Account number is invalid (must be between 5 and 17 digits)"
965
  msgstr ""
966
 
967
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:309
968
- #: payment-gateway/class-sv-wc-payment-gateway.php:485
969
  msgid "Drivers license number is invalid"
970
  msgstr ""
971
 
972
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:315
973
- #: payment-gateway/class-sv-wc-payment-gateway.php:481
974
  msgid "Check Number is invalid (only digits are allowed)"
975
  msgstr ""
976
 
@@ -982,72 +1045,72 @@ msgstr ""
982
  msgid "Payment method address could not be updated. %s"
983
  msgstr ""
984
 
985
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:670
986
- #: payment-gateway/class-sv-wc-payment-gateway.php:2614
987
  #. translators: Placeholders: %1$s - payment method title, %2$s - payment
988
  #. account type (savings/checking) (may or may not be available), %3$s - last
989
  #. four digits of the account
990
  msgid "%1$s Check Transaction Approved: %2$s account ending in %3$s"
991
  msgstr ""
992
 
993
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:675
994
- #: payment-gateway/class-sv-wc-payment-gateway.php:2619
995
  #. translators: Placeholders: %s - check number
996
  msgid "Check number %s"
997
  msgstr ""
998
 
999
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:744
1000
  #. translators: Placeholders: %1$s - payment method title, %2$s - environment
1001
  #. ("Test"), %3$s - transaction type (authorization/charge), %4$s - card type
1002
  #. (mastercard, visa, ...), %5$s - last four digits of the card
1003
  msgid "%1$s %2$s %3$s Approved: %4$s ending in %5$s"
1004
  msgstr ""
1005
 
1006
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:757
1007
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:686
1008
- #: payment-gateway/class-sv-wc-payment-gateway.php:2571
1009
  #. translators: Placeholders: %s - expiry date
1010
  msgid "(expires %s)"
1011
  msgstr ""
1012
 
1013
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:829
1014
  #. translators: Placeholders: %s - failure message
1015
  msgid "Tokenization Request Failed: %s"
1016
  msgstr ""
1017
 
1018
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:840
1019
  #. translators: Placeholders: %1$s - payment method title, %2$s - failure
1020
  #. message
1021
  msgid "%1$s Tokenization Request Failed: %2$s"
1022
  msgstr ""
1023
 
1024
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:898
1025
  #. translators: Placeholders: %s - failure message. Payment method as in a
1026
  #. specific credit card, e-check or bank account
1027
  msgid "Oops, adding your new payment method failed: %s"
1028
  msgstr ""
1029
 
1030
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:939
1031
  #. translators: Payment method as in a specific credit card. Placeholders: %1$s
1032
  #. - card type (visa, mastercard, ...), %2$s - last four digits of the card,
1033
  #. %3$s - card expiry date
1034
  msgid "Nice! New payment method added: %1$s ending in %2$s (expires %3$s)"
1035
  msgstr ""
1036
 
1037
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:949
1038
  #. translators: Payment method as in a specific e-check account. Placeholders:
1039
  #. %1$s - account type (checking/savings), %2$s - last four digits of the
1040
  #. account
1041
  msgid "Nice! New payment method added: %1$s account ending in %2$s"
1042
  msgstr ""
1043
 
1044
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:956
1045
  #. translators: Payment method as in a specific credit card, e-check or bank
1046
  #. account
1047
  msgid "Nice! New payment method added."
1048
  msgstr ""
1049
 
1050
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1079
1051
  #. translators: Placeholders: %1$s - site title, %2$s - customer email. Payment
1052
  #. method as in a specific credit card, e-check or bank account
1053
  msgid "%1$s - Add Payment Method for %2$s"
@@ -1090,7 +1153,7 @@ msgid "Cancel Order"
1090
  msgstr ""
1091
 
1092
  #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:597
1093
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:834
1094
  #. translators: Placeholders: %1$s - payment gateway title (such as
1095
  #. Authorize.net, Braintree, etc), %2$s - payment method name (mastercard, bank
1096
  #. account, etc), %3$s - last four digits of the card/account, %4$s -
@@ -1099,7 +1162,7 @@ msgid "%1$s Payment Method Saved: %2$s ending in %3$s (expires %4$s)"
1099
  msgstr ""
1100
 
1101
  #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:608
1102
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:845
1103
  #. translators: Placeholders: %1$s - payment gateway title (such as CyberSouce,
1104
  #. NETbilling, etc), %2$s - account type (checking/savings - may or may not be
1105
  #. available), %3$s - last four digits of the account
@@ -1117,162 +1180,115 @@ msgstr ""
1117
  msgid "Tokenization failed. %s"
1118
  msgstr ""
1119
 
1120
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:228
1121
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:761
1122
  msgid "Edit"
1123
  msgstr ""
1124
 
1125
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:230
1126
- msgid "Oops, there was an error updating your payment method. Please try again."
1127
- msgstr ""
1128
-
1129
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:231
1130
- msgid "Are you sure you want to delete this payment method?"
1131
- msgstr ""
1132
-
1133
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:290
1134
- #. translators: Payment method as in a specific credit card, eCheck or bank
1135
- #. account
1136
- msgid "You do not have any saved payment methods."
1137
- msgstr ""
1138
-
1139
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:329
1140
- #. translators: Payment method as in a specific credit card, eCheck or bank
1141
- #. account
1142
- msgid "My Payment Methods"
1143
- msgstr ""
1144
-
1145
  #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:337
1146
- #. translators: Payment method as in a specific credit card, e-check or bank
1147
- #. account
1148
- msgid "Add New Payment Method"
1149
- msgstr ""
1150
-
1151
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:425
1152
- msgid "Method"
1153
  msgstr ""
1154
 
1155
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:426
1156
  msgid "Details"
1157
  msgstr ""
1158
 
1159
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:427
1160
- msgid "Expires"
1161
- msgstr ""
1162
-
1163
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:428
1164
  msgid "Default?"
1165
  msgstr ""
1166
 
1167
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:429
1168
- msgid "Actions"
1169
- msgstr ""
1170
-
1171
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:465
1172
- msgid "Credit/Debit Cards"
1173
  msgstr ""
1174
 
1175
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:474
1176
- msgid "Bank Accounts"
1177
  msgstr ""
1178
 
1179
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:529
1180
- msgid "N/A"
 
 
1181
  msgstr ""
1182
 
1183
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:641
1184
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:200
1185
  msgid "Nickname"
1186
  msgstr ""
1187
 
1188
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:822
1189
- msgid "Delete"
1190
- msgstr ""
1191
-
1192
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:976
1193
  msgid "Oops, you took too long, please try again."
1194
  msgstr ""
1195
 
1196
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:989
1197
  msgid "There was an error with your request, please try again."
1198
  msgstr ""
1199
 
1200
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:1002
1201
- #. translators: Payment method as in a specific credit card, e-check or bank
1202
- #. account
1203
- msgid "Error removing payment method"
1204
- msgstr ""
1205
-
1206
- #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:1007
1207
- #. translators: Payment method as in a specific credit card, e-check or bank
1208
- #. account
1209
- msgid "Payment method deleted."
1210
- msgstr ""
1211
-
1212
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:313
1213
  msgid "Card Number"
1214
  msgstr ""
1215
 
1216
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:334
1217
  msgid "MM / YY"
1218
  msgstr ""
1219
 
1220
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:352
1221
  msgid "Card Security Code"
1222
  msgstr ""
1223
 
1224
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:355
1225
  msgid "CSC"
1226
  msgstr ""
1227
 
1228
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:395
1229
  msgid "Where do I find this?"
1230
  msgstr ""
1231
 
1232
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:401
1233
  #. translators: e-check routing number, HTML form field label,
1234
  #. https:en.wikipedia.org/wiki/Routing_transit_number
1235
  msgid "Routing Number"
1236
  msgstr ""
1237
 
1238
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:420
1239
  #. translators: e-check account number, HTML form field label
1240
  msgid "Account Number"
1241
  msgstr ""
1242
 
1243
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:486
1244
  #. translators: Test mode refers to the current software environment
1245
  msgid "TEST MODE ENABLED"
1246
  msgstr ""
1247
 
1248
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:513
1249
  msgid "Sample Check"
1250
  msgstr ""
1251
 
1252
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:588
1253
  #. translators: Payment method as in a specific credit card, eCheck or bank
1254
  #. account
1255
  msgid "Manage Payment Methods"
1256
  msgstr ""
1257
 
1258
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:725
1259
  msgid "Use a new card"
1260
  msgstr ""
1261
 
1262
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:725
1263
  msgid "Use a new bank account"
1264
  msgstr ""
1265
 
1266
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:788
1267
  #. translators: account as in customer's account on the eCommerce site
1268
  msgid "Securely Save to Account"
1269
  msgstr ""
1270
 
1271
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:919
1272
  msgid "Payment Info"
1273
  msgstr ""
1274
 
1275
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:617
1276
  #. translators: Placeholders: %1$s - plugin name, %2$s - <a> tag, %3$s - </a>
1277
  #. tag
1278
  msgid ""
@@ -1280,7 +1296,7 @@ msgid ""
1280
  "data may be at risk. %2$sVerify your site URLs here%3$s"
1281
  msgstr ""
1282
 
1283
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:634
1284
  #. translators: Placeholders: %s - payment gateway name
1285
  msgid ""
1286
  "%s will soon require TLS 1.2 support to process transactions and your "
@@ -1289,7 +1305,7 @@ msgid ""
1289
  "and request they make any necessary updates."
1290
  msgstr ""
1291
 
1292
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:690
1293
  #. translators: Placeholders: %1$s - plugin name, %2$s - a
1294
  #. currency/comma-separated list of currencies, %3$s - <a> tag, %4$s - </a> tag
1295
  msgid ""
@@ -1301,7 +1317,7 @@ msgid_plural ""
1301
  msgstr[0] ""
1302
  msgstr[1] ""
1303
 
1304
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:725
1305
  #. translators: Placeholders: %1$s - payment gateway name, %2$s - opening <a>
1306
  #. tag, %3$s - closing </a> tag
1307
  msgid ""
@@ -1310,7 +1326,16 @@ msgid ""
1310
  "processing, we recommend %2$sturning off Debug Mode%3$s"
1311
  msgstr ""
1312
 
1313
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:771
 
 
 
 
 
 
 
 
 
1314
  #. translators: Placeholders: %1$s - plugin name, %2$s - opening <a> HTML link
1315
  #. tag, %3$s - closing </a> HTML link tag
1316
  msgid ""
@@ -1318,7 +1343,15 @@ msgid ""
1318
  "Please %2$supdate WooCommerce%3$s."
1319
  msgstr ""
1320
 
1321
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:807
 
 
 
 
 
 
 
 
1322
  #. translators: Placeholders: %1$s - payment gateway title (such as
1323
  #. Authorize.net, Braintree, etc), %2$s - <a> tag, %3$s - </a> tag
1324
  msgid ""
@@ -1326,7 +1359,7 @@ msgid ""
1326
  "tokenization%3$s to activate %1$s for Subscriptions."
1327
  msgstr ""
1328
 
1329
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:825
1330
  #. translators: Placeholders: %1$s - payment gateway title (such as
1331
  #. Authorize.net, Braintree, etc), %2$s - <a> tag, %3$s - </a> tag
1332
  msgid ""
@@ -1334,13 +1367,13 @@ msgid ""
1334
  "tokenization%3$s to activate %1$s for Pre-Orders."
1335
  msgstr ""
1336
 
1337
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:862
1338
  msgid ""
1339
  "You must enable tokenization for this gateway in order to support automatic "
1340
  "renewal payments with the WooCommerce Subscriptions extension."
1341
  msgstr ""
1342
 
1343
- #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:863
1344
  msgid "Inactive"
1345
  msgstr ""
1346
 
@@ -1360,296 +1393,292 @@ msgstr ""
1360
  msgid "Expiry Date"
1361
  msgstr ""
1362
 
1363
- #: payment-gateway/class-sv-wc-payment-gateway.php:341
1364
  msgid "you successfully processed a payment!"
1365
  msgstr ""
1366
 
1367
- #: payment-gateway/class-sv-wc-payment-gateway.php:346
1368
  msgid "you successfully processed a refund!"
1369
  msgstr ""
1370
 
1371
- #: payment-gateway/class-sv-wc-payment-gateway.php:482
1372
  msgid "Check Number is missing"
1373
  msgstr ""
1374
 
1375
- #: payment-gateway/class-sv-wc-payment-gateway.php:483
1376
  msgid "Drivers license state is missing"
1377
  msgstr ""
1378
 
1379
- #: payment-gateway/class-sv-wc-payment-gateway.php:484
1380
  msgid "Drivers license number is missing"
1381
  msgstr ""
1382
 
1383
- #: payment-gateway/class-sv-wc-payment-gateway.php:659
1384
  msgid "Continue to Payment"
1385
  msgstr ""
1386
 
1387
- #: payment-gateway/class-sv-wc-payment-gateway.php:659
1388
  msgid "Place order"
1389
  msgstr ""
1390
 
1391
- #: payment-gateway/class-sv-wc-payment-gateway.php:691
1392
  msgid "Thank you for your order."
1393
  msgstr ""
1394
 
1395
- #: payment-gateway/class-sv-wc-payment-gateway.php:1101
1396
  msgid "Credit Card"
1397
  msgstr ""
1398
 
1399
- #: payment-gateway/class-sv-wc-payment-gateway.php:1103
1400
  msgid "eCheck"
1401
  msgstr ""
1402
 
1403
- #: payment-gateway/class-sv-wc-payment-gateway.php:1121
1404
  msgid "Pay securely using your credit card."
1405
  msgstr ""
1406
 
1407
- #: payment-gateway/class-sv-wc-payment-gateway.php:1123
1408
  msgid "Pay securely using your checking account."
1409
  msgstr ""
1410
 
1411
- #: payment-gateway/class-sv-wc-payment-gateway.php:1143
1412
  msgid "Enable this gateway"
1413
  msgstr ""
1414
 
1415
- #: payment-gateway/class-sv-wc-payment-gateway.php:1149
1416
- msgid "Title"
1417
- msgstr ""
1418
-
1419
- #: payment-gateway/class-sv-wc-payment-gateway.php:1151
1420
  msgid "Payment method title that the customer will see during checkout."
1421
  msgstr ""
1422
 
1423
- #: payment-gateway/class-sv-wc-payment-gateway.php:1156
1424
  msgid "Description"
1425
  msgstr ""
1426
 
1427
- #: payment-gateway/class-sv-wc-payment-gateway.php:1158
1428
  msgid "Payment method description that the customer will see during checkout."
1429
  msgstr ""
1430
 
1431
- #: payment-gateway/class-sv-wc-payment-gateway.php:1187
1432
  msgid "Detailed Decline Messages"
1433
  msgstr ""
1434
 
1435
- #: payment-gateway/class-sv-wc-payment-gateway.php:1189
1436
  msgid ""
1437
  "Check to enable detailed decline messages to the customer during checkout "
1438
  "when possible, rather than a generic decline message."
1439
  msgstr ""
1440
 
1441
- #: payment-gateway/class-sv-wc-payment-gateway.php:1199
1442
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
1443
  msgid ""
1444
  "Show Detailed Error Messages and API requests/responses on the checkout "
1445
  "page and/or save them to the %1$sdebug log%2$s"
1446
  msgstr ""
1447
 
1448
- #: payment-gateway/class-sv-wc-payment-gateway.php:1203
1449
  msgid "Show on Checkout Page"
1450
  msgstr ""
1451
 
1452
- #: payment-gateway/class-sv-wc-payment-gateway.php:1206
1453
  #. translators: show debugging information on both checkout page and in the log
1454
  msgid "Both"
1455
  msgstr ""
1456
 
1457
- #: payment-gateway/class-sv-wc-payment-gateway.php:1269
1458
  msgid "Select the gateway environment to use for transactions."
1459
  msgstr ""
1460
 
1461
- #: payment-gateway/class-sv-wc-payment-gateway.php:1323
1462
  msgid "Share connection settings"
1463
  msgstr ""
1464
 
1465
- #: payment-gateway/class-sv-wc-payment-gateway.php:1325
1466
  msgid "Use connection/authentication settings from other gateway"
1467
  msgstr ""
1468
 
1469
- #: payment-gateway/class-sv-wc-payment-gateway.php:1328
1470
  msgid "Disabled because the other gateway is using these settings"
1471
  msgstr ""
1472
 
1473
- #: payment-gateway/class-sv-wc-payment-gateway.php:1345
1474
  msgid "Card Verification (CSC)"
1475
  msgstr ""
1476
 
1477
- #: payment-gateway/class-sv-wc-payment-gateway.php:1346
1478
  msgid "Display the Card Security Code (CV2) field on checkout"
1479
  msgstr ""
1480
 
1481
- #: payment-gateway/class-sv-wc-payment-gateway.php:1354
1482
  msgid "Saved Card Verification"
1483
  msgstr ""
1484
 
1485
- #: payment-gateway/class-sv-wc-payment-gateway.php:1355
1486
  msgid "Display the Card Security Code field when paying with a saved card"
1487
  msgstr ""
1488
 
1489
- #: payment-gateway/class-sv-wc-payment-gateway.php:1686
1490
  #. translators: Placeholders: %1$s - site title, %2$s - order number
1491
  msgid "%1$s - Order %2$s"
1492
  msgstr ""
1493
 
1494
- #: payment-gateway/class-sv-wc-payment-gateway.php:1815
1495
  #. translators: Placeholders: %1$s - site title, %2$s - order number.
1496
  #. Definitions: Capture as in capture funds from a credit card.
1497
  msgid "%1$s - Capture for Order %2$s"
1498
  msgstr ""
1499
 
1500
- #: payment-gateway/class-sv-wc-payment-gateway.php:1958
1501
  #. translators: Placeholders: %1$s - site title, %2$s - order number
1502
  msgid "%1$s - Refund for Order %2$s"
1503
  msgstr ""
1504
 
1505
- #: payment-gateway/class-sv-wc-payment-gateway.php:2025
1506
  #. translators: Placeholders: %1$s - payment gateway title (such as
1507
  #. Authorize.net, Braintree, etc), %2$s - a monetary amount
1508
  msgid "%1$s Refund in the amount of %2$s approved."
1509
  msgstr ""
1510
 
1511
- #: payment-gateway/class-sv-wc-payment-gateway.php:2055
1512
  #. translators: Placeholders: %1$s - payment gateway title (such as
1513
  #. Authorize.net, Braintree, etc), %2$s - error code, %3$s - error message
1514
  msgid "%1$s Refund Failed: %2$s - %3$s"
1515
  msgstr ""
1516
 
1517
- #: payment-gateway/class-sv-wc-payment-gateway.php:2063
1518
  #. translators: Placeholders: %1$s - payment gateway title (such as
1519
  #. Authorize.net, Braintree, etc), %2$s - error message
1520
  msgid "%1$s Refund Failed: %2$s"
1521
  msgstr ""
1522
 
1523
- #: payment-gateway/class-sv-wc-payment-gateway.php:2084
1524
  #. translators: Placeholders: %s - payment gateway title (such as
1525
  #. Authorize.net, Braintree, etc)
1526
  msgid "%s Order completely refunded."
1527
  msgstr ""
1528
 
1529
- #: payment-gateway/class-sv-wc-payment-gateway.php:2139
1530
  msgid ""
1531
  "Oops, you cannot partially void this order. Please use the full order "
1532
  "amount."
1533
  msgstr ""
1534
 
1535
- #: payment-gateway/class-sv-wc-payment-gateway.php:2226
1536
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error code,
1537
  #. %3$s - error message. Void as in to void an order.
1538
  msgid "%1$s Void Failed: %2$s - %3$s"
1539
  msgstr ""
1540
 
1541
- #: payment-gateway/class-sv-wc-payment-gateway.php:2234
1542
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1543
  #. message. Void as in to void an order.
1544
  msgid "%1$s Void Failed: %2$s"
1545
  msgstr ""
1546
 
1547
- #: payment-gateway/class-sv-wc-payment-gateway.php:2258
1548
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - a monetary
1549
  #. amount. Void as in to void an order.
1550
  msgid "%1$s Void in the amount of %2$s approved."
1551
  msgstr ""
1552
 
1553
- #: payment-gateway/class-sv-wc-payment-gateway.php:2550
1554
  #. translators: Placeholders: %1$s - payment method title, %2$s - environment
1555
  #. ("Test"), %3$s - transaction type (authorization/charge)
1556
  msgid "%1$s %2$s %3$s Approved"
1557
  msgstr ""
1558
 
1559
- #: payment-gateway/class-sv-wc-payment-gateway.php:2560
1560
  #. translators: Placeholders: %1$s - credit card type (MasterCard, Visa,
1561
  #. etc...), %2$s - last four digits of the card
1562
  msgid "%1$s ending in %2$s"
1563
  msgstr ""
1564
 
1565
- #: payment-gateway/class-sv-wc-payment-gateway.php:2656
1566
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - message
1567
  #. (probably reason for the transaction being held for review)
1568
  msgid "%1$s Transaction Held for Review (%2$s)"
1569
  msgstr ""
1570
 
1571
- #: payment-gateway/class-sv-wc-payment-gateway.php:2745
1572
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1573
  #. message; e.g. Order Note: [Payment method] Payment failed [error]
1574
  msgid "%1$s Payment Failed (%2$s)"
1575
  msgstr ""
1576
 
1577
- #: payment-gateway/class-sv-wc-payment-gateway.php:2780
1578
  #. translators: Placeholders: %1$s - payment gateway title, %2$s -
1579
  #. message/error
1580
  msgid "%1$s Transaction Cancelled (%2$s)"
1581
  msgstr ""
1582
 
1583
- #: payment-gateway/class-sv-wc-payment-gateway.php:3028
1584
  msgid "Transaction Type"
1585
  msgstr ""
1586
 
1587
- #: payment-gateway/class-sv-wc-payment-gateway.php:3030
1588
  msgid ""
1589
  "Select how transactions should be processed. Charge submits all "
1590
  "transactions for settlement, Authorization simply authorizes the order "
1591
  "total for capture later."
1592
  msgstr ""
1593
 
1594
- #: payment-gateway/class-sv-wc-payment-gateway.php:3041
1595
  msgid "Charge Virtual-Only Orders"
1596
  msgstr ""
1597
 
1598
- #: payment-gateway/class-sv-wc-payment-gateway.php:3043
1599
  msgid ""
1600
  "If the order contains exclusively virtual items, enable this to immediately "
1601
  "charge, rather than authorize, the transaction."
1602
  msgstr ""
1603
 
1604
- #: payment-gateway/class-sv-wc-payment-gateway.php:3051
1605
  msgid "Enable Partial Capture"
1606
  msgstr ""
1607
 
1608
- #: payment-gateway/class-sv-wc-payment-gateway.php:3053
1609
  msgid "Allow orders to be partially captured multiple times."
1610
  msgstr ""
1611
 
1612
- #: payment-gateway/class-sv-wc-payment-gateway.php:3065
1613
  msgid "Capture Paid Orders"
1614
  msgstr ""
1615
 
1616
- #: payment-gateway/class-sv-wc-payment-gateway.php:3068
1617
  msgid "Automatically capture orders when they are changed to %s."
1618
  msgstr ""
1619
 
1620
- #: payment-gateway/class-sv-wc-payment-gateway.php:3069
1621
  msgid "a paid status"
1622
  msgstr ""
1623
 
1624
- #: payment-gateway/class-sv-wc-payment-gateway.php:3259
1625
  msgid "Accepted Card Logos"
1626
  msgstr ""
1627
 
1628
- #: payment-gateway/class-sv-wc-payment-gateway.php:3261
1629
  msgid ""
1630
  "These are the card logos that are displayed to customers as accepted during "
1631
  "checkout."
1632
  msgstr ""
1633
 
1634
- #: payment-gateway/class-sv-wc-payment-gateway.php:3264
1635
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag
1636
  msgid ""
1637
  "This setting %1$sdoes not%2$s change which card types the gateway will "
1638
  "accept. Accepted cards are configured from your payment processor account."
1639
  msgstr ""
1640
 
1641
- #: payment-gateway/class-sv-wc-payment-gateway.php:3355
1642
  #. translators:
1643
  #. http:www.cybersource.com/products/payment_security/payment_tokenization/ and
1644
  #. https:en.wikipedia.org/wiki/Tokenization_(data_security)
1645
  msgid "Tokenization"
1646
  msgstr ""
1647
 
1648
- #: payment-gateway/class-sv-wc-payment-gateway.php:3356
1649
  msgid "Allow customers to securely save their payment details for future checkout."
1650
  msgstr ""
1651
 
1652
- #: payment-gateway/class-sv-wc-payment-gateway.php:4175
1653
  #. translators: %1$s - gateway name, %2$s - <a> tag, %3$s - </a> tag, %4$s -
1654
  #. <a> tag, %5$s - </a> tag
1655
  msgid ""
@@ -1681,47 +1710,123 @@ msgstr ""
1681
  msgid "Pre-Order Release Payment Failed: %s"
1682
  msgstr ""
1683
 
1684
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:326
1685
  msgid "Subscription Renewal: payment token is missing/invalid."
1686
  msgstr ""
1687
 
1688
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:352
1689
  msgid "%1$s - Subscription Renewal Order %2$s"
1690
  msgstr ""
1691
 
1692
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:484
1693
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1694
  #. message; e.g. Order Note: [Payment method] Payment Change failed [error]
1695
  msgid "%1$s Payment Change Failed (%2$s)"
1696
  msgstr ""
1697
 
1698
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:627
1699
  msgid "Via %s ending in %s"
1700
  msgstr ""
1701
 
1702
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:654
1703
  msgid "Subscriptions"
1704
  msgstr ""
1705
 
1706
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:723
1707
- msgid ""
1708
- "This payment method is tied to a subscription and cannot be deleted. Please "
1709
- "switch the subscription to another method first."
1710
  msgstr ""
1711
 
1712
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:775
1713
  msgid "Payment Token"
1714
  msgstr ""
1715
 
1716
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:804
1717
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:809
1718
  msgid "%s is required."
1719
  msgstr ""
1720
 
1721
- #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:173
1722
  msgid "Unknown Error"
1723
  msgstr ""
1724
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1725
  #: utilities/class-sv-wp-background-job-handler.php:644
1726
  msgid "Job data key \"%s\" not set"
1727
  msgstr ""
@@ -1808,37 +1913,37 @@ msgctxt "enhanced select"
1808
  msgid "Searching&hellip;"
1809
  msgstr ""
1810
 
1811
- #: class-sv-wc-helper.php:408
1812
  msgctxt "coordinating conjunction for a list of items: a, b, and c"
1813
  msgid "and"
1814
  msgstr ""
1815
 
1816
- #: class-sv-wc-plugin.php:611
1817
  msgctxt "noun"
1818
  msgid "Support"
1819
  msgstr ""
1820
 
1821
- #: class-sv-wc-plugin.php:616
1822
  msgctxt "verb"
1823
  msgid "Review"
1824
  msgstr ""
1825
 
1826
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:746
1827
- #: payment-gateway/class-sv-wc-payment-gateway.php:2552
1828
  msgctxt "noun, software environment"
1829
  msgid "Test"
1830
  msgstr ""
1831
 
1832
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:747
1833
- #: payment-gateway/class-sv-wc-payment-gateway.php:2553
1834
- #: payment-gateway/class-sv-wc-payment-gateway.php:3034
1835
  msgctxt "credit card transaction type"
1836
  msgid "Authorization"
1837
  msgstr ""
1838
 
1839
- #: payment-gateway/class-sv-wc-payment-gateway-direct.php:747
1840
- #: payment-gateway/class-sv-wc-payment-gateway.php:2553
1841
- #: payment-gateway/class-sv-wc-payment-gateway.php:3033
1842
  msgctxt "noun, credit card transaction type"
1843
  msgid "Charge"
1844
  msgstr ""
@@ -1849,19 +1954,19 @@ msgid "Account"
1849
  msgstr ""
1850
 
1851
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:229
1852
- #: payment-gateway/class-sv-wc-payment-gateway.php:3292
1853
  msgctxt "credit card type"
1854
  msgid "Visa"
1855
  msgstr ""
1856
 
1857
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:233
1858
- #: payment-gateway/class-sv-wc-payment-gateway.php:3293
1859
  msgctxt "credit card type"
1860
  msgid "MasterCard"
1861
  msgstr ""
1862
 
1863
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:237
1864
- #: payment-gateway/class-sv-wc-payment-gateway.php:3294
1865
  msgctxt "credit card type"
1866
  msgid "American Express"
1867
  msgstr ""
@@ -1872,13 +1977,13 @@ msgid "Diners Club"
1872
  msgstr ""
1873
 
1874
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:245
1875
- #: payment-gateway/class-sv-wc-payment-gateway.php:3295
1876
  msgctxt "credit card type"
1877
  msgid "Discover"
1878
  msgstr ""
1879
 
1880
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:249
1881
- #: payment-gateway/class-sv-wc-payment-gateway.php:3297
1882
  msgctxt "credit card type"
1883
  msgid "JCB"
1884
  msgstr ""
@@ -1898,41 +2003,41 @@ msgctxt "credit card type"
1898
  msgid "Laser"
1899
  msgstr ""
1900
 
1901
- #: payment-gateway/class-sv-wc-payment-gateway.php:3296
1902
  msgctxt "credit card type"
1903
  msgid "Diners"
1904
  msgstr ""
1905
 
1906
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:446
1907
  #. translators: http:www.investopedia.com/terms/c/checkingaccount.asp
1908
  msgctxt "account type"
1909
  msgid "Checking"
1910
  msgstr ""
1911
 
1912
- #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:448
1913
  #. translators: http:www.investopedia.com/terms/s/savingsaccount.asp
1914
  msgctxt "account type"
1915
  msgid "Savings"
1916
  msgstr ""
1917
 
1918
- #: payment-gateway/class-sv-wc-payment-gateway.php:2333
1919
  msgctxt "hash before order number"
1920
  msgid "#"
1921
  msgstr ""
1922
 
1923
- #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:684
1924
  msgctxt "hash before order number"
1925
  msgid "#%s"
1926
  msgstr ""
1927
 
1928
- #: payment-gateway/class-sv-wc-payment-gateway.php:3062
1929
  msgctxt ""
1930
  "coordinating conjunction for a list of order statuses: on-hold, processing, "
1931
  "or completed"
1932
  msgid "or"
1933
  msgstr ""
1934
 
1935
- #: payment-gateway/class-sv-wc-payment-gateway.php:3901
1936
  #. translators: https:www.skyverge.com/for-translators-environments/
1937
  msgctxt "software environment"
1938
  msgid "Production"
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: WooCommerce Plugin Framework 5.10.0\n"
6
  "Report-Msgid-Bugs-To: https://support.woocommerce.com/hc/\n"
7
  "POT-Creation-Date: 2015-07-22 12:09:16+00:00\n"
8
  "MIME-Version: 1.0\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: Lifecycle.php:394
16
  msgid "Awesome"
17
  msgstr ""
18
 
19
+ #: Lifecycle.php:395
20
  msgid "Fantastic"
21
  msgstr ""
22
 
23
+ #: Lifecycle.php:396
24
  msgid "Cowabunga"
25
  msgstr ""
26
 
27
+ #: Lifecycle.php:397
28
  msgid "Congratulations"
29
  msgstr ""
30
 
31
+ #: Lifecycle.php:398
32
  msgid "Hot dog"
33
  msgstr ""
34
 
35
+ #: Lifecycle.php:405
36
  #. translators: Placeholders: %1$s - plugin name, %2$s - <a> tag, %3$s - </a>
37
  #. tag, %4$s - <a> tag, %5$s - </a> tag
38
  msgid ""
173
  msgid "Please %1$supdate WooCommerce%2$s"
174
  msgstr ""
175
 
176
+ #: class-sv-wc-plugin-compatibility.php:349
177
  msgid "WooCommerce"
178
  msgstr ""
179
 
244
  msgid "You cannot unserialize instances of %s."
245
  msgstr ""
246
 
247
+ #: class-sv-wc-plugin.php:615
248
  #. translators: Placeholders: %1$s - plugin name, %2$s - WooCommerce version
249
  #. number, %3$s - opening <a> HTML link tag, %4$s - closing </a> HTML link tag
250
  msgid ""
253
  "features."
254
  msgstr ""
255
 
256
+ #: class-sv-wc-plugin.php:658
257
  #. translators: Docs as in Documentation
258
  msgid "Docs"
259
  msgstr ""
260
 
261
+ #: class-sv-wc-plugin.php:751
262
  msgid "%1$s - A minimum of %2$s is required."
263
  msgstr ""
264
 
265
+ #: class-sv-wc-plugin.php:760
266
  msgid "Set as %1$s - %2$s is required."
267
  msgstr ""
268
 
269
+ #: class-sv-wc-plugin.php:1040
270
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:876
271
  msgid "Configure"
272
  msgstr ""
273
 
274
+ #: payment-gateway/External_Checkout/Admin.php:137
275
+ #: payment-gateway/External_Checkout/Admin.php:147
276
+ msgid "Processing Gateway"
277
+ msgstr ""
278
+
279
+ #: payment-gateway/External_Checkout/Admin.php:287
280
+ msgid "Single products"
281
+ msgstr ""
282
+
283
+ #: payment-gateway/External_Checkout/Admin.php:288
284
+ msgid "Cart"
285
+ msgstr ""
286
+
287
+ #: payment-gateway/External_Checkout/Admin.php:289
288
+ msgid "Checkout"
289
+ msgstr ""
290
+
291
+ #: payment-gateway/External_Checkout/Admin.php:330
292
+ #. translators: Placeholders: - external checkout label, %2$s - <strong> tag,
293
+ #. %3$s - </strong> tag
294
+ msgid "%2$S%1$s is disabled.%3$S"
295
+ msgstr ""
296
+
297
+ #: payment-gateway/External_Checkout/Admin.php:395
298
+ #. translators: Placeholders: %1$s - plugin name, %2$s - a
299
+ #. currency/comma-separated list of currencies, %3$s - <a> tag, %4$s - </a>
300
+ #. tag, %5$s - external checkout label
301
+ msgid ""
302
+ "Accepts payment in %1$s only. %2$sConfigure%3$s WooCommerce to accept %1$s "
303
+ "to enable %4$s."
304
+ msgid_plural ""
305
+ "Accepts payment in one of %1$s only. %2$sConfigure%3$s WooCommerce to "
306
+ "accept one of %1$s to enable %4$s."
307
+ msgstr[0] ""
308
+ msgstr[1] ""
309
+
310
+ #: payment-gateway/External_Checkout/Admin.php:437
311
+ msgid ""
312
+ "%4$s%1$s Notice!%5$s Your store %2$scalculates taxes%3$s based on the "
313
+ "shipping address, but %1$s %4$sdoes not%5$s share customer shipping "
314
+ "information with your store for orders with only virtual products. These "
315
+ "orders will have their taxes calculated based on the shop address instead."
316
+ msgstr ""
317
+
318
+ #: payment-gateway/External_Checkout/Admin.php:471
319
+ msgid ""
320
+ "%4$s%1$s Notice!%5$s Your store %2$scalculates taxes%3$s based on the "
321
+ "billing address, but %1$s %4$sdoes not%5$s share the customer billing "
322
+ "address with your store before payment. These orders will have their taxes "
323
+ "calculated based on the shipping address (or shop address, for orders with "
324
+ "only virtual products)."
325
+ msgstr ""
326
+
327
+ #: payment-gateway/External_Checkout/Frontend.php:259
328
+ msgid "or"
329
+ msgstr ""
330
+
331
+ #: payment-gateway/External_Checkout/Frontend.php:293
332
+ msgid "By submitting your payment, you agree to our %1$sterms and conditions%2$s."
333
+ msgstr ""
334
+
335
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:71
336
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:87
337
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:66
338
+ msgid "Google Pay"
339
+ msgstr ""
340
+
341
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:93
342
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:93
343
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1262
344
+ msgid "Enable / Disable"
345
+ msgstr ""
346
+
347
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:94
348
+ msgid "Accept Google Pay"
349
+ msgstr ""
350
+
351
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:101
352
+ msgid "Allow Google Pay on"
353
+ msgstr ""
354
+
355
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:111
356
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:111
357
+ msgid "Button Style"
358
+ msgstr ""
359
+
360
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:114
361
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:114
362
+ msgid "Black"
363
+ msgstr ""
364
+
365
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:115
366
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:115
367
+ msgid "White"
368
+ msgstr ""
369
+
370
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:148
371
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:150
372
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1440
373
+ msgid "Connection Settings"
374
+ msgstr ""
375
+
376
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:157
377
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:188
378
+ msgid "Test Mode"
379
+ msgstr ""
380
+
381
+ #: payment-gateway/External_Checkout/Google_Pay/Admin.php:158
382
+ msgid ""
383
+ "Enable to test Google Pay functionality throughout your sites without "
384
+ "processing real payments."
385
+ msgstr ""
386
+
387
+ #: payment-gateway/External_Checkout/Google_Pay/Frontend.php:130
388
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:141
389
+ #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:99
390
+ msgid "An error occurred, please try again or try an alternate form of payment"
391
+ msgstr ""
392
+
393
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:255
394
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:380
395
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:539
396
+ msgid "Subtotal"
397
+ msgstr ""
398
+
399
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:390
400
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:549
401
+ msgid "Discount"
402
+ msgstr ""
403
+
404
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:400
405
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:559
406
+ msgid "Shipping"
407
+ msgstr ""
408
+
409
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:410
410
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:569
411
+ msgid "Fees"
412
+ msgstr ""
413
+
414
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:420
415
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:579
416
+ msgid "Taxes"
417
+ msgstr ""
418
+
419
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:463
420
+ msgid "Google Pay payment authorized."
421
+ msgstr ""
422
+
423
+ #: payment-gateway/External_Checkout/Google_Pay/Google_Pay.php:538
424
+ msgid "Google Pay payment failed. %s"
425
+ msgstr ""
426
+
427
+ #: payment-gateway/External_Checkout/Orders.php:140
428
+ #: payment-gateway/External_Checkout/Orders.php:153
429
+ #: payment-gateway/External_Checkout/Orders.php:157
430
+ msgid "Error %d: Unable to create order. Please try again."
431
+ msgstr ""
432
+
433
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:71
434
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:87
435
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:65
436
+ msgid "Apple Pay"
437
+ msgstr ""
438
+
439
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:94
440
+ msgid "Accept Apple Pay"
441
+ msgstr ""
442
+
443
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:101
444
+ msgid "Allow Apple Pay on"
445
+ msgstr ""
446
+
447
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:116
448
+ msgid "White with outline"
449
+ msgstr ""
450
+
451
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:159
452
+ msgid "Apple Merchant ID"
453
+ msgstr ""
454
+
455
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:163
456
+ msgid "This is found in your %1$sApple developer account%2$s"
457
+ msgstr ""
458
+
459
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:173
460
+ msgid "Certificate Path"
461
+ msgstr ""
462
+
463
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:178
464
+ #. translators: Placeholders: %s - the server's web root path
465
+ msgid "For reference, your current web root path is: %s"
466
+ msgstr ""
467
+
468
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:189
469
+ msgid ""
470
+ "Enable to test Apple Pay functionality throughout your sites without "
471
+ "processing real payments."
472
+ msgstr ""
473
+
474
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:228
475
+ msgid "Your site must be served over HTTPS with a valid SSL certificate."
476
+ msgstr ""
477
+
478
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-admin.php:238
479
+ msgid ""
480
+ "Your %1$sMerchant Identity Certificate%2$s cannot be found. Please check "
481
+ "your path configuration."
482
+ msgstr ""
483
+
484
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay-frontend.php:176
485
+ msgid "Buy with"
486
+ msgstr ""
487
+
488
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:152
489
+ msgid "Apple Pay payment authorized."
490
+ msgstr ""
491
+
492
+ #: payment-gateway/External_Checkout/apple-pay/class-sv-wc-payment-gateway-apple-pay.php:186
493
+ msgid "Apple Pay payment failed. %s"
494
+ msgstr ""
495
+
496
  #: payment-gateway/Handlers/Abstract_Hosted_Payment_Handler.php:179
497
  msgid ""
498
  "There was a problem processing your order and it is being placed on hold "
500
  msgstr ""
501
 
502
  #: payment-gateway/Handlers/Abstract_Hosted_Payment_Handler.php:217
503
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2889
504
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:512
505
  msgid "An error occurred, please try again or try an alternate form of payment."
506
  msgstr ""
507
 
512
  msgstr ""
513
 
514
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:152
515
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2482
516
+ #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:173
517
  #. translators: Placeholders: %1$s - status code, %2$s - status message
518
  #. translators: Placeholders: %1$s - payment request response status code, %2$s
519
  #. - payment request response status message
521
  msgstr ""
522
 
523
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:155
524
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2485
525
+ #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:176
526
  #. translators: Placeholders: %s - status code
527
  #. translators: Placeholders: %s - payment request response status code
528
  msgid "Status code: %s"
529
  msgstr ""
530
 
531
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:158
532
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2488
533
+ #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:179
534
  #. translators: Placeholders; %s - status message
535
  #. translators: Placeholders: %s - payment request response status message
536
  msgid "Status message: %s"
537
  msgstr ""
538
 
539
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:163
540
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2493
541
+ #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:186
542
  msgid "Transaction ID %s"
543
  msgstr ""
544
 
555
  msgstr ""
556
 
557
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:267
558
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2825
559
  msgid ""
560
  "Your order has been received and is being reviewed. Thank you for your "
561
  "business."
562
  msgstr ""
563
 
564
  #: payment-gateway/Handlers/Abstract_Payment_Handler.php:274
565
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:864
566
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1860
567
  #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:370
568
  #. translators: This is a message describing that the transaction in question
569
  #. only performed a credit card authorization and did not capture any funds.
609
  msgstr ""
610
 
611
  #: payment-gateway/Handlers/Capture.php:198
612
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:683
613
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:768
614
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2161
615
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2394
616
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2706
617
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2751
618
  #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-pre-orders.php:353
619
  #. translators: Placeholders: %s - transaction ID
620
  msgid "(Transaction ID %s)"
671
  msgid "An error occurred. Please try again."
672
  msgstr ""
673
 
674
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:491
675
  #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:305
676
  msgid "(%s)"
677
  msgstr ""
678
 
679
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:521
680
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:900
681
  msgid "Default"
682
  msgstr ""
683
 
684
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:557
685
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:590
686
  msgid "Token ID"
687
  msgstr ""
688
 
689
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:562
690
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:300
691
  msgid "Card Type"
692
  msgstr ""
693
 
694
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:567
695
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:603
696
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:192
697
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:298
698
  msgid "Last Four"
699
  msgstr ""
700
 
701
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:574
702
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:358
703
  msgid "Expiration (MM/YY)"
704
  msgstr ""
705
 
706
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:595
707
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:466
708
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:299
709
  #. translators: e-check account type, HTML form field label
710
  msgid "Account Type"
711
  msgstr ""
712
 
713
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:598
714
  msgid "Checking"
715
  msgstr ""
716
 
717
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:599
718
  msgid "Savings"
719
  msgstr ""
720
 
721
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:700
722
  msgid "Refresh"
723
  msgstr ""
724
 
725
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:702
726
  msgid "Add New"
727
  msgstr ""
728
 
729
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:705
730
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:297
731
  msgid "Save"
732
  msgstr ""
733
 
734
+ #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php:728
735
  msgid "Remove"
736
  msgstr ""
737
 
741
  msgstr ""
742
 
743
  #: payment-gateway/admin/class-sv-wc-payment-gateway-admin-user-handler.php:302
744
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:841
745
  msgid "Customer ID"
746
  msgstr ""
747
 
750
  msgstr ""
751
 
752
  #: payment-gateway/admin/views/html-admin-gateway-status.php:53
753
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1389
754
  #. translators: environment as in a software environment (test/production)
755
  msgid "Environment"
756
  msgstr ""
768
  msgstr ""
769
 
770
  #: payment-gateway/admin/views/html-admin-gateway-status.php:75
771
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1316
772
  msgid "Debug Mode"
773
  msgstr ""
774
 
785
  msgstr ""
786
 
787
  #: payment-gateway/admin/views/html-admin-gateway-status.php:83
788
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1324
789
  msgid "Save to Log"
790
  msgstr ""
791
 
792
  #: payment-gateway/admin/views/html-admin-gateway-status.php:85
793
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1322
794
  msgid "Off"
795
  msgstr ""
796
 
819
  msgstr ""
820
 
821
  #: payment-gateway/admin/views/html-order-partial-capture.php:66
822
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:608
823
  msgid "Cancel"
824
  msgstr ""
825
 
835
  msgid "The gateway customer ID for the user. Only edit this if necessary."
836
  msgstr ""
837
 
 
 
 
 
 
838
  #: payment-gateway/api/class-sv-wc-payment-gateway-api-response-message-helper.php:100
839
  msgid ""
840
  "We cannot process your order with the payment information that you "
951
  "Please verify the address and try again."
952
  msgstr ""
953
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
954
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:61
955
  msgid ""
956
  "Payment error, please try another payment method or contact us to complete "
958
  msgstr ""
959
 
960
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:161
961
+ #: payment-gateway/class-sv-wc-payment-gateway.php:503
962
  msgid "Card expiration date is invalid"
963
  msgstr ""
964
 
965
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:185
966
+ #: payment-gateway/class-sv-wc-payment-gateway.php:496
967
  msgid "Card number is missing"
968
  msgstr ""
969
 
970
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:191
971
+ #: payment-gateway/class-sv-wc-payment-gateway.php:499
972
  msgid "Card number is invalid (wrong length)"
973
  msgstr ""
974
 
975
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:196
976
+ #: payment-gateway/class-sv-wc-payment-gateway.php:498
977
  msgid "Card number is invalid (only digits allowed)"
978
  msgstr ""
979
 
980
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:201
981
+ #: payment-gateway/class-sv-wc-payment-gateway.php:497
982
  msgid "Card number is invalid"
983
  msgstr ""
984
 
985
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:228
986
+ #: payment-gateway/class-sv-wc-payment-gateway.php:501
987
  msgid "Card security code is invalid (only digits are allowed)"
988
  msgstr ""
989
 
990
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:234
991
+ #: payment-gateway/class-sv-wc-payment-gateway.php:502
992
  msgid "Card security code is invalid (must be 3 or 4 digits)"
993
  msgstr ""
994
 
995
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:240
996
+ #: payment-gateway/class-sv-wc-payment-gateway.php:500
997
  msgid "Card security code is missing"
998
  msgstr ""
999
 
1000
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:267
1001
+ #: payment-gateway/class-sv-wc-payment-gateway.php:512
1002
  msgid "Routing Number is missing"
1003
  msgstr ""
1004
 
1005
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:274
1006
+ #: payment-gateway/class-sv-wc-payment-gateway.php:513
1007
  msgid "Routing Number is invalid (only digits are allowed)"
1008
  msgstr ""
1009
 
1010
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:280
1011
+ #: payment-gateway/class-sv-wc-payment-gateway.php:514
1012
  msgid "Routing number is invalid (must be 9 digits)"
1013
  msgstr ""
1014
 
1015
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:289
1016
+ #: payment-gateway/class-sv-wc-payment-gateway.php:509
1017
  msgid "Account Number is missing"
1018
  msgstr ""
1019
 
1020
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:296
1021
+ #: payment-gateway/class-sv-wc-payment-gateway.php:510
1022
  msgid "Account Number is invalid (only digits are allowed)"
1023
  msgstr ""
1024
 
1025
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:302
1026
+ #: payment-gateway/class-sv-wc-payment-gateway.php:511
1027
  msgid "Account number is invalid (must be between 5 and 17 digits)"
1028
  msgstr ""
1029
 
1030
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:309
1031
+ #: payment-gateway/class-sv-wc-payment-gateway.php:508
1032
  msgid "Drivers license number is invalid"
1033
  msgstr ""
1034
 
1035
  #: payment-gateway/class-sv-wc-payment-gateway-direct.php:315
1036
+ #: payment-gateway/class-sv-wc-payment-gateway.php:504
1037
  msgid "Check Number is invalid (only digits are allowed)"
1038
  msgstr ""
1039
 
1045
  msgid "Payment method address could not be updated. %s"
1046
  msgstr ""
1047
 
1048
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:673
1049
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2741
1050
  #. translators: Placeholders: %1$s - payment method title, %2$s - payment
1051
  #. account type (savings/checking) (may or may not be available), %3$s - last
1052
  #. four digits of the account
1053
  msgid "%1$s Check Transaction Approved: %2$s account ending in %3$s"
1054
  msgstr ""
1055
 
1056
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:678
1057
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2746
1058
  #. translators: Placeholders: %s - check number
1059
  msgid "Check number %s"
1060
  msgstr ""
1061
 
1062
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:747
1063
  #. translators: Placeholders: %1$s - payment method title, %2$s - environment
1064
  #. ("Test"), %3$s - transaction type (authorization/charge), %4$s - card type
1065
  #. (mastercard, visa, ...), %5$s - last four digits of the card
1066
  msgid "%1$s %2$s %3$s Approved: %4$s ending in %5$s"
1067
  msgstr ""
1068
 
1069
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:760
1070
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:714
1071
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2698
1072
  #. translators: Placeholders: %s - expiry date
1073
  msgid "(expires %s)"
1074
  msgstr ""
1075
 
1076
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:832
1077
  #. translators: Placeholders: %s - failure message
1078
  msgid "Tokenization Request Failed: %s"
1079
  msgstr ""
1080
 
1081
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:843
1082
  #. translators: Placeholders: %1$s - payment method title, %2$s - failure
1083
  #. message
1084
  msgid "%1$s Tokenization Request Failed: %2$s"
1085
  msgstr ""
1086
 
1087
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:901
1088
  #. translators: Placeholders: %s - failure message. Payment method as in a
1089
  #. specific credit card, e-check or bank account
1090
  msgid "Oops, adding your new payment method failed: %s"
1091
  msgstr ""
1092
 
1093
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:946
1094
  #. translators: Payment method as in a specific credit card. Placeholders: %1$s
1095
  #. - card type (visa, mastercard, ...), %2$s - last four digits of the card,
1096
  #. %3$s - card expiry date
1097
  msgid "Nice! New payment method added: %1$s ending in %2$s (expires %3$s)"
1098
  msgstr ""
1099
 
1100
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:956
1101
  #. translators: Payment method as in a specific e-check account. Placeholders:
1102
  #. %1$s - account type (checking/savings), %2$s - last four digits of the
1103
  #. account
1104
  msgid "Nice! New payment method added: %1$s account ending in %2$s"
1105
  msgstr ""
1106
 
1107
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:963
1108
  #. translators: Payment method as in a specific credit card, e-check or bank
1109
  #. account
1110
  msgid "Nice! New payment method added."
1111
  msgstr ""
1112
 
1113
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:1086
1114
  #. translators: Placeholders: %1$s - site title, %2$s - customer email. Payment
1115
  #. method as in a specific credit card, e-check or bank account
1116
  msgid "%1$s - Add Payment Method for %2$s"
1153
  msgstr ""
1154
 
1155
  #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:597
1156
+ #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:1115
1157
  #. translators: Placeholders: %1$s - payment gateway title (such as
1158
  #. Authorize.net, Braintree, etc), %2$s - payment method name (mastercard, bank
1159
  #. account, etc), %3$s - last four digits of the card/account, %4$s -
1162
  msgstr ""
1163
 
1164
  #: payment-gateway/class-sv-wc-payment-gateway-hosted.php:608
1165
+ #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:1126
1166
  #. translators: Placeholders: %1$s - payment gateway title (such as CyberSouce,
1167
  #. NETbilling, etc), %2$s - account type (checking/savings - may or may not be
1168
  #. available), %3$s - last four digits of the account
1180
  msgid "Tokenization failed. %s"
1181
  msgstr ""
1182
 
1183
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:293
1184
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:607
1185
  msgid "Edit"
1186
  msgstr ""
1187
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1188
  #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:337
1189
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1269
1190
+ msgid "Title"
 
 
 
 
 
1191
  msgstr ""
1192
 
1193
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:340
1194
  msgid "Details"
1195
  msgstr ""
1196
 
1197
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:343
 
 
 
 
1198
  msgid "Default?"
1199
  msgstr ""
1200
 
1201
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:609
1202
+ msgid "Oops, there was an error updating your payment method. Please try again."
 
 
 
 
1203
  msgstr ""
1204
 
1205
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:610
1206
+ msgid "Are you sure you want to delete this payment method?"
1207
  msgstr ""
1208
 
1209
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:697
1210
+ #. translators: Payment method as in a specific credit card, eCheck or bank
1211
+ #. account
1212
+ msgid "You do not have any saved payment methods."
1213
  msgstr ""
1214
 
1215
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:872
1216
  #: payment-gateway/class-sv-wc-payment-gateway-privacy.php:200
1217
  msgid "Nickname"
1218
  msgstr ""
1219
 
1220
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:1118
 
 
 
 
1221
  msgid "Oops, you took too long, please try again."
1222
  msgstr ""
1223
 
1224
+ #: payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php:1129
1225
  msgid "There was an error with your request, please try again."
1226
  msgstr ""
1227
 
1228
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:340
 
 
 
 
 
 
 
 
 
 
 
 
1229
  msgid "Card Number"
1230
  msgstr ""
1231
 
1232
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:361
1233
  msgid "MM / YY"
1234
  msgstr ""
1235
 
1236
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:380
1237
  msgid "Card Security Code"
1238
  msgstr ""
1239
 
1240
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:383
1241
  msgid "CSC"
1242
  msgstr ""
1243
 
1244
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:423
1245
  msgid "Where do I find this?"
1246
  msgstr ""
1247
 
1248
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:429
1249
  #. translators: e-check routing number, HTML form field label,
1250
  #. https:en.wikipedia.org/wiki/Routing_transit_number
1251
  msgid "Routing Number"
1252
  msgstr ""
1253
 
1254
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:448
1255
  #. translators: e-check account number, HTML form field label
1256
  msgid "Account Number"
1257
  msgstr ""
1258
 
1259
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:514
1260
  #. translators: Test mode refers to the current software environment
1261
  msgid "TEST MODE ENABLED"
1262
  msgstr ""
1263
 
1264
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:541
1265
  msgid "Sample Check"
1266
  msgstr ""
1267
 
1268
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:616
1269
  #. translators: Payment method as in a specific credit card, eCheck or bank
1270
  #. account
1271
  msgid "Manage Payment Methods"
1272
  msgstr ""
1273
 
1274
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:753
1275
  msgid "Use a new card"
1276
  msgstr ""
1277
 
1278
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:753
1279
  msgid "Use a new bank account"
1280
  msgstr ""
1281
 
1282
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:816
1283
  #. translators: account as in customer's account on the eCommerce site
1284
  msgid "Securely Save to Account"
1285
  msgstr ""
1286
 
1287
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:950
1288
  msgid "Payment Info"
1289
  msgstr ""
1290
 
1291
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:706
1292
  #. translators: Placeholders: %1$s - plugin name, %2$s - <a> tag, %3$s - </a>
1293
  #. tag
1294
  msgid ""
1296
  "data may be at risk. %2$sVerify your site URLs here%3$s"
1297
  msgstr ""
1298
 
1299
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:723
1300
  #. translators: Placeholders: %s - payment gateway name
1301
  msgid ""
1302
  "%s will soon require TLS 1.2 support to process transactions and your "
1305
  "and request they make any necessary updates."
1306
  msgstr ""
1307
 
1308
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:779
1309
  #. translators: Placeholders: %1$s - plugin name, %2$s - a
1310
  #. currency/comma-separated list of currencies, %3$s - <a> tag, %4$s - </a> tag
1311
  msgid ""
1317
  msgstr[0] ""
1318
  msgstr[1] ""
1319
 
1320
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:814
1321
  #. translators: Placeholders: %1$s - payment gateway name, %2$s - opening <a>
1322
  #. tag, %3$s - closing </a> tag
1323
  msgid ""
1326
  "processing, we recommend %2$sturning off Debug Mode%3$s"
1327
  msgstr ""
1328
 
1329
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:865
1330
+ #. translators: Placeholders: %s - gateway name
1331
+ msgid "%s is not configured"
1332
+ msgstr ""
1333
+
1334
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:877
1335
+ msgid "Dismiss"
1336
+ msgstr ""
1337
+
1338
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:914
1339
  #. translators: Placeholders: %1$s - plugin name, %2$s - opening <a> HTML link
1340
  #. tag, %3$s - closing </a> HTML link tag
1341
  msgid ""
1343
  "Please %2$supdate WooCommerce%3$s."
1344
  msgstr ""
1345
 
1346
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:938
1347
+ #. translators: Placeholders: %1$s - plugin name, %2$s - opening <a> HTML link
1348
+ #. tag, %3$s - closing </a> HTML link tag
1349
+ msgid ""
1350
+ "Heads up! Google Pay for %1$s requires WooCommerce version 3.2 or greater. "
1351
+ "Please %2$supdate WooCommerce%3$s."
1352
+ msgstr ""
1353
+
1354
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:974
1355
  #. translators: Placeholders: %1$s - payment gateway title (such as
1356
  #. Authorize.net, Braintree, etc), %2$s - <a> tag, %3$s - </a> tag
1357
  msgid ""
1359
  "tokenization%3$s to activate %1$s for Subscriptions."
1360
  msgstr ""
1361
 
1362
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:992
1363
  #. translators: Placeholders: %1$s - payment gateway title (such as
1364
  #. Authorize.net, Braintree, etc), %2$s - <a> tag, %3$s - </a> tag
1365
  msgid ""
1367
  "tokenization%3$s to activate %1$s for Pre-Orders."
1368
  msgstr ""
1369
 
1370
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:1029
1371
  msgid ""
1372
  "You must enable tokenization for this gateway in order to support automatic "
1373
  "renewal payments with the WooCommerce Subscriptions extension."
1374
  msgstr ""
1375
 
1376
+ #: payment-gateway/class-sv-wc-payment-gateway-plugin.php:1030
1377
  msgid "Inactive"
1378
  msgstr ""
1379
 
1393
  msgid "Expiry Date"
1394
  msgstr ""
1395
 
1396
+ #: payment-gateway/class-sv-wc-payment-gateway.php:350
1397
  msgid "you successfully processed a payment!"
1398
  msgstr ""
1399
 
1400
+ #: payment-gateway/class-sv-wc-payment-gateway.php:355
1401
  msgid "you successfully processed a refund!"
1402
  msgstr ""
1403
 
1404
+ #: payment-gateway/class-sv-wc-payment-gateway.php:505
1405
  msgid "Check Number is missing"
1406
  msgstr ""
1407
 
1408
+ #: payment-gateway/class-sv-wc-payment-gateway.php:506
1409
  msgid "Drivers license state is missing"
1410
  msgstr ""
1411
 
1412
+ #: payment-gateway/class-sv-wc-payment-gateway.php:507
1413
  msgid "Drivers license number is missing"
1414
  msgstr ""
1415
 
1416
+ #: payment-gateway/class-sv-wc-payment-gateway.php:720
1417
  msgid "Continue to Payment"
1418
  msgstr ""
1419
 
1420
+ #: payment-gateway/class-sv-wc-payment-gateway.php:720
1421
  msgid "Place order"
1422
  msgstr ""
1423
 
1424
+ #: payment-gateway/class-sv-wc-payment-gateway.php:752
1425
  msgid "Thank you for your order."
1426
  msgstr ""
1427
 
1428
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1221
1429
  msgid "Credit Card"
1430
  msgstr ""
1431
 
1432
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1223
1433
  msgid "eCheck"
1434
  msgstr ""
1435
 
1436
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1241
1437
  msgid "Pay securely using your credit card."
1438
  msgstr ""
1439
 
1440
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1243
1441
  msgid "Pay securely using your checking account."
1442
  msgstr ""
1443
 
1444
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1263
1445
  msgid "Enable this gateway"
1446
  msgstr ""
1447
 
1448
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1271
 
 
 
 
1449
  msgid "Payment method title that the customer will see during checkout."
1450
  msgstr ""
1451
 
1452
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1276
1453
  msgid "Description"
1454
  msgstr ""
1455
 
1456
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1278
1457
  msgid "Payment method description that the customer will see during checkout."
1458
  msgstr ""
1459
 
1460
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1307
1461
  msgid "Detailed Decline Messages"
1462
  msgstr ""
1463
 
1464
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1309
1465
  msgid ""
1466
  "Check to enable detailed decline messages to the customer during checkout "
1467
  "when possible, rather than a generic decline message."
1468
  msgstr ""
1469
 
1470
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1319
1471
  #. translators: Placeholders: %1$s - <a> tag, %2$s - </a> tag
1472
  msgid ""
1473
  "Show Detailed Error Messages and API requests/responses on the checkout "
1474
  "page and/or save them to the %1$sdebug log%2$s"
1475
  msgstr ""
1476
 
1477
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1323
1478
  msgid "Show on Checkout Page"
1479
  msgstr ""
1480
 
1481
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1326
1482
  #. translators: show debugging information on both checkout page and in the log
1483
  msgid "Both"
1484
  msgstr ""
1485
 
1486
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1392
1487
  msgid "Select the gateway environment to use for transactions."
1488
  msgstr ""
1489
 
1490
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1446
1491
  msgid "Share connection settings"
1492
  msgstr ""
1493
 
1494
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1448
1495
  msgid "Use connection/authentication settings from other gateway"
1496
  msgstr ""
1497
 
1498
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1451
1499
  msgid "Disabled because the other gateway is using these settings"
1500
  msgstr ""
1501
 
1502
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1468
1503
  msgid "Card Verification (CSC)"
1504
  msgstr ""
1505
 
1506
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1469
1507
  msgid "Display the Card Security Code (CV2) field on checkout"
1508
  msgstr ""
1509
 
1510
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1477
1511
  msgid "Saved Card Verification"
1512
  msgstr ""
1513
 
1514
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1478
1515
  msgid "Display the Card Security Code field when paying with a saved card"
1516
  msgstr ""
1517
 
1518
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1813
1519
  #. translators: Placeholders: %1$s - site title, %2$s - order number
1520
  msgid "%1$s - Order %2$s"
1521
  msgstr ""
1522
 
1523
+ #: payment-gateway/class-sv-wc-payment-gateway.php:1942
1524
  #. translators: Placeholders: %1$s - site title, %2$s - order number.
1525
  #. Definitions: Capture as in capture funds from a credit card.
1526
  msgid "%1$s - Capture for Order %2$s"
1527
  msgstr ""
1528
 
1529
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2085
1530
  #. translators: Placeholders: %1$s - site title, %2$s - order number
1531
  msgid "%1$s - Refund for Order %2$s"
1532
  msgstr ""
1533
 
1534
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2152
1535
  #. translators: Placeholders: %1$s - payment gateway title (such as
1536
  #. Authorize.net, Braintree, etc), %2$s - a monetary amount
1537
  msgid "%1$s Refund in the amount of %2$s approved."
1538
  msgstr ""
1539
 
1540
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2182
1541
  #. translators: Placeholders: %1$s - payment gateway title (such as
1542
  #. Authorize.net, Braintree, etc), %2$s - error code, %3$s - error message
1543
  msgid "%1$s Refund Failed: %2$s - %3$s"
1544
  msgstr ""
1545
 
1546
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2190
1547
  #. translators: Placeholders: %1$s - payment gateway title (such as
1548
  #. Authorize.net, Braintree, etc), %2$s - error message
1549
  msgid "%1$s Refund Failed: %2$s"
1550
  msgstr ""
1551
 
1552
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2211
1553
  #. translators: Placeholders: %s - payment gateway title (such as
1554
  #. Authorize.net, Braintree, etc)
1555
  msgid "%s Order completely refunded."
1556
  msgstr ""
1557
 
1558
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2266
1559
  msgid ""
1560
  "Oops, you cannot partially void this order. Please use the full order "
1561
  "amount."
1562
  msgstr ""
1563
 
1564
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2353
1565
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error code,
1566
  #. %3$s - error message. Void as in to void an order.
1567
  msgid "%1$s Void Failed: %2$s - %3$s"
1568
  msgstr ""
1569
 
1570
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2361
1571
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1572
  #. message. Void as in to void an order.
1573
  msgid "%1$s Void Failed: %2$s"
1574
  msgstr ""
1575
 
1576
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2385
1577
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - a monetary
1578
  #. amount. Void as in to void an order.
1579
  msgid "%1$s Void in the amount of %2$s approved."
1580
  msgstr ""
1581
 
1582
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2677
1583
  #. translators: Placeholders: %1$s - payment method title, %2$s - environment
1584
  #. ("Test"), %3$s - transaction type (authorization/charge)
1585
  msgid "%1$s %2$s %3$s Approved"
1586
  msgstr ""
1587
 
1588
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2687
1589
  #. translators: Placeholders: %1$s - credit card type (MasterCard, Visa,
1590
  #. etc...), %2$s - last four digits of the card
1591
  msgid "%1$s ending in %2$s"
1592
  msgstr ""
1593
 
1594
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2783
1595
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - message
1596
  #. (probably reason for the transaction being held for review)
1597
  msgid "%1$s Transaction Held for Review (%2$s)"
1598
  msgstr ""
1599
 
1600
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2872
1601
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1602
  #. message; e.g. Order Note: [Payment method] Payment failed [error]
1603
  msgid "%1$s Payment Failed (%2$s)"
1604
  msgstr ""
1605
 
1606
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2907
1607
  #. translators: Placeholders: %1$s - payment gateway title, %2$s -
1608
  #. message/error
1609
  msgid "%1$s Transaction Cancelled (%2$s)"
1610
  msgstr ""
1611
 
1612
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3155
1613
  msgid "Transaction Type"
1614
  msgstr ""
1615
 
1616
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3157
1617
  msgid ""
1618
  "Select how transactions should be processed. Charge submits all "
1619
  "transactions for settlement, Authorization simply authorizes the order "
1620
  "total for capture later."
1621
  msgstr ""
1622
 
1623
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3168
1624
  msgid "Charge Virtual-Only Orders"
1625
  msgstr ""
1626
 
1627
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3170
1628
  msgid ""
1629
  "If the order contains exclusively virtual items, enable this to immediately "
1630
  "charge, rather than authorize, the transaction."
1631
  msgstr ""
1632
 
1633
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3178
1634
  msgid "Enable Partial Capture"
1635
  msgstr ""
1636
 
1637
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3180
1638
  msgid "Allow orders to be partially captured multiple times."
1639
  msgstr ""
1640
 
1641
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3192
1642
  msgid "Capture Paid Orders"
1643
  msgstr ""
1644
 
1645
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3195
1646
  msgid "Automatically capture orders when they are changed to %s."
1647
  msgstr ""
1648
 
1649
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3196
1650
  msgid "a paid status"
1651
  msgstr ""
1652
 
1653
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3386
1654
  msgid "Accepted Card Logos"
1655
  msgstr ""
1656
 
1657
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3388
1658
  msgid ""
1659
  "These are the card logos that are displayed to customers as accepted during "
1660
  "checkout."
1661
  msgstr ""
1662
 
1663
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3391
1664
  #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag
1665
  msgid ""
1666
  "This setting %1$sdoes not%2$s change which card types the gateway will "
1667
  "accept. Accepted cards are configured from your payment processor account."
1668
  msgstr ""
1669
 
1670
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3482
1671
  #. translators:
1672
  #. http:www.cybersource.com/products/payment_security/payment_tokenization/ and
1673
  #. https:en.wikipedia.org/wiki/Tokenization_(data_security)
1674
  msgid "Tokenization"
1675
  msgstr ""
1676
 
1677
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3483
1678
  msgid "Allow customers to securely save their payment details for future checkout."
1679
  msgstr ""
1680
 
1681
+ #: payment-gateway/class-sv-wc-payment-gateway.php:4302
1682
  #. translators: %1$s - gateway name, %2$s - <a> tag, %3$s - </a> tag, %4$s -
1683
  #. <a> tag, %5$s - </a> tag
1684
  msgid ""
1710
  msgid "Pre-Order Release Payment Failed: %s"
1711
  msgstr ""
1712
 
1713
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:349
1714
  msgid "Subscription Renewal: payment token is missing/invalid."
1715
  msgstr ""
1716
 
1717
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:375
1718
  msgid "%1$s - Subscription Renewal Order %2$s"
1719
  msgstr ""
1720
 
1721
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:507
1722
  #. translators: Placeholders: %1$s - payment gateway title, %2$s - error
1723
  #. message; e.g. Order Note: [Payment method] Payment Change failed [error]
1724
  msgid "%1$s Payment Change Failed (%2$s)"
1725
  msgstr ""
1726
 
1727
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:650
1728
  msgid "Via %s ending in %s"
1729
  msgstr ""
1730
 
1731
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:677
1732
  msgid "Subscriptions"
1733
  msgstr ""
1734
 
1735
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:738
1736
+ msgid "N/A"
 
 
1737
  msgstr ""
1738
 
1739
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:837
1740
  msgid "Payment Token"
1741
  msgstr ""
1742
 
1743
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:866
1744
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:871
1745
  msgid "%s is required."
1746
  msgstr ""
1747
 
1748
+ #: payment-gateway/payment-tokens/class-sv-wc-payment-gateway-payment-tokens-handler.php:181
1749
  msgid "Unknown Error"
1750
  msgstr ""
1751
 
1752
+ #: rest-api/Controllers/Settings.php:83
1753
+ msgid "Unique identifier for the resource."
1754
+ msgstr ""
1755
+
1756
+ #: rest-api/Controllers/Settings.php:118
1757
+ msgid "Sorry, you cannot list resources."
1758
+ msgstr ""
1759
+
1760
+ #: rest-api/Controllers/Settings.php:167
1761
+ #. translators: Placeholder: %s - setting ID
1762
+ msgid "Setting %s does not exist"
1763
+ msgstr ""
1764
+
1765
+ #: rest-api/Controllers/Settings.php:190
1766
+ msgid "Sorry, you cannot edit this resource."
1767
+ msgstr ""
1768
+
1769
+ #: rest-api/Controllers/Settings.php:223
1770
+ msgid "Could not update setting: %s"
1771
+ msgstr ""
1772
+
1773
+ #: rest-api/Controllers/Settings.php:293
1774
+ msgid "Unique identifier of the setting."
1775
+ msgstr ""
1776
+
1777
+ #: rest-api/Controllers/Settings.php:299
1778
+ msgid "The type of the setting."
1779
+ msgstr ""
1780
+
1781
+ #: rest-api/Controllers/Settings.php:306
1782
+ msgid "The name of the setting."
1783
+ msgstr ""
1784
+
1785
+ #: rest-api/Controllers/Settings.php:312
1786
+ msgid "The description of the setting. It may or may not be used for display."
1787
+ msgstr ""
1788
+
1789
+ #: rest-api/Controllers/Settings.php:318
1790
+ msgid "Whether the setting stores an array of values or a single value."
1791
+ msgstr ""
1792
+
1793
+ #: rest-api/Controllers/Settings.php:324
1794
+ msgid "A list of valid options, used for validation before storing the value."
1795
+ msgstr ""
1796
+
1797
+ #: rest-api/Controllers/Settings.php:330
1798
+ msgid "Optional default value for the setting."
1799
+ msgstr ""
1800
+
1801
+ #: rest-api/Controllers/Settings.php:336
1802
+ msgid "The value of the setting."
1803
+ msgstr ""
1804
+
1805
+ #: rest-api/Controllers/Settings.php:341
1806
+ msgid ""
1807
+ "Optional object that defines how the user will interact with and update the "
1808
+ "setting."
1809
+ msgstr ""
1810
+
1811
+ #: rest-api/Controllers/Settings.php:345
1812
+ msgid "The type of the control."
1813
+ msgstr ""
1814
+
1815
+ #: rest-api/Controllers/Settings.php:352
1816
+ msgid "The name of the control. Inherits the setting's name."
1817
+ msgstr ""
1818
+
1819
+ #: rest-api/Controllers/Settings.php:358
1820
+ msgid "The description of the control. Inherits the setting's description."
1821
+ msgstr ""
1822
+
1823
+ #: rest-api/Controllers/Settings.php:364
1824
+ msgid ""
1825
+ "A list of key/value pairs defining the display value of each setting "
1826
+ "option. The keys should match the options defined in the base setting for "
1827
+ "validation."
1828
+ msgstr ""
1829
+
1830
  #: utilities/class-sv-wp-background-job-handler.php:644
1831
  msgid "Job data key \"%s\" not set"
1832
  msgstr ""
1913
  msgid "Searching&hellip;"
1914
  msgstr ""
1915
 
1916
+ #: class-sv-wc-helper.php:410
1917
  msgctxt "coordinating conjunction for a list of items: a, b, and c"
1918
  msgid "and"
1919
  msgstr ""
1920
 
1921
+ #: class-sv-wc-plugin.php:663
1922
  msgctxt "noun"
1923
  msgid "Support"
1924
  msgstr ""
1925
 
1926
+ #: class-sv-wc-plugin.php:668
1927
  msgctxt "verb"
1928
  msgid "Review"
1929
  msgstr ""
1930
 
1931
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:749
1932
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2679
1933
  msgctxt "noun, software environment"
1934
  msgid "Test"
1935
  msgstr ""
1936
 
1937
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:750
1938
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2680
1939
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3161
1940
  msgctxt "credit card transaction type"
1941
  msgid "Authorization"
1942
  msgstr ""
1943
 
1944
+ #: payment-gateway/class-sv-wc-payment-gateway-direct.php:750
1945
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2680
1946
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3160
1947
  msgctxt "noun, credit card transaction type"
1948
  msgid "Charge"
1949
  msgstr ""
1954
  msgstr ""
1955
 
1956
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:229
1957
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3419
1958
  msgctxt "credit card type"
1959
  msgid "Visa"
1960
  msgstr ""
1961
 
1962
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:233
1963
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3420
1964
  msgctxt "credit card type"
1965
  msgid "MasterCard"
1966
  msgstr ""
1967
 
1968
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:237
1969
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3421
1970
  msgctxt "credit card type"
1971
  msgid "American Express"
1972
  msgstr ""
1977
  msgstr ""
1978
 
1979
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:245
1980
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3422
1981
  msgctxt "credit card type"
1982
  msgid "Discover"
1983
  msgstr ""
1984
 
1985
  #: payment-gateway/class-sv-wc-payment-gateway-helper.php:249
1986
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3424
1987
  msgctxt "credit card type"
1988
  msgid "JCB"
1989
  msgstr ""
2003
  msgid "Laser"
2004
  msgstr ""
2005
 
2006
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3423
2007
  msgctxt "credit card type"
2008
  msgid "Diners"
2009
  msgstr ""
2010
 
2011
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:474
2012
  #. translators: http:www.investopedia.com/terms/c/checkingaccount.asp
2013
  msgctxt "account type"
2014
  msgid "Checking"
2015
  msgstr ""
2016
 
2017
+ #: payment-gateway/class-sv-wc-payment-gateway-payment-form.php:476
2018
  #. translators: http:www.investopedia.com/terms/s/savingsaccount.asp
2019
  msgctxt "account type"
2020
  msgid "Savings"
2021
  msgstr ""
2022
 
2023
+ #: payment-gateway/class-sv-wc-payment-gateway.php:2460
2024
  msgctxt "hash before order number"
2025
  msgid "#"
2026
  msgstr ""
2027
 
2028
+ #: payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php:732
2029
  msgctxt "hash before order number"
2030
  msgid "#%s"
2031
  msgstr ""
2032
 
2033
+ #: payment-gateway/class-sv-wc-payment-gateway.php:3189
2034
  msgctxt ""
2035
  "coordinating conjunction for a list of order statuses: on-hold, processing, "
2036
  "or completed"
2037
  msgid "or"
2038
  msgstr ""
2039
 
2040
+ #: payment-gateway/class-sv-wc-payment-gateway.php:4028
2041
  #. translators: https:www.skyverge.com/for-translators-environments/
2042
  msgctxt "software environment"
2043
  msgid "Production"
vendor/skyverge/wc-plugin-framework/woocommerce/rest-api/Controllers/Settings.php ADDED
@@ -0,0 +1,382 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * WooCommerce Plugin Framework
4
+ *
5
+ * This source file is subject to the GNU General Public License v3.0
6
+ * that is bundled with this package in the file license.txt.
7
+ * It is also available through the world-wide-web at this URL:
8
+ * http://www.gnu.org/licenses/gpl-3.0.html
9
+ * If you did not receive a copy of the license and are unable to
10
+ * obtain it through the world-wide-web, please send an email
11
+ * to license@skyverge.com so we can send you a copy immediately.
12
+ *
13
+ * DISCLAIMER
14
+ *
15
+ * Do not edit or add to this file if you wish to upgrade the plugin to newer
16
+ * versions in the future. If you wish to customize the plugin for your
17
+ * needs please refer to http://www.skyverge.com
18
+ *
19
+ * @package SkyVerge/WooCommerce/Plugin/Classes
20
+ * @author SkyVerge
21
+ * @copyright Copyright (c) 2013-2020, SkyVerge, Inc.
22
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
+ */
24
+
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0\REST_API\Controllers;
26
+
27
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\Settings_API\Abstract_Settings;
28
+ use SkyVerge\WooCommerce\PluginFramework\v5_10_0\Settings_API\Setting;
29
+
30
+ defined( 'ABSPATH' ) or exit;
31
+
32
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\REST_API\\Controllers\\Settings' ) ) :
33
+
34
+ /**
35
+ * The settings controller class.
36
+ *
37
+ * @since 5.7.0
38
+ */
39
+ class Settings extends \WP_REST_Controller {
40
+
41
+
42
+ /** @var Abstract_Settings settings handler */
43
+ protected $settings;
44
+
45
+
46
+ /**
47
+ * Settings constructor.
48
+ *
49
+ * @since 5.7.0
50
+ *
51
+ * @param Abstract_Settings $settings settings handler
52
+ */
53
+ public function __construct( Abstract_Settings $settings ) {
54
+
55
+ $this->settings = $settings;
56
+ $this->namespace = 'wc/v3';
57
+ $this->rest_base = "{$settings->get_id()}/settings";
58
+ }
59
+
60
+
61
+ /**
62
+ * Registers the API routes.
63
+ *
64
+ * @since 5.7.0
65
+ */
66
+ public function register_routes() {
67
+
68
+ register_rest_route(
69
+ $this->namespace, "/{$this->rest_base}", [
70
+ [
71
+ 'methods' => \WP_REST_Server::READABLE,
72
+ 'callback' => [ $this, 'get_items' ],
73
+ 'permission_callback' => [ $this, 'get_items_permissions_check' ],
74
+ ],
75
+ 'schema' => [ $this, 'get_public_item_schema' ],
76
+ ]
77
+ );
78
+
79
+ register_rest_route(
80
+ $this->namespace, "/{$this->rest_base}/(?P<id>[\w-]+)", [
81
+ 'args' => [
82
+ 'id' => [
83
+ 'description' => __( 'Unique identifier for the resource.', 'woocommerce' ),
84
+ 'type' => 'string',
85
+ ],
86
+ ],
87
+ [
88
+ 'methods' => \WP_REST_Server::READABLE,
89
+ 'callback' => [ $this, 'get_item' ],
90
+ 'permission_callback' => [ $this, 'get_items_permissions_check' ],
91
+ ],
92
+ [
93
+ 'methods' => \WP_REST_Server::EDITABLE,
94
+ 'callback' => [ $this, 'update_item' ],
95
+ 'permission_callback' => [ $this, 'update_item_permissions_check' ],
96
+ 'args' => $this->get_endpoint_args_for_item_schema( \WP_REST_Server::EDITABLE ),
97
+ ],
98
+ 'schema' => [ $this, 'get_public_item_schema' ],
99
+ ]
100
+ );
101
+ }
102
+
103
+
104
+ /** Read methods **************************************************************************************************/
105
+
106
+
107
+ /**
108
+ * Checks whether the user has permissions to get settings.
109
+ *
110
+ * @since 5.7.0
111
+ *
112
+ * @param \WP_REST_Request $request request object
113
+ * @return bool|\WP_Error
114
+ */
115
+ public function get_items_permissions_check( $request ) {
116
+
117
+ if ( ! wc_rest_check_manager_permissions( 'settings', 'read' ) ) {
118
+ return new \WP_Error( 'wc_rest_cannot_view', __( 'Sorry, you cannot list resources.', 'woocommerce-plugin-framework' ), [ 'status' => rest_authorization_required_code() ] );
119
+ }
120
+
121
+ return true;
122
+ }
123
+
124
+
125
+ /**
126
+ * Gets all registered settings.
127
+ *
128
+ * @since 5.7.0
129
+ *
130
+ * @param \WP_REST_Request $request request object
131
+ * @return \WP_REST_Response|\WP_Error
132
+ */
133
+ public function get_items( $request ) {
134
+
135
+ $items = [];
136
+
137
+ foreach ( $this->settings->get_settings() as $setting ) {
138
+ $items[] = $this->prepare_setting_item( $setting, $request );
139
+ }
140
+
141
+ return rest_ensure_response( $items );
142
+ }
143
+
144
+
145
+ /**
146
+ * Gets a single setting.
147
+ *
148
+ * @since 5.7.0
149
+ *
150
+ * @param \WP_REST_Request $request request object
151
+ * @return \WP_REST_Response|\WP_Error
152
+ */
153
+ public function get_item( $request ) {
154
+
155
+ $setting_id = $request->get_param( 'id' );
156
+
157
+ if ( $setting = $this->settings->get_setting( $setting_id ) ) {
158
+
159
+ return rest_ensure_response( $this->prepare_setting_item( $setting, $request ) );
160
+
161
+ } else {
162
+
163
+ return new \WP_Error(
164
+ 'wc_rest_setting_not_found',
165
+ sprintf(
166
+ /* translators: Placeholder: %s - setting ID */
167
+ __( 'Setting %s does not exist', 'woocommerce-plugin-framework' ),
168
+ $setting_id
169
+ ),
170
+ [ 'status' => 404 ]
171
+ );
172
+ }
173
+ }
174
+
175
+
176
+ /** Update methods ************************************************************************************************/
177
+
178
+
179
+ /**
180
+ * Checks whether the user has permissions to update a setting.
181
+ *
182
+ * @since 5.7.0
183
+ *
184
+ * @param \WP_REST_Request $request request object
185
+ * @return bool|\WP_Error
186
+ */
187
+ public function update_item_permissions_check( $request ) {
188
+
189
+ if ( ! wc_rest_check_manager_permissions( 'settings', 'edit' ) ) {
190
+ return new \WP_Error( 'wc_rest_cannot_edit', __( 'Sorry, you cannot edit this resource.', 'woocommerce-plugin-framework' ), [ 'status' => rest_authorization_required_code() ] );
191
+ }
192
+
193
+ return true;
194
+ }
195
+
196
+
197
+ /**
198
+ * Updates a single setting.
199
+ *
200
+ * @since 5.7.0
201
+ *
202
+ * @param \WP_REST_Request $request request object
203
+ * @return WP_Error|WP_REST_Response
204
+ */
205
+ public function update_item( $request ) {
206
+
207
+ try {
208
+
209
+ $setting_id = $request->get_param( 'id' );
210
+ $value = $request->get_param( 'value' );
211
+
212
+ // throws an exception if the setting doesn't exist or the value is not valid
213
+ $this->settings->update_value( $setting_id, $value );
214
+
215
+ return rest_ensure_response( $this->prepare_setting_item( $this->settings->get_setting( $setting_id ), $request ) );
216
+
217
+ } catch ( \Exception $e ) {
218
+
219
+ return new \WP_Error(
220
+ 'wc_rest_setting_could_not_update',
221
+ sprintf(
222
+ /* Placeholders: %s - error message */
223
+ __( 'Could not update setting: %s', 'woocommerce-plugin-framework' ),
224
+ $e->getMessage()
225
+ ),
226
+ [ 'status' => $e->getCode() ?: 400 ]
227
+ );
228
+ }
229
+ }
230
+
231
+
232
+ /** Utility methods ***********************************************************************************************/
233
+
234
+
235
+ /**
236
+ * Prepares the item for the REST response.
237
+ *
238
+ * @since 5.7.0
239
+ *
240
+ * @param Setting $setting a setting object
241
+ * @param \WP_REST_Request $request request object
242
+ * @return array
243
+ */
244
+ public function prepare_setting_item( $setting, $request ) {
245
+
246
+ if ( $setting instanceof Setting ) {
247
+
248
+ $item = [
249
+ 'id' => $setting->get_id(),
250
+ 'type' => $setting->get_type(),
251
+ 'name' => $setting->get_name(),
252
+ 'description' => $setting->get_description(),
253
+ 'is_multi' => $setting->is_is_multi(),
254
+ 'options' => $setting->get_options(),
255
+ 'default' => $setting->get_default(),
256
+ 'value' => $setting->get_value(),
257
+ 'control' => null,
258
+ ];
259
+
260
+ if ( $control = $setting->get_control() ) {
261
+ $item['control'] = [
262
+ 'type' => $control->get_type(),
263
+ 'name' => $control->get_name(),
264
+ 'description' => $control->get_description(),
265
+ 'options' => $control->geT_options(),
266
+ ];
267
+ }
268
+
269
+ } else {
270
+
271
+ $item = [];
272
+ }
273
+
274
+ return $item;
275
+ }
276
+
277
+
278
+ /**
279
+ * Retrieves the item's schema, conforming to JSON Schema.
280
+ *
281
+ * @since 5.7.0
282
+ *
283
+ * @return array
284
+ */
285
+ public function get_item_schema() {
286
+
287
+ $schema = [
288
+ '$schema' => 'http://json-schema.org/draft-04/schema#',
289
+ 'title' => "{$this->settings->get_id()}_setting",
290
+ 'type' => 'object',
291
+ 'properties' => [
292
+ 'id' => [
293
+ 'description' => __( 'Unique identifier of the setting.', 'woocommerce-plugin-framework' ),
294
+ 'type' => 'string',
295
+ 'context' => [ 'view', 'edit' ],
296
+ 'readonly' => true,
297
+ ],
298
+ 'type' => [
299
+ 'description' => __( 'The type of the setting.', 'woocommerce-plugin-framework' ),
300
+ 'type' => 'string',
301
+ 'context' => [ 'view', 'edit' ],
302
+ 'enum' => $this->settings->get_setting_types(),
303
+ 'readonly' => true,
304
+ ],
305
+ 'name' => [
306
+ 'description' => __( 'The name of the setting.', 'woocommerce-plugin-framework' ),
307
+ 'type' => 'string',
308
+ 'context' => [ 'view', 'edit' ],
309
+ 'readonly' => true,
310
+ ],
311
+ 'description' => [
312
+ 'description' => __( 'The description of the setting. It may or may not be used for display.', 'woocommerce-plugin-framework' ),
313
+ 'type' => 'string',
314
+ 'context' => [ 'view', 'edit' ],
315
+ 'readonly' => true,
316
+ ],
317
+ 'is_multi' => [
318
+ 'description' => __( 'Whether the setting stores an array of values or a single value.', 'woocommerce-plugin-framework' ),
319
+ 'type' => 'boolean',
320
+ 'context' => [ 'view', 'edit' ],
321
+ 'readonly' => true,
322
+ ],
323
+ 'options' => [
324
+ 'description' => __( 'A list of valid options, used for validation before storing the value.', 'woocommerce-plugin-framework' ),
325
+ 'type' => 'array',
326
+ 'context' => [ 'view', 'edit' ],
327
+ 'readonly' => true,
328
+ ],
329
+ 'default' => [
330
+ 'description' => __( 'Optional default value for the setting.', 'woocommerce-plugin-framework' ),
331
+ 'type' => 'string',
332
+ 'context' => [ 'view', 'edit' ],
333
+ 'readonly' => true,
334
+ ],
335
+ 'value' => [
336
+ 'description' => __( 'The value of the setting.', 'woocommerce-plugin-framework' ),
337
+ 'type' => 'string',
338
+ 'context' => [ 'view', 'edit' ],
339
+ ],
340
+ 'control' => [
341
+ 'description' => __( 'Optional object that defines how the user will interact with and update the setting.', 'woocommerce-memberships' ),
342
+ 'type' => 'object',
343
+ 'properties' => [
344
+ 'type' => [
345
+ 'description' => __( 'The type of the control.', 'woocommerce-plugin-framework' ),
346
+ 'type' => 'string',
347
+ 'context' => [ 'view', 'edit' ],
348
+ 'enum' => $this->settings->get_control_types(),
349
+ 'readonly' => true,
350
+ ],
351
+ 'name' => [
352
+ 'description' => __( "The name of the control. Inherits the setting's name.", 'woocommerce-plugin-framework' ),
353
+ 'type' => 'string',
354
+ 'context' => [ 'view', 'edit' ],
355
+ 'readonly' => true,
356
+ ],
357
+ 'description' => [
358
+ 'description' => __( "The description of the control. Inherits the setting's description.", 'woocommerce-plugin-framework' ),
359
+ 'type' => 'string',
360
+ 'context' => [ 'view', 'edit' ],
361
+ 'readonly' => true,
362
+ ],
363
+ 'options' => [
364
+ 'description' => __( 'A list of key/value pairs defining the display value of each setting option. The keys should match the options defined in the base setting for validation.', 'woocommerce-plugin-framework' ),
365
+ 'type' => 'array',
366
+ 'context' => [ 'view', 'edit' ],
367
+ 'readonly' => true,
368
+ ],
369
+ ],
370
+ 'context' => [ 'view', 'edit' ],
371
+ 'readonly' => true,
372
+ ],
373
+ ],
374
+ ];
375
+
376
+ return $this->add_additional_fields_schema( $schema );
377
+ }
378
+
379
+
380
+ }
381
+
382
+ endif;
vendor/skyverge/wc-plugin-framework/woocommerce/rest-api/class-sv-wc-plugin-rest-api.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\REST_API' ) ) :
30
 
31
 
32
  /**
@@ -134,7 +134,12 @@ class REST_API {
134
  */
135
  public function register_routes() {
136
 
137
- // stub
 
 
 
 
 
138
  }
139
 
140
 
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\REST_API' ) ) :
30
 
31
 
32
  /**
134
  */
135
  public function register_routes() {
136
 
137
+ if ( $settings = $this->get_plugin()->get_settings_handler() ) {
138
+
139
+ $settings_controller = new REST_API\Controllers\Settings( $settings );
140
+
141
+ $settings_controller->register_routes();
142
+ }
143
  }
144
 
145
 
vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-async-request.php CHANGED
@@ -23,11 +23,11 @@
23
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
24
  */
25
 
26
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
27
 
28
  defined( 'ABSPATH' ) or exit;
29
 
30
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WP_Async_Request' ) ) :
31
 
32
 
33
  /**
23
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
24
  */
25
 
26
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
27
 
28
  defined( 'ABSPATH' ) or exit;
29
 
30
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WP_Async_Request' ) ) :
31
 
32
 
33
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-background-job-handler.php CHANGED
@@ -23,11 +23,11 @@
23
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
24
  */
25
 
26
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
27
 
28
  defined( 'ABSPATH' ) or exit;
29
 
30
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WP_Background_Job_Handler' ) ) :
31
 
32
 
33
  /**
23
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
24
  */
25
 
26
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
27
 
28
  defined( 'ABSPATH' ) or exit;
29
 
30
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WP_Background_Job_Handler' ) ) :
31
 
32
 
33
  /**
vendor/skyverge/wc-plugin-framework/woocommerce/utilities/class-sv-wp-job-batch-handler.php CHANGED
@@ -22,11 +22,11 @@
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
- namespace SkyVerge\WooCommerce\PluginFramework\v5_5_4;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
- if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_5_4\\SV_WP_Job_Batch_Handler' ) ) :
30
 
31
 
32
  /**
22
  * @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License v3.0
23
  */
24
 
25
+ namespace SkyVerge\WooCommerce\PluginFramework\v5_10_0;
26
 
27
  defined( 'ABSPATH' ) or exit;
28
 
29
+ if ( ! class_exists( '\\SkyVerge\\WooCommerce\\PluginFramework\\v5_10_0\\SV_WP_Job_Batch_Handler' ) ) :
30
 
31
 
32
  /**