Changeset 3481543
- Timestamp:
- 03/12/2026 10:36:18 PM (3 weeks ago)
- Location:
- autoship-cloud/trunk
- Files:
-
- 82 added
- 10 deleted
- 30 edited
-
WebChat (deleted)
-
app/Core/Implementations/WordPressFeatureManager.php (modified) (2 diffs)
-
app/Core/Plugin.php (modified) (5 diffs)
-
app/Domain/Healthcheck (added)
-
app/Domain/Healthcheck/HttpErrorCodes.php (added)
-
app/Domain/PaymentIntegrations/AirwallexPaymentIntegration.php (modified) (1 diff)
-
app/Domain/PaymentIntegrations/AuthorizeNetPaymentIntegration.php (modified) (1 diff)
-
app/Domain/PaymentIntegrations/BraintreePaymentIntegration.php (modified) (1 diff)
-
app/Domain/PaymentIntegrations/CheckoutPaymentIntegration.php (modified) (1 diff)
-
app/Domain/PaymentIntegrations/CyberSourceV2PaymentIntegration.php (modified) (1 diff)
-
app/Domain/PaymentIntegrations/NmiPaymentIntegration.php (modified) (1 diff)
-
app/Domain/PaymentIntegrations/PayPalPaymentIntegration.php (modified) (1 diff)
-
app/Domain/PaymentIntegrations/PayaV1PaymentIntegration.php (modified) (1 diff)
-
app/Domain/PaymentIntegrations/SagePaymentIntegration.php (modified) (1 diff)
-
app/Domain/PaymentIntegrations/SquarePaymentIntegration.php (modified) (1 diff)
-
app/Domain/PaymentIntegrations/StripePaymentIntegration.php (modified) (2 diffs)
-
app/Domain/PaymentIntegrations/TrustCommercePaymentIntegration.php (modified) (1 diff)
-
app/Modules/Healthcheck (added)
-
app/Modules/Healthcheck/Compatibility (added)
-
app/Modules/Healthcheck/Compatibility/HealthcheckCompatibility.php (added)
-
app/Modules/Healthcheck/Controllers (added)
-
app/Modules/Healthcheck/Controllers/HealthcheckAjaxController.php (added)
-
app/Modules/Healthcheck/Controllers/HealthcheckRestController.php (added)
-
app/Modules/Healthcheck/HealthcheckModule.php (added)
-
app/Modules/Healthcheck/HealthcheckService.php (added)
-
app/Modules/Payments/Compatibility/PaymentsCompatibilityManager.php (modified) (1 diff)
-
app/Modules/Payments/Services/PaymentsCompatibilityService.php (modified) (1 diff)
-
app/Services/Healthcheck (added)
-
app/Services/Healthcheck/HealthcheckSettingsInterface.php (added)
-
app/Services/Healthcheck/Implementations (added)
-
app/Services/Healthcheck/Implementations/WordPressHealthcheckSettings.php (added)
-
app/Services/Labels (added)
-
app/Services/Labels/Implementations (added)
-
app/Services/Labels/Implementations/WordPressLabelService.php (added)
-
app/Services/Labels/LabelServiceInterface.php (added)
-
autoship.php (modified) (4 diffs)
-
config (deleted)
-
docs (added)
-
docs/assessments (added)
-
docs/assessments/01-executive-summary.md (added)
-
docs/assessments/02-architecture-overview.md (added)
-
docs/assessments/03-feature-analysis.md (added)
-
docs/assessments/04-technical-debt.md (added)
-
docs/assessments/05-security-assessment.md (added)
-
docs/assessments/06-testing-strategy.md (added)
-
docs/assessments/07-observability-plan.md (added)
-
docs/assessments/08-deployment-reality.md (added)
-
docs/assessments/09-modernization-roadmap.md (added)
-
docs/assessments/10-immediate-actions.md (added)
-
docs/assessments/README.md (added)
-
docs/features (added)
-
docs/features/quicklinks (added)
-
docs/features/quicklinks/README.md (added)
-
docs/features/quicklinks/developer-guide.md (added)
-
docs/features/quicklinks/h3-two-step-confirmation-plan.md (added)
-
docs/features/quicklinks/implementation-plan.md (added)
-
docs/features/quicklinks/references (added)
-
docs/features/quicklinks/references/architecture.md (added)
-
docs/features/quicklinks/references/coding-standards.md (added)
-
docs/features/quicklinks/security-guide.md (added)
-
docs/features/quicklinks/shopify-vs-woo-implementation.md (added)
-
docs/features/quicklinks/testing-guide.md (added)
-
docs/guidelines.md (added)
-
docs/guides (added)
-
docs/guides/QMC_DESIGN_SYSTEM.md (added)
-
docs/issues (added)
-
docs/issues/division_by_zero_percent_discount (added)
-
docs/issues/division_by_zero_percent_discount/README.md (added)
-
docs/issues/wp_enqueue_script_module_type_error (added)
-
docs/issues/wp_enqueue_script_module_type_error/README.md (added)
-
docs/payments (added)
-
docs/payments/Feature-Flagging-Proposal.md (added)
-
docs/payments/Gateway-Migration-Estimates.md (added)
-
docs/payments/Migration-Components-Breakdown.md (added)
-
docs/payments/Payment-Gateway-Migration-Review.md (added)
-
docs/payments/QPilot-Feature-Flags-Implementation.md (added)
-
docs/payments/README.md (added)
-
docs/payments/Stripe-Migration-Plan.md (added)
-
docs/plan.md (added)
-
docs/project_modules.md (added)
-
docs/projects (added)
-
docs/projects/modernization_project.md (added)
-
docs/projects/payments (added)
-
docs/projects/payments/mercado-pago.md (added)
-
docs/projects/quicklaunch-controller-migration (added)
-
docs/projects/quicklaunch-controller-migration/README.md (added)
-
docs/queue-tasks (added)
-
docs/queue-tasks/conditional-qmc-script-loading (added)
-
docs/queue-tasks/conditional-qmc-script-loading/README.md (added)
-
docs/queue-tasks/filterable-qmc-components-url (added)
-
docs/queue-tasks/filterable-qmc-components-url/README.md (added)
-
docs/queue-tasks/integrate-quick-actions-retain-grow (added)
-
docs/queue-tasks/integrate-quick-actions-retain-grow/README.md (added)
-
docs/roadmap.md (added)
-
docs/tasks.md (added)
-
js/admin.js (modified) (1 diff)
-
js/admin/qmc-overlay-fix.js (added)
-
js/batch.js (modified) (1 diff)
-
languages/autoship.pot (modified) (62 diffs)
-
readme.txt (modified) (2 diffs)
-
src/admin.php (modified) (4 diffs)
-
src/api-health.php (deleted)
-
src/api.php (modified) (5 diffs)
-
src/deprecated.php (deleted)
-
src/export.php (deleted)
-
src/import.php (deleted)
-
src/languages.php (deleted)
-
src/legacy (added)
-
src/legacy/deprecated.php (added)
-
src/legacy/healthchecks.php (added)
-
src/legacy/languages.php (added)
-
src/legacy/logger.php (added)
-
src/logger.php (deleted)
-
src/payments.php (modified) (1 diff)
-
src/scripts.php (modified) (2 diffs)
-
src/shortcodes.php (modified) (3 diffs)
-
src/upgrade.php (deleted)
-
styles/qmc.css (modified) (1 diff)
-
templates/admin/settings/options.php (modified) (1 diff)
-
templates/webchat (deleted)
-
vendor/composer/autoload_classmap.php (modified) (3 diffs)
-
vendor/composer/autoload_static.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
autoship-cloud/trunk/app/Core/Implementations/WordPressFeatureManager.php
r3475704 r3481543 55 55 'qmc_components' => true, 56 56 'payments' => true, 57 'healthcheck' => true, 57 58 'utilities' => true, 58 59 … … 160 161 if ( $this->is_payment_gateway_feature( $feature ) ) { 161 162 $remote_flags = $this->resolve_remote_flags(); 162 Logger::log( 'Feature Manager', "Checking feature '{$feature}' - Remote flags: " . ( is_array( $remote_flags ) ? implode( ', ', $remote_flags ) : 'null' ) ); 163 164 if ( Logger::is_tracing_enabled() ) { 165 Logger::log( 'Feature Manager', "Checking feature '{$feature}' - Remote flags: " . ( is_array( $remote_flags ) ? implode( ', ', $remote_flags ) : 'null' ) ); 166 } 167 163 168 if ( null !== $remote_flags ) { 164 169 return in_array( $feature, $remote_flags, true ); -
autoship-cloud/trunk/app/Core/Plugin.php
r3475704 r3481543 20 20 use Autoship\Core\Implementations\WordPressSettings; 21 21 use Autoship\Services\QPilot\QPilotServiceFactory; 22 use Autoship\Modules\Healthcheck\HealthcheckModule; 22 23 use Autoship\Modules\Nextime\NextimeModule; 23 24 use Autoship\Modules\Payments\PaymentsModule; … … 25 26 use Autoship\Modules\QuickLinks\QuickLinksModule; 26 27 use Autoship\Modules\Synchronizers\Products\ProductSynchronizerModule; 28 use Autoship\Services\Labels\Implementations\WordPressLabelService; 29 use Autoship\Services\Labels\LabelServiceInterface; 27 30 use Autoship\Modules\Utilities\UtilitiesModule; 28 31 use Autoship\Repositories\ProductRepositoryInterface; … … 126 129 127 130 $this->container->register( 131 LabelServiceInterface::class, 132 function () { 133 $c = Plugin::get_service_container(); 134 return new WordPressLabelService( 135 $c->get( SettingsInterface::class ) 136 ); 137 } 138 ); 139 140 $this->container->register( 128 141 ClockInterface::class, 129 142 function () { … … 252 265 $this->module_manager->register_module( new UtilitiesModule() ); 253 266 } 267 268 if ( $features->is_enabled( 'healthcheck' ) ) { 269 $this->module_manager->register_module( new HealthcheckModule() ); 270 } 254 271 } 255 272 … … 290 307 */ 291 308 public function fetch_qpilot_feature_flags(): ?array { 309 292 310 $cache_key = 'autoship_qpilot_feature_flags'; 293 311 $cached = get_transient( $cache_key ); -
autoship-cloud/trunk/app/Domain/PaymentIntegrations/AirwallexPaymentIntegration.php
r3475704 r3481543 40 40 */ 41 41 public function initialize(): void { 42 Logger::log( 'Airwallex Payment Integration', 'Initializing Airwallex payment integration.' ); 42 if ( Logger::is_tracing_enabled() ) { 43 Logger::log( 'Airwallex Payment Integration', 'Initializing Airwallex payment integration.' ); 44 } 43 45 } 44 46 -
autoship-cloud/trunk/app/Domain/PaymentIntegrations/AuthorizeNetPaymentIntegration.php
r3462779 r3481543 40 40 */ 41 41 public function initialize(): void { 42 Logger::log( 'Authorize.Net Payment Integration', 'Initializing Authorize.Net payment integration.' ); 42 if ( Logger::is_tracing_enabled() ) { 43 Logger::log( 'Authorize.Net Payment Integration', 'Initializing Authorize.Net payment integration.' ); 44 } 43 45 } 44 46 -
autoship-cloud/trunk/app/Domain/PaymentIntegrations/BraintreePaymentIntegration.php
r3475704 r3481543 41 41 */ 42 42 public function initialize(): void { 43 Logger::log( 'Braintree Payment Integration', 'Initializing Braintree payment integration.' ); 43 if ( Logger::is_tracing_enabled() ) { 44 Logger::log( 'Braintree Payment Integration', 'Initializing Braintree payment integration.' ); 45 } 44 46 } 45 47 -
autoship-cloud/trunk/app/Domain/PaymentIntegrations/CheckoutPaymentIntegration.php
r3475704 r3481543 39 39 */ 40 40 public function initialize(): void { 41 Logger::log( 'Checkout Payment Integration', 'Initializing Checkout.com payment integration.' ); 41 if ( Logger::is_tracing_enabled() ) { 42 Logger::log( 'Checkout Payment Integration', 'Initializing Checkout.com payment integration.' ); 43 } 42 44 } 43 45 -
autoship-cloud/trunk/app/Domain/PaymentIntegrations/CyberSourceV2PaymentIntegration.php
r3475704 r3481543 40 40 */ 41 41 public function initialize(): void { 42 Logger::log( 'CyberSourceV2 Payment Integration', 'Initializing CyberSourceV2 payment integration.' ); 42 if ( Logger::is_tracing_enabled() ) { 43 Logger::log( 'CyberSourceV2 Payment Integration', 'Initializing CyberSourceV2 payment integration.' ); 44 } 43 45 } 44 46 -
autoship-cloud/trunk/app/Domain/PaymentIntegrations/NmiPaymentIntegration.php
r3475704 r3481543 41 41 */ 42 42 public function initialize(): void { 43 Logger::log( 'NMI Payment Integration', 'Initializing NMI payment integration.' ); 43 if ( Logger::is_tracing_enabled() ) { 44 Logger::log( 'NMI Payment Integration', 'Initializing NMI payment integration.' ); 45 } 44 46 } 45 47 -
autoship-cloud/trunk/app/Domain/PaymentIntegrations/PayPalPaymentIntegration.php
r3462779 r3481543 43 43 */ 44 44 public function initialize(): void { 45 Logger::log( 'PayPal Payment Integration', 'Initializing PayPal payment integration.' ); 45 if ( Logger::is_tracing_enabled() ) { 46 Logger::log( 'PayPal Payment Integration', 'Initializing PayPal payment integration.' ); 47 } 46 48 } 47 49 -
autoship-cloud/trunk/app/Domain/PaymentIntegrations/PayaV1PaymentIntegration.php
r3475704 r3481543 40 40 */ 41 41 public function initialize(): void { 42 Logger::log( 'PayaV1 Payment Integration', 'Initializing PayaV1 payment integration.' ); 42 if ( Logger::is_tracing_enabled() ) { 43 Logger::log( 'PayaV1 Payment Integration', 'Initializing PayaV1 payment integration.' ); 44 } 43 45 } 44 46 -
autoship-cloud/trunk/app/Domain/PaymentIntegrations/SagePaymentIntegration.php
r3475704 r3481543 32 32 */ 33 33 public function initialize(): void { 34 Logger::log( 'Sage Payment Integration', 'Initializing Sage payment integration.' ); 34 if ( Logger::is_tracing_enabled() ) { 35 Logger::log( 'Sage Payment Integration', 'Initializing Sage payment integration.' ); 36 } 35 37 } 36 38 -
autoship-cloud/trunk/app/Domain/PaymentIntegrations/SquarePaymentIntegration.php
r3475704 r3481543 31 31 */ 32 32 public function initialize(): void { 33 Logger::log( 'Square Payment Integration', 'Initializing Square payment integration.' ); 33 if ( Logger::is_tracing_enabled() ) { 34 Logger::log( 'Square Payment Integration', 'Initializing Square payment integration.' ); 35 } 34 36 } 35 37 -
autoship-cloud/trunk/app/Domain/PaymentIntegrations/StripePaymentIntegration.php
r3462779 r3481543 34 34 */ 35 35 public function initialize(): void { 36 Logger::log( 'Stripe Payment Integration', 'Initializing Stripe payment integration.' ); 36 if ( Logger::is_tracing_enabled() ) { 37 Logger::log( 'Stripe Payment Integration', 'Initializing Stripe payment integration.' ); 38 } 37 39 } 38 40 … … 355 357 } 356 358 359 // Stripe plugin 8.8.0+ handles fee/net metadata natively; skip to avoid doubling values. 360 if ( defined( 'WC_STRIPE_VERSION' ) && version_compare( WC_STRIPE_VERSION, '8.8.0', '>=' ) ) { 361 return; 362 } 363 357 364 $fee_refund = null; 358 365 $net_refund = null; -
autoship-cloud/trunk/app/Domain/PaymentIntegrations/TrustCommercePaymentIntegration.php
r3475704 r3481543 39 39 */ 40 40 public function initialize(): void { 41 Logger::log( 'TrustCommerce Payment Integration', 'Initializing TrustCommerce payment integration.' ); 41 if ( Logger::is_tracing_enabled() ) { 42 Logger::log( 'TrustCommerce Payment Integration', 'Initializing TrustCommerce payment integration.' ); 43 } 42 44 } 43 45 -
autoship-cloud/trunk/app/Modules/Payments/Compatibility/PaymentsCompatibilityManager.php
r3475704 r3481543 104 104 // Check if gateway is enabled via feature flag. 105 105 if ( null !== $feature_manager && ! $feature_manager->is_payment_gateway_enabled( $gateway_id ) ) { 106 Logger::log( 'Autoship Payments Compatibility Manager', "Gateway {$gateway_id} disabled by feature flag, skipping registration" ); 106 107 if ( Logger::is_tracing_enabled() ) { 108 Logger::log( 'Autoship Payments Compatibility Manager', "Gateway {$gateway_id} disabled by feature flag, skipping registration" ); 109 } 110 107 111 continue; 108 112 } -
autoship-cloud/trunk/app/Modules/Payments/Services/PaymentsCompatibilityService.php
r3462779 r3481543 269 269 */ 270 270 private function log( string $message ): void { 271 Logger::log( 'Autoship Payments Compatibility Service', $message ); 271 272 if ( Logger::is_tracing_enabled() ) { 273 Logger::log( 'Autoship Payments Compatibility Service', $message ); 274 } 272 275 } 273 276 } -
autoship-cloud/trunk/autoship.php
r3475704 r3481543 8 8 * Plugin URI: https://autoship.cloud 9 9 * Description: Autoship Cloud for WooCommerce 10 * Version: 2.12. 110 * Version: 2.12.2 11 11 * Author: Patterns In the Cloud LLC 12 12 * Author URI: https://qpilot.cloud … … 17 17 */ 18 18 19 define( 'Autoship_Version', '2.12. 1' ); // phpcs:ignore Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase19 define( 'Autoship_Version', '2.12.2' ); // phpcs:ignore Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase 20 20 21 21 if ( ! defined( 'Autoship_Plugin_Dir' ) ) { … … 176 176 function autoship_load_includes() { 177 177 require_once 'src/QPilot/Client.php'; 178 require_once 'src/l ogger.php';179 require_once 'src/upgrade.php'; 178 require_once 'src/legacy/logger.php'; 179 180 180 require_once 'src/admin.php'; 181 181 require_once 'src/utilities.php'; 182 182 require_once 'src/api.php'; 183 183 require_once 'src/api-wc.php'; 184 require_once 'src/ api-health.php';184 require_once 'src/legacy/healthchecks.php'; 185 185 require_once 'src/orders.php'; 186 186 require_once 'src/checkout.php'; … … 195 195 require_once 'src/shortcodes.php'; 196 196 require_once 'src/pages.php'; 197 require_once 'src/languages.php'; 198 require_once 'src/export.php'; 199 require_once 'src/import.php'; 197 require_once 'src/legacy/languages.php'; 198 200 199 require_once 'src/bulk.php'; 201 200 require_once 'src/scheduled-orders.php'; 202 201 require_once 'src/shipping.php'; 203 202 require_once 'src/free-shipping.php'; 204 require_once 'src/ deprecated.php';203 require_once 'src/legacy/deprecated.php'; 205 204 require_once 'src/wholesale-pricing.php'; 206 205 } -
autoship-cloud/trunk/js/admin.js
r3453277 r3481543 364 364 365 365 /** 366 * Trigger Migration Ajax form submit367 */368 var migrationFormsubmit = function( e ) {369 370 e.preventDefault();371 372 var form = $(this).closest('form');373 form.removeClass('active');374 375 var migration_targets = [];376 377 migration_targets.form = $(this).closest('form');378 migration_targets.target_btn = form.find('button.action');379 migration_targets.target_cancel_btn = form.find('button.cancel-action');380 migration_targets.target_notice = form.find('.autoship-bulk-notice');381 migration_targets.target_subnotice = form.find('.autoship-bulk-subnotice');382 migration_targets.target_success_action = form.find('.autoship-bulk-success-action')383 384 migration_targets.form.addClass('active');385 migration_targets.data = { "action":"autoship_initiate_schedule_export" };386 migration_targets.target_subnotice.fadeIn('slow');387 388 $.ajax({389 type: 'POST',390 dataType: 'json',391 data: migration_targets.data,392 url: ajaxurl,393 success: function(response) {394 migration_targets.target_notice.fadeOut('slow', function() {395 if ( response.success ){396 $(this).html(response.notice).fadeIn('slow');397 migration_targets.target_success_action.fadeIn('slow');398 } else {399 $(this).html('<span style="color:red;">An Issue was encountered exporting the Scheduled Orders.</span>').fadeIn('slow');400 migration_targets.target_success_action.fadeOut('slow');401 }402 });403 },404 failure: function(response) {405 migration_targets.target_notice.fadeOut('slow', function() {406 response.success = false;407 $(this).html(response.notice).fadeIn('slow');408 migration_targets.target_success_action.fadeOut('slow');409 });410 }411 });412 413 };414 415 /**416 * Initiates the Scheduled CSV Export417 */418 $('#autoship-bulk-export-csv').on( 'click', 'button.autoship-export-action', migrationFormsubmit );419 420 /**421 366 * Log file download link toggler 422 367 */ -
autoship-cloud/trunk/js/batch.js
r3475704 r3481543 1 jQuery(document).ready(function ($) {2 3 $("#cancel-msg").hide();4 var cancel_btn = $("button.cancel-import-schedules");5 6 cancel_btn.on("click",function () {7 var consent = confirm('Are you sure you want to cancel import?');8 if (!consent) {9 return;10 }11 12 location.reload();13 return;14 });15 16 function initBatch(action, container, getParameters, onComplete) {17 18 var $container = $(container);19 var count = {};20 var ids = [];21 22 function doBatch(lastId, parameters) {23 var queryStringData = {24 'action': action,25 'last_id': lastId26 };27 28 29 if (lastId !== 0 && action === "autoship_import_schedule_data") {30 31 cancel_btn.removeAttr("disabled");32 33 ids.push(lastId);34 35 uniqueCount = ids;36 37 uniqueCount.forEach(function (i) {38 count[i] = (count[i] || 0) + 1;39 });40 41 if (count[lastId] >= 100) {42 $('.batch-button').removeAttr('disabled');43 cancel_btn.attr("disabled", "disabled");44 $("#cancel-msg").show();45 return;46 }47 }48 49 50 if (parameters) {51 for (var name in parameters) {52 queryStringData[name] = parameters[name];53 }54 }55 var queryStringPairs = [];56 for (var name in queryStringData) {57 var pair = encodeURIComponent(name)58 + '='59 + encodeURIComponent(queryStringData[name]);60 queryStringPairs.push(pair);61 }62 63 var endpoint = ajaxurl + '?' + queryStringPairs.join('&');64 65 $.get(endpoint, function success(response) {66 updateProgress(response);67 68 if (response.result === 1) {69 70 if (response.count < response.total) {71 doBatch(response.last_id, parameters);72 } else {73 $('.batch-button').removeAttr('disabled');74 $("button.cancel-import-schedules").attr("disabled", "disabled");75 }76 77 }78 });79 }80 81 function updateProgress(data) {82 var percentProgress = Math.floor( data.complete_percent );83 var $batchProgress = $container.find('.batch-progress');84 $batchProgress.find('.meter').css('width', percentProgress + '%');85 if (percentProgress < 100) {86 $batchProgress.find('.readout').text(percentProgress + '%');87 } else {88 $batchProgress.find('.readout').text(percentProgress + '% Finished!');89 if (onComplete) {90 onComplete.call($container, data);91 }92 }93 94 var $batchFailures = $container.find('.batch-failures');95 for (var i in data.failed) {96 $batchFailures.append(97 '<li>Error: #' + data.failed[i][0] + ' with message: ' + data.failed[i][1] + '</li>'98 );99 }100 }101 102 function resetProgress() {103 var $batchProgress = $container.find('.batch-progress');104 $batchProgress.addClass('active');105 $batchProgress.find('.meter').css('width', '0%');106 $batchProgress.find('.readout').text('0%');107 $container.find('.batch-failures').empty();108 }109 110 $container.find('.batch-button').on('click', function () {111 var consent = confirm('Are you sure you want to continue? This action cannot be undone.');112 if (!consent) {113 return;114 }115 var parameters = null;116 if (getParameters) {117 parameters = getParameters.call($container);118 if (null === parameters) {119 return;120 }121 }122 123 $(this).attr('disabled', 'disabled');124 125 126 resetProgress();127 doBatch(0, parameters);128 });129 }130 131 initBatch('autoship_import_schedule_data', '#autoship-import-schedules');132 initBatch('autoship_import_product_settings', '#autoship-import-product-settings');133 134 });135 136 1 jQuery(function ($) { 137 2 -
autoship-cloud/trunk/languages/autoship.pot
r3462779 r3481543 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Autoship Cloud powered by QPilot 2.12. 0\n"5 "Project-Id-Version: Autoship Cloud powered by QPilot 2.12.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/autoship-cloud\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2026-0 2-03T19:16:04+00:00\n"12 "POT-Creation-Date: 2026-03-10T16:30:09+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 74 74 msgstr "" 75 75 76 #: app/Core/Implementations/WordPressAutoshipSettings.php:56 77 #: src/product-page.php:659 78 #: src/product-page.php:1094 79 #: src/utilities.php:390 80 #: templates/quicklaunch/step-product.php:135 81 #: templates/quicklaunch/step-product.php:150 82 #: templates/quicklaunch/step-product.php:168 83 msgid "Days" 84 msgstr "" 85 86 #: app/Core/Implementations/WordPressAutoshipSettings.php:57 87 #: src/product-page.php:660 88 #: src/product-page.php:1095 89 #: src/utilities.php:391 90 #: templates/quicklaunch/step-product.php:136 91 #: templates/quicklaunch/step-product.php:151 92 #: templates/quicklaunch/step-product.php:169 93 msgid "Weeks" 94 msgstr "" 95 96 #: app/Core/Implementations/WordPressAutoshipSettings.php:58 97 #: src/product-page.php:661 98 #: src/product-page.php:1096 99 #: src/utilities.php:392 100 #: templates/quicklaunch/step-product.php:137 101 #: templates/quicklaunch/step-product.php:152 102 #: templates/quicklaunch/step-product.php:170 103 msgid "Months" 104 msgstr "" 105 106 #: app/Core/Implementations/WordPressAutoshipSettings.php:59 107 #: src/product-page.php:662 108 #: src/product-page.php:1097 109 #: src/utilities.php:393 110 #: templates/quicklaunch/step-product.php:139 111 #: templates/quicklaunch/step-product.php:154 112 #: templates/quicklaunch/step-product.php:172 113 msgid "Day of the week" 114 msgstr "" 115 116 #: app/Core/Implementations/WordPressAutoshipSettings.php:60 117 #: src/product-page.php:663 118 #: src/product-page.php:1098 119 #: src/utilities.php:394 120 #: templates/quicklaunch/step-product.php:138 121 #: templates/quicklaunch/step-product.php:153 122 #: templates/quicklaunch/step-product.php:171 123 msgid "Day of the month" 124 msgstr "" 125 76 126 #: app/Domain/Nextime/NextimeShippingCalculator.php:74 77 127 msgid "Autoship Advanced Shipping - Nextime" … … 108 158 #: app/Domain/Nextime/NextimeShippingCalculator.php:112 109 159 msgid "Date format to be displayed at checkout." 160 msgstr "" 161 162 #: app/Modules/Healthcheck/HealthcheckService.php:158 163 msgid "POST: Orders can be created" 164 msgstr "" 165 166 #: app/Modules/Healthcheck/HealthcheckService.php:159 167 msgid "FAILED POST: Orders cannot be created" 168 msgstr "" 169 170 #: app/Modules/Healthcheck/HealthcheckService.php:163 171 msgid "GET: Product Data can be synchronized" 172 msgstr "" 173 174 #: app/Modules/Healthcheck/HealthcheckService.php:164 175 msgid "FAILED GET: Product Data cannot be synchronized" 176 msgstr "" 177 178 #: app/Modules/Healthcheck/HealthcheckService.php:168 179 msgid "PUT: Data can be updated" 180 msgstr "" 181 182 #: app/Modules/Healthcheck/HealthcheckService.php:169 183 msgid "FAILED PUT: Data cannot be updated" 184 msgstr "" 185 186 #. translators: %1$s is the message and %2$s is the api message. 187 #: app/Modules/Healthcheck/HealthcheckService.php:234 188 msgid "Autoship Health Check" 189 msgstr "" 190 191 #. translators: %1$s is the message and %2$s is the api message. 192 #: app/Modules/Healthcheck/HealthcheckService.php:234 193 #, php-format 194 msgid "%1$s Additional API Error Details: %2$s" 110 195 msgstr "" 111 196 … … 139 224 #, php-format 140 225 msgid "Saving order with ID %s." 226 msgstr "" 227 228 #: app/Modules/Payments/Services/PaymentMethodService.php:69 229 #: app/Modules/Payments/Services/PaymentMethodService.php:93 230 #: src/payments.php:2372 231 #: src/payments.php:2421 232 #: src/payments.php:2464 233 #: src/scheduled-orders.php:4678 234 #: src/scheduled-orders.php:5641 235 #: src/scheduled-orders.php:5646 236 msgid "Autoship Payment Methods" 141 237 msgstr "" 142 238 … … 330 426 #: app/Modules/QuickLinks/Controllers/QuickLinkController.php:642 331 427 #: templates/quicklinks/thank-you.php:38 332 #: templates/quicklinks/thank-you2.old.php:38333 428 msgid "Updated" 334 429 msgstr "" … … 495 590 #: app/Modules/QuickLinks/Controllers/QuickLinksSettingsController.php:373 496 591 #: app/Modules/QuickLinks/Controllers/QuickLinksSettingsController.php:414 592 #: app/Modules/Utilities/Controllers/BulkFrequenciesController.php:171 497 593 msgid "Invalid security token." 498 594 msgstr "" … … 664 760 msgstr "" 665 761 762 #: app/Modules/Utilities/Controllers/BulkFrequenciesController.php:131 763 msgid "Processing..." 764 msgstr "" 765 766 #: app/Modules/Utilities/Controllers/BulkFrequenciesController.php:132 767 msgid "Bulk update complete." 768 msgstr "" 769 770 #: app/Modules/Utilities/Controllers/BulkFrequenciesController.php:133 771 msgid "An error occurred during the bulk update." 772 msgstr "" 773 774 #: app/Modules/Utilities/Controllers/BulkFrequenciesController.php:134 775 msgid "Bulk update cancelled." 776 msgstr "" 777 778 #: app/Modules/Utilities/Controllers/BulkFrequenciesController.php:135 779 msgid "Please fill in all frequency option fields." 780 msgstr "" 781 782 #. translators: %1$s is the percentage completed, %2$d is total products. 783 #. translators: %1$s is the percentage completed, %2$d is the total number of products. 784 #: app/Modules/Utilities/Controllers/BulkFrequenciesController.php:137 785 #: app/Modules/Utilities/Controllers/BulkFrequenciesController.php:223 786 #, php-format 787 msgid "%1$s%% of the %2$d Products have been processed." 788 msgstr "" 789 790 #: app/Modules/Utilities/Controllers/BulkFrequenciesController.php:175 791 msgid "Unauthorized access" 792 msgstr "" 793 794 #: app/Modules/Utilities/Services/FrequencyUpdateService.php:109 795 msgid "Frequencies data is missing or invalid." 796 msgstr "" 797 798 #. translators: %d is the frequency option index. 799 #: app/Modules/Utilities/Services/FrequencyUpdateService.php:117 800 #, php-format 801 msgid "Missing data in frequency option %d." 802 msgstr "" 803 804 #. translators: %d is the frequency option index. 805 #: app/Modules/Utilities/Services/FrequencyUpdateService.php:127 806 #, php-format 807 msgid "Invalid data in frequency option %d." 808 msgstr "" 809 810 #. translators: %d is the frequency number. 811 #: app/Modules/Utilities/Services/FrequencyUpdateService.php:133 812 #, php-format 813 msgid "Invalid frequency number in option %d." 814 msgstr "" 815 666 816 #: app/Services/Logging/FileSink.php:386 667 817 msgid "Invalid log file requested" … … 717 867 718 868 #: autoship.php:104 719 #: src/admin.php:108 9869 #: src/admin.php:1088 720 870 msgid "Options" 721 871 msgstr "" … … 726 876 727 877 #: autoship.php:105 728 #: src/admin.php:109 4878 #: src/admin.php:1093 729 879 msgid "Utilities" 730 880 msgstr "" … … 749 899 750 900 #: src/admin.php:336 751 #: src/admin.php:20 61901 #: src/admin.php:2050 752 902 msgid "Autoship - QPilot" 753 903 msgstr "" … … 842 992 msgstr "" 843 993 844 #: src/admin.php:108 4994 #: src/admin.php:1083 845 995 msgid "Connection Settings" 846 996 msgstr "" 847 997 848 #: src/admin.php:109 9998 #: src/admin.php:1098 849 999 #: templates/admin/settings/extensions.php:26 850 1000 msgid "Extensions" 851 1001 msgstr "" 852 1002 853 #: src/admin.php:110 41003 #: src/admin.php:1103 854 1004 msgid "Diagnostics" 855 1005 msgstr "" 856 1006 857 #: src/admin.php:112 21007 #: src/admin.php:1121 858 1008 msgid "Coupons" 859 1009 msgstr "" 860 1010 861 #: src/admin.php:112 71011 #: src/admin.php:1126 862 1012 msgid "Retention Workflows" 863 1013 msgstr "" 864 1014 865 #: src/admin.php:113 21015 #: src/admin.php:1131 866 1016 msgid "Dunning" 867 1017 msgstr "" 868 1018 869 #: src/admin.php:113 71019 #: src/admin.php:1136 870 1020 msgid "Quick Actions" 871 1021 msgstr "" 872 1022 873 #: src/admin.php:115 51023 #: src/admin.php:1154 874 1024 msgid "Scheduled Orders Metrics" 875 1025 msgstr "" 876 1026 877 #: src/admin.php:11 601027 #: src/admin.php:1159 878 1028 msgid "Products by Date Summary" 879 1029 msgstr "" 880 1030 881 #: src/admin.php:116 51031 #: src/admin.php:1164 882 1032 msgid "Scheduled Orders by Product" 883 1033 msgstr "" 884 1034 885 #: src/admin.php:11 701035 #: src/admin.php:1169 886 1036 msgid "Churn Reports" 887 1037 msgstr "" 888 1038 889 #: src/admin.php:117 51039 #: src/admin.php:1174 890 1040 msgid "Survey Results" 891 1041 msgstr "" 892 1042 893 #: src/admin.php:11 801043 #: src/admin.php:1179 894 1044 msgid "Customer Metrics" 895 1045 msgstr "" 896 1046 897 #: src/admin.php:118 51047 #: src/admin.php:1184 898 1048 msgid "Email Delivery" 899 1049 msgstr "" 900 1050 901 #: src/admin.php:142 81051 #: src/admin.php:1426 902 1052 msgid "No Current Scheduled Orders" 903 1053 msgstr "" 904 1054 905 #: src/admin.php:19 531055 #: src/admin.php:1942 906 1056 msgid "No response code was received from QPilot." 907 1057 msgstr "" 908 1058 909 #: src/admin.php:19 551059 #: src/admin.php:1944 910 1060 msgid "Autoship Oauth Error" 911 1061 msgstr "" 912 1062 913 #: src/admin.php:19 97914 #: src/admin.php:20 391063 #: src/admin.php:1986 1064 #: src/admin.php:2028 915 1065 msgid "Autoship Oauth Exception" 916 1066 msgstr "" 917 1067 918 #: src/admin.php:21 331068 #: src/admin.php:2122 919 1069 msgid "Autoship Oauth Status" 920 1070 msgstr "" 921 1071 922 #: src/admin.php:21 331072 #: src/admin.php:2122 923 1073 msgid "Autoship Cloud connection has been disconnected!" 924 1074 msgstr "" … … 967 1117 #: src/scheduled-orders.php:6061 968 1118 #: src/scheduled-orders.php:6066 969 #: src/wholesale-pricing.php:14 24970 #: src/wholesale-pricing.php:14 28971 #: src/wholesale-pricing.php:177 11119 #: src/wholesale-pricing.php:1432 1120 #: src/wholesale-pricing.php:1436 1121 #: src/wholesale-pricing.php:1779 972 1122 msgid "Autoship Orders" 973 1123 msgstr "" 974 1124 975 #: src/api-health.php:435976 msgid "POST: Orders can be created"977 msgstr ""978 979 #: src/api-health.php:436980 msgid "FAILED POST: Orders cannot be created"981 msgstr ""982 983 #: src/api-health.php:440984 msgid "GET: Product Data can be synchronized"985 msgstr ""986 987 #: src/api-health.php:441988 msgid "FAILED GET: Product Data cannot be synchronized"989 msgstr ""990 991 #: src/api-health.php:445992 msgid "PUT: Data can be updated"993 msgstr ""994 995 #: src/api-health.php:446996 msgid "FAILED PUT: Data cannot be updated"997 msgstr ""998 999 #. translators: %1$s is the message and %2$s is the api message.1000 #: src/api-health.php:5331001 msgid "Autoship Health Check"1002 msgstr ""1003 1004 #. translators: %1$s is the message and %2$s is the api message.1005 #: src/api-health.php:5331006 #, php-format1007 msgid "%1$s Additional API Error Details: %2$s"1008 msgstr ""1009 1010 1125 #: src/api-wc.php:132 1011 #: src/api.php: 6291126 #: src/api.php:563 1012 1127 msgid "Order has already been created from scheduled order processing." 1013 1128 msgstr "" … … 1047 1162 msgstr "" 1048 1163 1049 #: src/api.php: 5391050 #: src/api.php: 6491164 #: src/api.php:484 1165 #: src/api.php:583 1051 1166 msgid "The WooCommerce REST API is either unavailable or not found." 1052 1167 msgstr "" … … 1164 1279 msgstr "" 1165 1280 1166 #: src/bulk.php:1213 1167 msgid "Unauthorized access" 1168 msgstr "" 1169 1170 #. translators: %1$s is the percentage completed, %2$d is the total number of products. 1171 #: src/bulk.php:1261 1172 #, php-format 1173 msgid "%1$s%% of the %2$d Products have been processed." 1174 msgstr "" 1175 1176 #: src/bulk.php:1300 1177 msgid "Frequencies data is missing or invalid." 1178 msgstr "" 1179 1180 #. translators: %d is the frequency option index. 1181 #: src/bulk.php:1331 1182 #, php-format 1183 msgid "Missing data in frequency option %d." 1184 msgstr "" 1185 1186 #. translators: %d is the frequency option index. 1187 #: src/bulk.php:1341 1188 #, php-format 1189 msgid "Invalid data in frequency option %d." 1190 msgstr "" 1191 1192 #. translators: %d is the frequency number. 1193 #: src/bulk.php:1347 1194 #, php-format 1195 msgid "Invalid frequency number in option %d." 1196 msgstr "" 1197 1198 #: src/bulk.php:1384 1199 #: src/bulk.php:1402 1200 #: src/bulk.php:1420 1281 #: src/bulk.php:1134 1282 #: src/bulk.php:1152 1283 #: src/bulk.php:1170 1201 1284 msgid "The autoship product sync utility feature is not enabled." 1202 1285 msgstr "" 1203 1286 1204 #: src/bulk.php:1 3911287 #: src/bulk.php:1141 1205 1288 msgid "The product sync has been enabled." 1206 1289 msgstr "" 1207 1290 1208 #: src/bulk.php:1 4091291 #: src/bulk.php:1159 1209 1292 msgid "The product sync has been disabled." 1210 1293 msgstr "" 1211 1294 1212 #: src/bulk.php:1 4621213 #: src/bulk.php:1 4901295 #: src/bulk.php:1212 1296 #: src/bulk.php:1240 1214 1297 msgid "The settings were updated." 1215 1298 msgstr "" … … 1218 1301 #: src/cart.php:535 1219 1302 #: src/checkout.php:53 1220 #: src/ deprecated.php:1061303 #: src/legacy/deprecated.php:106 1221 1304 #: src/product-page.php:1215 1222 1305 #: templates/cart/schedule-options.php:70 … … 1229 1312 #: src/cart.php:498 1230 1313 #: src/cart.php:545 1231 #: src/ deprecated.php:1151314 #: src/legacy/deprecated.php:115 1232 1315 msgid "Next Order" 1233 1316 msgstr "" … … 1312 1395 #. translators: %1$s is the label for Scheduled Orders, %2$s is the error message. 1313 1396 #: src/customers.php:191 1314 #: src/payments.php:307 71397 #: src/payments.php:3078 1315 1398 #, php-format 1316 1399 msgid "There was a problem updating the information on your %1$s. Additional details: %2$s" … … 1338 1421 #. translators: %1$s is the label for Scheduled Orders, %2$s is the URL to update the payment method, %3$s is the Update button text. 1339 1422 #: src/customers.php:268 1340 #: src/payments.php:316 81423 #: src/payments.php:3169 1341 1424 msgid "Update" 1342 1425 msgstr "" … … 1435 1518 msgstr "" 1436 1519 1437 #. translators: %1$d is the customer ID, %2$d is the schedule ID.1438 #: src/export.php:2351439 #, php-format1440 msgid "Customer %1$d could not be found or is invalid. This scheduled order #%2$d will not be included."1441 msgstr ""1442 1443 #. translators: %d is the payment token ID.1444 #: src/export.php:2531445 #, php-format1446 msgid "Payment Method with Token ID %d could not be found or is invalid."1447 msgstr ""1448 1449 #. translators: %d is the external product ID.1450 #: src/export.php:2671451 #, php-format1452 msgid "Product %d could not be found or is invalid. This product will not be included."1453 msgstr ""1454 1455 #. translators: %s is the path to the directory that could not be created.1456 #. translators: %s is the path to the directory.1457 #: src/export.php:3621458 #: src/utilities.php:8131459 #, php-format1460 msgid "The Directory at %s can't be created! Please check permissions."1461 msgstr ""1462 1463 #: src/export.php:3701464 #: src/utilities.php:8171465 msgid "Writing Column Headers to CSV File failed."1466 msgstr ""1467 1468 #. translators: %1$s is the filename, %2$s is the path to the file.1469 #. translators: %1$s is the filename and %2$s is the path.1470 #: src/export.php:3791471 #: src/utilities.php:8221472 #, php-format1473 msgid "CSV File %1$s can't be opened and/or created! Please check rights for %2$s."1474 msgstr ""1475 1476 #: src/export.php:3871477 msgid "No Scheduled Orders to Export"1478 msgstr ""1479 1480 #. translators: %1$d is the number of Scheduled Orders exported, %2$s is the filename.1481 #: src/export.php:4101482 #, php-format1483 msgid "%1$d Scheduled Orders successfully exported to %2$s."1484 msgstr ""1485 1486 #. translators: %1$d is the number of Scheduled Orders, %2$s is the path to the log file.1487 #: src/export.php:4171488 #, php-format1489 msgid "None of the %1$d Scheduled Orders could be exported. See the log for additional details in %2$s"1490 msgstr ""1491 1492 #. translators: %1$d is the number of Scheduled Orders, %2$s is the filename, %3$d is the number of invalid Scheduled Orders.1493 #: src/export.php:4201494 #, php-format1495 msgid "%1$d Scheduled Orders successfully exported to %2$s. %3$d Scheduled Orders were missing or invalid and could not be exported."1496 msgstr ""1497 1498 1520 #: src/free-shipping.php:37 1499 1521 msgid "Autoship Free Shipping (Not editable)" … … 1630 1652 msgstr "" 1631 1653 1632 #: src/payments.php:2366 1633 #: src/payments.php:2408 1634 #: src/payments.php:2450 1635 #: src/scheduled-orders.php:4678 1636 #: src/scheduled-orders.php:5641 1637 #: src/scheduled-orders.php:5646 1638 msgid "Autoship Payment Methods" 1639 msgstr "" 1640 1641 #: src/payments.php:3040 1654 #: src/payments.php:3041 1642 1655 msgid "Invalid payment method." 1643 1656 msgstr "" 1644 1657 1645 #: src/payments.php:305 31658 #: src/payments.php:3054 1646 1659 msgid "You have insufficient rights to make this change." 1647 1660 msgstr "" 1648 1661 1649 1662 #. translators: %s is the label for Scheduled Orders. 1650 #: src/payments.php:308 81663 #: src/payments.php:3089 1651 1664 #, php-format 1652 1665 msgid "Your %s Have been successfully updated." … … 1654 1667 1655 1668 #. translators: %1$s is the label for Scheduled Orders, %2$s is the URL to update the payment method, %3$s is the Update button text. 1656 #: src/payments.php:316 81669 #: src/payments.php:3169 1657 1670 #, php-format 1658 1671 msgid "Use the newly Added Payment Method for your <strong>%1$s</strong> as well? <a href=\"%2$s\" tabindex=\"1\" class=\"button\">%3$s</a>" … … 1660 1673 1661 1674 #. translators: %1$s is the label for Scheduled Orders, %2$s is the URL to update the payment method, %3$s is the Update button text. 1662 #: src/payments.php:316 81675 #: src/payments.php:3169 1663 1676 #, php-format 1664 1677 msgid "Use the new Payment Method ( %1$s ) for your <strong>%2$s</strong> as well? <a href=\"%3$s\" tabindex=\"1\" class=\"button\">%4$s</a>" … … 1666 1679 1667 1680 #. translators: %s is the label for Scheduled Orders. 1668 #: src/payments.php:328 01681 #: src/payments.php:3281 1669 1682 #, php-format 1670 1683 msgid "<p><strong><i class=\"autoship_update_all_orders\"></i></strong> Select to apply the payment method to your %s.</p>" 1671 1684 msgstr "" 1672 1685 1673 #: src/payments.php:399 21686 #: src/payments.php:3998 1674 1687 msgid "Autoship Payment Methods Error" 1675 1688 msgstr "" … … 1910 1923 #: src/product-page.php:655 1911 1924 #: src/product-page.php:1089 1912 #: templates/admin/settings/utilities .php:3051925 #: templates/admin/settings/utilities/bulk-frequencies.php:33 1913 1926 msgid "Frequency Type" 1914 1927 msgstr "" … … 1922 1935 msgstr "" 1923 1936 1924 #: src/product-page.php:6591925 #: src/product-page.php:10941926 #: src/utilities.php:3901927 #: templates/quicklaunch/step-product.php:1351928 #: templates/quicklaunch/step-product.php:1501929 #: templates/quicklaunch/step-product.php:1681930 msgid "Days"1931 msgstr ""1932 1933 #: src/product-page.php:6601934 #: src/product-page.php:10951935 #: src/utilities.php:3911936 #: templates/quicklaunch/step-product.php:1361937 #: templates/quicklaunch/step-product.php:1511938 #: templates/quicklaunch/step-product.php:1691939 msgid "Weeks"1940 msgstr ""1941 1942 #: src/product-page.php:6611943 #: src/product-page.php:10961944 #: src/utilities.php:3921945 #: templates/quicklaunch/step-product.php:1371946 #: templates/quicklaunch/step-product.php:1521947 #: templates/quicklaunch/step-product.php:1701948 msgid "Months"1949 msgstr ""1950 1951 #: src/product-page.php:6621952 #: src/product-page.php:10971953 #: src/utilities.php:3931954 #: templates/quicklaunch/step-product.php:1391955 #: templates/quicklaunch/step-product.php:1541956 #: templates/quicklaunch/step-product.php:1721957 msgid "Day of the week"1958 msgstr ""1959 1960 #: src/product-page.php:6631961 #: src/product-page.php:10981962 #: src/utilities.php:3941963 #: templates/quicklaunch/step-product.php:1381964 #: templates/quicklaunch/step-product.php:1531965 #: templates/quicklaunch/step-product.php:1711966 msgid "Day of the month"1967 msgstr ""1968 1969 1937 #: src/product-page.php:673 1970 1938 #: src/product-page.php:1103 1971 #: templates/admin/settings/utilities .php:3141939 #: templates/admin/settings/utilities/bulk-frequencies.php:42 1972 1940 msgid "Frequency" 1973 1941 msgstr "" … … 1980 1948 1981 1949 #: src/product-page.php:685 1982 #: templates/admin/settings/utilities .php:3191950 #: templates/admin/settings/utilities/bulk-frequencies.php:47 1983 1951 msgid "Display Name" 1984 1952 msgstr "" … … 2997 2965 #: src/scheduled-orders.php:5012 2998 2966 #: src/scheduled-orders.php:5059 2999 #: src/wholesale-pricing.php:14 222967 #: src/wholesale-pricing.php:1430 3000 2968 msgid "Orders could not be found in QPilot" 3001 2969 msgstr "" … … 3042 3010 #: src/scheduled-orders.php:6473 3043 3011 #: src/scheduled-orders.php:6479 3044 #: src/shortcodes.php:2803045 3012 #, php-format 3046 3013 msgid "Error %1$s: %2$s" … … 3116 3083 3117 3084 #: src/scheduled-orders.php:7467 3118 #: templates/admin/settings/utilities .php:3533085 #: templates/admin/settings/utilities/bulk-frequencies.php:81 3119 3086 #: templates/quicklinks/confirm.php:623 3120 3087 msgid "Cancel" … … 3224 3191 msgstr "" 3225 3192 3226 #: src/upgrade.php:303227 msgid "Autoship Upgrade"3228 msgstr ""3229 3230 #. translators: %1$s is the link to the upgrade, %2$s is the button text.3231 #: src/upgrade.php:1323232 #: templates/admin/settings/utilities.php:673233 msgid "Update Product Synchronization"3234 msgstr ""3235 3236 #. translators: %1$s is the link to the upgrade, %2$s is the button text.3237 #: src/upgrade.php:2093238 msgid "Upgrade Processing Version"3239 msgstr ""3240 3241 #: src/upgrade.php:2403242 msgid "<strong>IMPORTANT!</strong> The new PayPal Payments plugin is not currently supported by Autoship Cloud. Please do not attempt to replace WooCommerce PayPal Checkout Gateway with WooCommerce PayPal Payments."3243 msgstr ""3244 3245 #: src/upgrade.php:2663246 msgid "<strong>Invalid or Expired Call.</strong>"3247 msgstr ""3248 3249 #: src/upgrade.php:2723250 msgid "<strong>Invalid Upgrade Submission. Please confirm you would like to upgrade processing to v3 and submit your request again.</strong>"3251 msgstr ""3252 3253 #. translators: %1$s is the error code, %2$s is the error message.3254 #: src/upgrade.php:2843255 #, php-format3256 msgid "<strong>Error Upgrading Processing Version:</strong> Error Code %1$s - %2$s"3257 msgstr ""3258 3259 #: src/upgrade.php:2893260 msgid "<strong>Autoship Cloud: Scheduled Orders Upgraded Successfully!</strong> You have completed the upgrade to the latest version of Autoship Cloud."3261 msgstr ""3262 3263 #. translators: %1$s is the error code, %2$s is the error message.3264 #: src/upgrade.php:3233265 #, php-format3266 msgid "<strong>Error Downgrading Processing Version:</strong> Error Code %1$s - %2$s"3267 msgstr ""3268 3269 #: src/upgrade.php:3263270 msgid "<strong>Autoship Cloud: Plugin Processing Version Downgraded Successfully!</strong>."3271 msgstr ""3272 3273 3193 #. translators: %d is the frequency in days. 3274 3194 #: src/utilities.php:630 … … 3347 3267 #: src/utilities.php:765 3348 3268 msgid "Autoship Cloud Export: Failed to create or open the export directory." 3269 msgstr "" 3270 3271 #. translators: %s is the path to the directory. 3272 #: src/utilities.php:813 3273 #, php-format 3274 msgid "The Directory at %s can't be created! Please check permissions." 3275 msgstr "" 3276 3277 #: src/utilities.php:817 3278 msgid "Writing Column Headers to CSV File failed." 3279 msgstr "" 3280 3281 #. translators: %1$s is the filename and %2$s is the path. 3282 #: src/utilities.php:822 3283 #, php-format 3284 msgid "CSV File %1$s can't be opened and/or created! Please check rights for %2$s." 3349 3285 msgstr "" 3350 3286 … … 3375 3311 3376 3312 #. translators: %1$s is the file name, %2$s is the path to the file. 3377 #: src/wholesale-pricing.php:12 583313 #: src/wholesale-pricing.php:1266 3378 3314 #, php-format 3379 3315 msgid "CSV File %1$s can't be opened! Please check rights for %2$s." 3380 3316 msgstr "" 3381 3317 3382 #: src/wholesale-pricing.php:14 723318 #: src/wholesale-pricing.php:1480 3383 3319 msgid "Bulk Scheduled Order Wholesale Pricing Update" 3384 3320 msgstr "" 3385 3321 3386 3322 #. translators: %s is the list of statuses that will be updated. 3387 #: src/wholesale-pricing.php:14 763323 #: src/wholesale-pricing.php:1484 3388 3324 #, php-format 3389 3325 msgid "Batch updates all Scheduled Orders ( Statuses Included: %s ) using the Wholesale prices. The Batch Size (default is \"10\") determines the number of products to update in a single round. Decreasing the Batch Size helps prevent timeout issues for sites with many WooCommerce Products." 3390 3326 msgstr "" 3391 3327 3392 #: src/wholesale-pricing.php:148 13328 #: src/wholesale-pricing.php:1489 3393 3329 msgid "- Use the <strong>“Export Changes Only”</strong> option to export a preview of all Scheduled Orders which will be changed when Wholesale prices are re-applied. Changes will be exported in a csv file and will NOT be applied to any Scheduled Orders." 3394 3330 msgstr "" 3395 3331 3396 #: src/wholesale-pricing.php:14 893332 #: src/wholesale-pricing.php:1497 3397 3333 msgid "- Use the <strong>“Apply Changes Only”</strong> option to update all Scheduled Orders in QPilot by re-applying the current Wholesale price rules and do not export all affected Scheduled Orders to a csv file." 3398 3334 msgstr "" 3399 3335 3400 #: src/wholesale-pricing.php:1 4953336 #: src/wholesale-pricing.php:1503 3401 3337 msgid "- Use the <strong>“Apply & Export Changes”</strong> option to update all Scheduled Orders in QPilot by re-applying the current Wholesale price rules and in addition export all affected Scheduled Orders to a csv file so that changes can be reviewed after being applied." 3402 3338 msgstr "" 3403 3339 3404 #: src/wholesale-pricing.php:15 043340 #: src/wholesale-pricing.php:1512 3405 3341 msgid "<b>NOTE:</b> Download the last bulk wholesale pricing changes export file " 3406 3342 msgstr "" 3407 3343 3408 #: src/wholesale-pricing.php:15 063344 #: src/wholesale-pricing.php:1514 3409 3345 msgid "Here" 3410 3346 msgstr "" 3411 3347 3412 3348 #. translators: %1$d is the total count of Scheduled Orders, %2$s is the list of statuses that will be updated. 3413 #: src/wholesale-pricing.php:15 163349 #: src/wholesale-pricing.php:1524 3414 3350 #, php-format 3415 3351 msgid "A total of a %1$d %2$s Scheduled Orders can be processed." 3416 3352 msgstr "" 3417 3353 3418 #: src/wholesale-pricing.php:15 173354 #: src/wholesale-pricing.php:1525 3419 3355 msgid "There are no available Scheduled Orders to process." 3420 3356 msgstr "" 3421 3357 3422 #: src/wholesale-pricing.php:15 343358 #: src/wholesale-pricing.php:1542 3423 3359 msgid "Export Changes Only" 3424 3360 msgstr "" 3425 3361 3426 #: src/wholesale-pricing.php:15 453362 #: src/wholesale-pricing.php:1553 3427 3363 msgid "Apply Changes Only" 3428 3364 msgstr "" 3429 3365 3430 #: src/wholesale-pricing.php:15 533366 #: src/wholesale-pricing.php:1561 3431 3367 msgid "Apply & Export Changes" 3432 3368 msgstr "" 3433 3369 3434 #: src/wholesale-pricing.php:15 623370 #: src/wholesale-pricing.php:1570 3435 3371 msgid "Update Scheduled Orders" 3436 3372 msgstr "" 3437 3373 3438 #: src/wholesale-pricing.php:15 673374 #: src/wholesale-pricing.php:1575 3439 3375 #: templates/admin/settings/utilities.php:108 3440 3376 #: templates/admin/settings/utilities.php:162 3441 3377 #: templates/admin/settings/utilities.php:216 3442 3378 #: templates/admin/settings/utilities.php:270 3443 #: templates/admin/settings/utilities.php: 4003444 #: templates/admin/settings/utilities.php: 4403379 #: templates/admin/settings/utilities.php:322 3380 #: templates/admin/settings/utilities.php:362 3445 3381 msgid "Cancel Update" 3446 3382 msgstr "" 3447 3383 3448 3384 #. translators: %1$s is the percentage completed, %2$d is the total number of Scheduled Orders, %3$d is the number of Scheduled Orders updated. 3449 #: src/wholesale-pricing.php:18 143385 #: src/wholesale-pricing.php:1822 3450 3386 #, php-format 3451 3387 msgid "%1$s%% of the %2$d Scheduled Orders have been processed. A total of %3$d Scheduled Orders have been updated with new pricing and added to the csv export file." … … 3453 3389 3454 3390 #. translators: %1$s is the percentage completed, %2$d is the total number of Scheduled Orders, %3$d is the number of Scheduled Orders updated. 3455 #: src/wholesale-pricing.php:18 163391 #: src/wholesale-pricing.php:1824 3456 3392 #, php-format 3457 3393 msgid "%1$s%% of the %2$d Scheduled Orders have been processed. A total of %3$d Scheduled Orders would have been updated with new pricing. Pricing changes that would have been applied have been added to the csv export file." … … 3459 3395 3460 3396 #. translators: %1$s is the percentage completed, %2$d is the total number of Scheduled Orders, %3$d is the number of Scheduled Orders updated. 3461 #: src/wholesale-pricing.php:18 183462 #: src/wholesale-pricing.php:183 13397 #: src/wholesale-pricing.php:1826 3398 #: src/wholesale-pricing.php:1839 3463 3399 #, php-format 3464 3400 msgid "%1$s%% of the %2$d Scheduled Orders have been processed. A total of %3$d Scheduled Orders have been updated with new pricing." … … 3466 3402 3467 3403 #. translators: %1$s is the percentage completed, %2$d is the total number of Scheduled Orders, %3$d is the number of Scheduled Orders updated, %4$s is the download link. 3468 #: src/wholesale-pricing.php:18 273404 #: src/wholesale-pricing.php:1835 3469 3405 #, php-format 3470 3406 msgid "%1$s%% of the %2$d Scheduled Orders have been processed. A total of %3$d Scheduled Orders have been updated with new pricing and added to the csv export file. Download the export file by <a href=\"%4$s\">clicking here</a>" … … 3472 3408 3473 3409 #. translators: %1$s is the percentage completed, %2$d is the total number of Scheduled Orders, %3$d is the number of Scheduled Orders updated, %4$s is the download link. 3474 #: src/wholesale-pricing.php:18 293410 #: src/wholesale-pricing.php:1837 3475 3411 #, php-format 3476 3412 msgid "%1$s%% of the %2$d Scheduled Orders have been processed. A total of %3$d Scheduled Orders would have been updated with new pricing. All pricing changes that would have been applied have been exported to the csv export file which can be downloaded by <a href=\"%4$s\">clicking here</a>." … … 3478 3414 3479 3415 #. translators: %1$s is the percentage completed, %2$d is the total number of Scheduled Orders. 3480 #: src/wholesale-pricing.php:18 483416 #: src/wholesale-pricing.php:1856 3481 3417 #, php-format 3482 3418 msgid "%1$s%% of the %2$d Scheduled Orders have been processed. No updates were needed to the Scheduled Orders." 3483 3419 msgstr "" 3484 3420 3485 #: src/wholesale-pricing.php:18 523421 #: src/wholesale-pricing.php:1860 3486 3422 msgid "Autoship Bulk Update Orders Pricing" 3487 3423 msgstr "" 3488 3424 3489 #: src/wholesale-pricing.php:186 03425 #: src/wholesale-pricing.php:1868 3490 3426 msgid "A Problem was encountered processing the Scheduled Orders. Please try again." 3491 3427 msgstr "" … … 4344 4280 msgstr "" 4345 4281 4282 #: templates/admin/settings/utilities.php:67 4283 msgid "Update Product Synchronization" 4284 msgstr "" 4285 4346 4286 #: templates/admin/settings/utilities.php:68 4347 4287 msgid "Control which WooCommerce products are synchronized with your connected QPilot Site. Activate or deactivate all products in bulk." … … 4364 4304 #: templates/admin/settings/utilities.php:205 4365 4305 #: templates/admin/settings/utilities.php:259 4366 #: templates/admin/settings/utilities.php:3 364367 #: templates/admin/settings/utilities.php:3 904368 #: templates/admin/settings/utilities.php:4 304369 #: templates/admin/settings/utilities .php:5004306 #: templates/admin/settings/utilities.php:312 4307 #: templates/admin/settings/utilities.php:352 4308 #: templates/admin/settings/utilities.php:422 4309 #: templates/admin/settings/utilities/bulk-frequencies.php:64 4370 4310 msgid "Batch Size" 4371 4311 msgstr "" … … 4375 4315 #: templates/admin/settings/utilities.php:214 4376 4316 #: templates/admin/settings/utilities.php:268 4377 #: templates/admin/settings/utilities.php:3 984317 #: templates/admin/settings/utilities.php:320 4378 4318 msgid "Update Products" 4379 4319 msgstr "" … … 4392 4332 4393 4333 #: templates/admin/settings/utilities.php:125 4394 #: templates/admin/settings/utilities.php:28 54395 #: templates/admin/settings/utilities .php:3664334 #: templates/admin/settings/utilities.php:288 4335 #: templates/admin/settings/utilities/bulk-frequencies.php:20 4396 4336 msgid "Learn more" 4397 4337 msgstr "" … … 4440 4380 msgstr "" 4441 4381 4442 #: templates/admin/settings/utilities.php:284 4443 msgid "Bulk Update Frequency Options" 4444 msgstr "" 4445 4446 #: templates/admin/settings/utilities.php:285 4447 msgid "Update the frequency options displayed for all synced Autoship products. Products with individually overridden frequencies will not be affected." 4448 msgstr "" 4449 4450 #: templates/admin/settings/utilities.php:296 4451 msgid "There are no available products to bulk update. Please activate the products first by enabling product sync and ensuring they are displayed in Autoship Cloud." 4452 msgstr "" 4453 4454 #: templates/admin/settings/utilities.php:302 4455 msgid "Frequency Option" 4456 msgstr "" 4457 4458 #: templates/admin/settings/utilities.php:307 4459 msgid "-- Select frequency type--" 4460 msgstr "" 4461 4462 #. translators: %s: number of products 4463 #: templates/admin/settings/utilities.php:329 4464 #, php-format 4465 msgid "There are %s products that can be set frequency options." 4466 msgstr "" 4467 4468 #: templates/admin/settings/utilities.php:351 4469 msgid "Update Frequency Options" 4470 msgstr "" 4471 4472 #: templates/admin/settings/utilities.php:355 4473 msgid "Add Another +" 4474 msgstr "" 4475 4476 #: templates/admin/settings/utilities.php:365 4382 #: templates/admin/settings/utilities.php:287 4477 4383 msgid "Bulk Enable Product Availability" 4478 4384 msgstr "" 4479 4385 4480 #: templates/admin/settings/utilities.php: 3664386 #: templates/admin/settings/utilities.php:288 4481 4387 msgid "Enable or disable the Add to Scheduled Order and Process on Scheduled Orders options for all products in bulk." 4482 4388 msgstr "" 4483 4389 4484 #: templates/admin/settings/utilities.php: 3774390 #: templates/admin/settings/utilities.php:299 4485 4391 msgid "Enable Availability" 4486 4392 msgstr "" 4487 4393 4488 #: templates/admin/settings/utilities.php:3 824394 #: templates/admin/settings/utilities.php:304 4489 4395 msgid "Disable Availability" 4490 4396 msgstr "" 4491 4397 4492 #: templates/admin/settings/utilities.php: 4144398 #: templates/admin/settings/utilities.php:336 4493 4399 msgid "Bulk Update Customer Metrics" 4494 4400 msgstr "" 4495 4401 4496 #: templates/admin/settings/utilities.php: 4154402 #: templates/admin/settings/utilities.php:337 4497 4403 msgid "Import subscription customer metrics from QPilot Cloud into your WordPress database." 4498 4404 msgstr "" 4499 4405 4500 4406 #. translators: %d is the number of customers. 4501 #: templates/admin/settings/utilities.php: 4234407 #: templates/admin/settings/utilities.php:345 4502 4408 #, php-format 4503 4409 msgid "A total of a %d Customers can be processed." … … 4505 4411 4506 4412 #. translators: %d is the number of customers. 4507 #: templates/admin/settings/utilities.php: 4234413 #: templates/admin/settings/utilities.php:345 4508 4414 msgid "There are no available customers to process." 4509 4415 msgstr "" 4510 4416 4511 #: templates/admin/settings/utilities.php: 4384417 #: templates/admin/settings/utilities.php:360 4512 4418 msgid "Update Customers" 4513 4419 msgstr "" 4514 4420 4515 #: templates/admin/settings/utilities.php: 4774421 #: templates/admin/settings/utilities.php:399 4516 4422 msgid "Automatic Product Sync Utility" 4517 4423 msgstr "" 4518 4424 4519 #: templates/admin/settings/utilities.php:4 794425 #: templates/admin/settings/utilities.php:401 4520 4426 msgid "ENABLED" 4521 4427 msgstr "" 4522 4428 4523 #: templates/admin/settings/utilities.php:4 814429 #: templates/admin/settings/utilities.php:403 4524 4430 msgid "DISABLED" 4525 4431 msgstr "" 4526 4432 4527 #: templates/admin/settings/utilities.php:4 854433 #: templates/admin/settings/utilities.php:407 4528 4434 msgid "Automatically sync product data with Autoship Cloud using the WooCommerce Action Scheduler. Configure batch size and run interval to balance performance and server load." 4529 4435 msgstr "" 4530 4436 4531 #: templates/admin/settings/utilities.php:4 904437 #: templates/admin/settings/utilities.php:412 4532 4438 #: templates/quicklaunch/step-connection.php:60 4533 4439 msgid "There are" 4534 4440 msgstr "" 4535 4441 4536 #: templates/admin/settings/utilities.php:4 904442 #: templates/admin/settings/utilities.php:412 4537 4443 msgid "products pending to sync for today." 4538 4444 msgstr "" 4539 4445 4540 #: templates/admin/settings/utilities.php:4 944446 #: templates/admin/settings/utilities.php:416 4541 4447 msgid "Last synchronization was executed on" 4542 4448 msgstr "" 4543 4449 4544 #: templates/admin/settings/utilities.php:4 944450 #: templates/admin/settings/utilities.php:416 4545 4451 msgid "and took" 4546 4452 msgstr "" 4547 4453 4548 #: templates/admin/settings/utilities.php:4 944454 #: templates/admin/settings/utilities.php:416 4549 4455 msgid "seconds to process" 4550 4456 msgstr "" 4551 4457 4552 #: templates/admin/settings/utilities.php:4 944458 #: templates/admin/settings/utilities.php:416 4553 4459 msgid "products." 4554 4460 msgstr "" 4555 4461 4556 4462 #. translators: %1$d is the number of the recommended batch size, %2$d is the number of products. 4557 #: templates/admin/settings/utilities.php: 5034463 #: templates/admin/settings/utilities.php:425 4558 4464 #, php-format 4559 4465 msgid "The suggested batch size is %1$d based on your %2$d products using an interval of 5 minutes." 4560 4466 msgstr "" 4561 4467 4562 #: templates/admin/settings/utilities.php: 5104468 #: templates/admin/settings/utilities.php:432 4563 4469 msgid "Run Every" 4564 4470 msgstr "" 4565 4471 4566 #: templates/admin/settings/utilities.php: 5124567 #: templates/admin/settings/utilities.php: 5134568 #: templates/admin/settings/utilities.php: 5144569 #: templates/admin/settings/utilities.php: 5154570 #: templates/admin/settings/utilities.php: 5164472 #: templates/admin/settings/utilities.php:434 4473 #: templates/admin/settings/utilities.php:435 4474 #: templates/admin/settings/utilities.php:436 4475 #: templates/admin/settings/utilities.php:437 4476 #: templates/admin/settings/utilities.php:438 4571 4477 msgid "minutes" 4572 4478 msgstr "" 4573 4479 4574 #: templates/admin/settings/utilities.php: 5174480 #: templates/admin/settings/utilities.php:439 4575 4481 msgid "hour" 4576 4482 msgstr "" 4577 4483 4578 #: templates/admin/settings/utilities.php: 5184579 #: templates/admin/settings/utilities.php: 5194580 #: templates/admin/settings/utilities.php: 5204581 #: templates/admin/settings/utilities.php: 5214582 #: templates/admin/settings/utilities.php: 5224583 #: templates/admin/settings/utilities.php: 5234484 #: templates/admin/settings/utilities.php:440 4485 #: templates/admin/settings/utilities.php:441 4486 #: templates/admin/settings/utilities.php:442 4487 #: templates/admin/settings/utilities.php:443 4488 #: templates/admin/settings/utilities.php:444 4489 #: templates/admin/settings/utilities.php:445 4584 4490 msgid "hours" 4585 4491 msgstr "" 4586 4492 4587 #: templates/admin/settings/utilities.php: 5244493 #: templates/admin/settings/utilities.php:446 4588 4494 msgid "daily" 4589 4495 msgstr "" 4590 4496 4591 #: templates/admin/settings/utilities.php: 5324497 #: templates/admin/settings/utilities.php:454 4592 4498 msgid "Enable synchronization logs to track activity and errors." 4593 4499 msgstr "" 4594 4500 4595 #: templates/admin/settings/utilities.php: 5334501 #: templates/admin/settings/utilities.php:455 4596 4502 msgid "If the logs are enabled, you can download them from Autoship > Settings > Logs section." 4597 4503 msgstr "" 4598 4504 4599 #: templates/admin/settings/utilities.php: 5384505 #: templates/admin/settings/utilities.php:460 4600 4506 msgid "Warning:" 4601 4507 msgstr "" 4602 4508 4603 #: templates/admin/settings/utilities.php: 5384509 #: templates/admin/settings/utilities.php:460 4604 4510 msgid "Using this settings will take more than 1 day to sync the remaining products." 4605 4511 msgstr "" 4606 4512 4607 #: templates/admin/settings/utilities.php: 5444513 #: templates/admin/settings/utilities.php:466 4608 4514 msgid "Update Settings" 4609 4515 msgstr "" 4610 4516 4611 #: templates/admin/settings/utilities.php: 5454517 #: templates/admin/settings/utilities.php:467 4612 4518 msgid "Disable Product Sync" 4613 4519 msgstr "" 4614 4520 4615 #: templates/admin/settings/utilities.php: 5504521 #: templates/admin/settings/utilities.php:472 4616 4522 msgid "Disabling this utility will prevent data from WooCommerce Products being sent to Autoship Cloud unless you manually sync the data for an individual product or perform a bulk update." 4617 4523 msgstr "" 4618 4524 4619 #: templates/admin/settings/utilities.php: 5584525 #: templates/admin/settings/utilities.php:480 4620 4526 msgid "Enable Product Sync" 4527 msgstr "" 4528 4529 #: templates/admin/settings/utilities/bulk-frequencies.php:19 4530 msgid "Bulk Update Frequency Options" 4531 msgstr "" 4532 4533 #: templates/admin/settings/utilities/bulk-frequencies.php:20 4534 msgid "Update the frequency options displayed for all synced Autoship products. Products with individually overridden frequencies will not be affected." 4535 msgstr "" 4536 4537 #: templates/admin/settings/utilities/bulk-frequencies.php:24 4538 msgid "There are no available products to bulk update. Please activate the products first by enabling product sync and ensuring they are displayed in Autoship Cloud." 4539 msgstr "" 4540 4541 #: templates/admin/settings/utilities/bulk-frequencies.php:30 4542 msgid "Frequency Option" 4543 msgstr "" 4544 4545 #: templates/admin/settings/utilities/bulk-frequencies.php:35 4546 msgid "-- Select frequency type--" 4547 msgstr "" 4548 4549 #. translators: %s: number of products 4550 #: templates/admin/settings/utilities/bulk-frequencies.php:57 4551 #, php-format 4552 msgid "There are %s products that can be set frequency options." 4553 msgstr "" 4554 4555 #: templates/admin/settings/utilities/bulk-frequencies.php:79 4556 msgid "Update Frequency Options" 4557 msgstr "" 4558 4559 #: templates/admin/settings/utilities/bulk-frequencies.php:83 4560 msgid "Add Another +" 4621 4561 msgstr "" 4622 4562 … … 5166 5106 #: templates/quicklaunch/step-payments.php:101 5167 5107 #: templates/quicklinks/thank-you.php:360 5168 #: templates/quicklinks/thank-you2.old.php:3605169 5108 msgid "Status:" 5170 5109 msgstr "" … … 5459 5398 #: templates/quicklinks/already-processed.php:32 5460 5399 #: templates/quicklinks/already-processed.php:38 5461 #: templates/quicklinks/already-processed2.old.php:325462 #: templates/quicklinks/already-processed2.old.php:385463 5400 msgid "processed" 5464 5401 msgstr "" 5465 5402 5466 5403 #: templates/quicklinks/already-processed.php:33 5467 #: templates/quicklinks/already-processed2.old.php:335468 5404 msgid "failed" 5469 5405 msgstr "" 5470 5406 5471 5407 #: templates/quicklinks/already-processed.php:34 5472 #: templates/quicklinks/already-processed2.old.php:345473 5408 msgid "cancelled" 5474 5409 msgstr "" 5475 5410 5476 5411 #: templates/quicklinks/already-processed.php:35 5477 #: templates/quicklinks/already-processed2.old.php:355478 5412 msgid "expired" 5479 5413 msgstr "" … … 5481 5415 #. translators: %s: site name. 5482 5416 #: templates/quicklinks/already-processed.php:47 5483 #: templates/quicklinks/already-processed2.old.php:475484 5417 #, php-format 5485 5418 msgid "Already Processed - %s" … … 5488 5421 #. translators: %s: status text (e.g., "processed", "cancelled") 5489 5422 #: templates/quicklinks/already-processed.php:316 5490 #: templates/quicklinks/already-processed2.old.php:3165491 5423 #, php-format 5492 5424 msgid "This confirmation has already been %s." … … 5494 5426 5495 5427 #: templates/quicklinks/already-processed.php:323 5496 #: templates/quicklinks/already-processed2.old.php:3235497 5428 msgid "You cannot process the same confirmation multiple times for security reasons." 5498 5429 msgstr "" 5499 5430 5500 5431 #: templates/quicklinks/already-processed.php:328 5501 #: templates/quicklinks/already-processed2.old.php:3285502 5432 #: templates/quicklinks/cancelled.php:323 5503 #: templates/quicklinks/cancelled2.old.php:3235504 5433 #: templates/quicklinks/error.php:300 5505 #: templates/quicklinks/error2.old.php:3005506 5434 #: templates/quicklinks/expired.php:326 5507 #: templates/quicklinks/expired2.old.php:3265508 5435 msgid "What You Can Do" 5509 5436 msgstr "" 5510 5437 5511 5438 #: templates/quicklinks/already-processed.php:330 5512 #: templates/quicklinks/already-processed2.old.php:3305513 5439 msgid "Visit your account to manage your subscriptions" 5514 5440 msgstr "" 5515 5441 5516 5442 #: templates/quicklinks/already-processed.php:331 5517 #: templates/quicklinks/already-processed2.old.php:3315518 5443 msgid "Check your email for the original confirmation result" 5519 5444 msgstr "" 5520 5445 5521 5446 #: templates/quicklinks/already-processed.php:332 5522 #: templates/quicklinks/already-processed2.old.php:3325523 5447 #: templates/quicklinks/expired.php:330 5524 #: templates/quicklinks/expired2.old.php:3305525 5448 msgid "Contact support if you need assistance" 5526 5449 msgstr "" 5527 5450 5528 5451 #: templates/quicklinks/already-processed.php:340 5529 #: templates/quicklinks/already-processed2.old.php:3405530 5452 #: templates/quicklinks/cancelled.php:335 5531 #: templates/quicklinks/cancelled2.old.php:3355532 5453 #: templates/quicklinks/error.php:313 5533 #: templates/quicklinks/error2.old.php:3135534 5454 msgid "Go to My Subscriptions" 5535 5455 msgstr "" 5536 5456 5537 5457 #: templates/quicklinks/already-processed.php:343 5538 #: templates/quicklinks/already-processed2.old.php:3435539 5458 #: templates/quicklinks/cancelled.php:338 5540 #: templates/quicklinks/cancelled2.old.php:3385541 5459 #: templates/quicklinks/error.php:316 5542 #: templates/quicklinks/error2.old.php:3165543 5460 #: templates/quicklinks/expired.php:338 5544 #: templates/quicklinks/expired2.old.php:3385545 5461 msgid "Go to My Account" 5546 5462 msgstr "" 5547 5463 5548 5464 #: templates/quicklinks/already-processed.php:347 5549 #: templates/quicklinks/already-processed2.old.php:3475550 5465 #: templates/quicklinks/cancelled.php:342 5551 #: templates/quicklinks/cancelled2.old.php:3425552 5466 #: templates/quicklinks/error.php:320 5553 #: templates/quicklinks/error2.old.php:3205554 5467 #: templates/quicklinks/expired.php:341 5555 5468 #: templates/quicklinks/expired.php:345 5556 #: templates/quicklinks/expired2.old.php:3415557 #: templates/quicklinks/expired2.old.php:3455558 5469 msgid "Return to Home" 5559 5470 msgstr "" 5560 5471 5561 5472 #: templates/quicklinks/already-processed.php:354 5562 #: templates/quicklinks/already-processed2.old.php:3545563 5473 #: templates/quicklinks/cancelled.php:350 5564 #: templates/quicklinks/cancelled2.old.php:3505565 5474 #: templates/quicklinks/error.php:328 5566 #: templates/quicklinks/error2.old.php:3285567 5475 #: templates/quicklinks/expired.php:355 5568 #: templates/quicklinks/expired2.old.php:3555569 5476 #: templates/quicklinks/partials/powered-by.php:19 5570 5477 #: templates/quicklinks/rate-limited.php:314 5571 #: templates/quicklinks/rate-limited2.old.php:3145572 5478 #: templates/quicklinks/scanner-detected.php:304 5573 #: templates/quicklinks/scanner-detected2.old.php:3045574 5479 #: templates/quicklinks/thank-you.php:412 5575 #: templates/quicklinks/thank-you2.old.php:4125576 5480 msgid "Powered by" 5577 5481 msgstr "" 5578 5482 5579 5483 #: templates/quicklinks/cancelled.php:27 5580 #: templates/quicklinks/cancelled2.old.php:275581 5484 msgid "requested" 5582 5485 msgstr "" … … 5584 5487 #. translators: %s: site name. 5585 5488 #: templates/quicklinks/cancelled.php:36 5586 #: templates/quicklinks/cancelled2.old.php:365587 5489 #, php-format 5588 5490 msgid "Action Cancelled - %s" … … 5591 5493 #. translators: %s: action name (e.g., "pause", "resume") 5592 5494 #: templates/quicklinks/cancelled.php:311 5593 #: templates/quicklinks/cancelled2.old.php:3115594 5495 #, php-format 5595 5496 msgid "You have cancelled the %s action." … … 5597 5498 5598 5499 #: templates/quicklinks/cancelled.php:318 5599 #: templates/quicklinks/cancelled2.old.php:3185600 5500 msgid "No changes have been made to your subscription." 5601 5501 msgstr "" 5602 5502 5603 5503 #: templates/quicklinks/cancelled.php:325 5604 #: templates/quicklinks/cancelled2.old.php:3255605 5504 msgid "Manage your subscription from your account dashboard" 5606 5505 msgstr "" 5607 5506 5608 5507 #: templates/quicklinks/cancelled.php:326 5609 #: templates/quicklinks/cancelled2.old.php:3265610 5508 msgid "Request a new action link if needed" 5611 5509 msgstr "" 5612 5510 5613 5511 #: templates/quicklinks/cancelled.php:327 5614 #: templates/quicklinks/cancelled2.old.php:3275615 5512 msgid "Contact our support team if you need assistance" 5616 5513 msgstr "" … … 5618 5515 #: templates/quicklinks/confirm.php:42 5619 5516 #: templates/quicklinks/thank-you.php:32 5620 #: templates/quicklinks/thank-you2.old.php:325621 5517 msgid "subscription" 5622 5518 msgstr "" … … 5668 5564 #. translators: %s: site name. 5669 5565 #: templates/quicklinks/error.php:35 5670 #: templates/quicklinks/error2.old.php:355671 5566 #, php-format 5672 5567 msgid "Action Failed - %s" … … 5674 5569 5675 5570 #: templates/quicklinks/error.php:302 5676 #: templates/quicklinks/error2.old.php:3025677 5571 msgid "Try accessing the link again from your original email" 5678 5572 msgstr "" 5679 5573 5680 5574 #: templates/quicklinks/error.php:303 5681 #: templates/quicklinks/error2.old.php:3035682 5575 msgid "Check if you are logged into your account" 5683 5576 msgstr "" 5684 5577 5685 5578 #: templates/quicklinks/error.php:304 5686 #: templates/quicklinks/error2.old.php:3045687 5579 msgid "Manage your subscription directly from your account dashboard" 5688 5580 msgstr "" 5689 5581 5690 5582 #: templates/quicklinks/error.php:305 5691 #: templates/quicklinks/error2.old.php:3055692 5583 msgid "Contact our support team if the issue persists" 5693 5584 msgstr "" … … 5695 5586 #. translators: %s: site name. 5696 5587 #: templates/quicklinks/expired.php:30 5697 #: templates/quicklinks/expired2.old.php:305698 5588 #, php-format 5699 5589 msgid "Link Expired - %s" … … 5701 5591 5702 5592 #: templates/quicklinks/expired.php:317 5703 #: templates/quicklinks/expired2.old.php:3175704 5593 msgid "This confirmation link has expired after 30 minutes." 5705 5594 msgstr "" 5706 5595 5707 5596 #: templates/quicklinks/expired.php:321 5708 #: templates/quicklinks/expired2.old.php:3215709 5597 msgid "For your security, confirmation links expire after a short period." 5710 5598 msgstr "" 5711 5599 5712 5600 #: templates/quicklinks/expired.php:328 5713 #: templates/quicklinks/expired2.old.php:3285714 5601 msgid "Request a new action link from your email" 5715 5602 msgstr "" 5716 5603 5717 5604 #: templates/quicklinks/expired.php:329 5718 #: templates/quicklinks/expired2.old.php:3295719 5605 msgid "Visit your account to manage your subscription" 5720 5606 msgstr "" 5721 5607 5722 5608 #: templates/quicklinks/expired.php:348 5723 #: templates/quicklinks/expired2.old.php:3485724 5609 msgid "Sign in to your account" 5725 5610 msgstr "" … … 5727 5612 #. translators: %s: site name. 5728 5613 #: templates/quicklinks/rate-limited.php:32 5729 #: templates/quicklinks/rate-limited2.old.php:325730 5614 #, php-format 5731 5615 msgid "Please Wait - %s" … … 5733 5617 5734 5618 #: templates/quicklinks/rate-limited.php:294 5735 #: templates/quicklinks/rate-limited2.old.php:2945736 5619 msgid "Seconds Remaining" 5737 5620 msgstr "" 5738 5621 5739 5622 #: templates/quicklinks/rate-limited.php:299 5740 #: templates/quicklinks/rate-limited2.old.php:2995741 5623 msgid "This page will automatically reload when you can try again." 5742 5624 msgstr "" 5743 5625 5744 5626 #: templates/quicklinks/rate-limited.php:304 5745 #: templates/quicklinks/rate-limited2.old.php:3045746 5627 #: templates/quicklinks/scanner-detected.php:278 5747 #: templates/quicklinks/scanner-detected2.old.php:2785748 5628 msgid "Why Am I Seeing This?" 5749 5629 msgstr "" 5750 5630 5751 5631 #: templates/quicklinks/rate-limited.php:306 5752 #: templates/quicklinks/rate-limited2.old.php:3065753 5632 msgid "Too many requests were made in a short time" 5754 5633 msgstr "" 5755 5634 5756 5635 #: templates/quicklinks/rate-limited.php:307 5757 #: templates/quicklinks/rate-limited2.old.php:3075758 5636 msgid "This helps protect against automated attacks" 5759 5637 msgstr "" 5760 5638 5761 5639 #: templates/quicklinks/rate-limited.php:308 5762 #: templates/quicklinks/rate-limited2.old.php:3085763 5640 msgid "You can retry once the countdown reaches zero" 5764 5641 msgstr "" 5765 5642 5766 5643 #: templates/quicklinks/scanner-detected.php:30 5767 #: templates/quicklinks/scanner-detected2.old.php:305768 5644 msgid "Human Verification Required" 5769 5645 msgstr "" 5770 5646 5771 5647 #: templates/quicklinks/scanner-detected.php:273 5772 #: templates/quicklinks/scanner-detected2.old.php:2735773 5648 msgid "This action requires human confirmation for your security and protection." 5774 5649 msgstr "" 5775 5650 5776 5651 #: templates/quicklinks/scanner-detected.php:280 5777 #: templates/quicklinks/scanner-detected2.old.php:2805778 5652 msgid "We detected that this link may have been accessed by an automated email security scanner rather than directly by you." 5779 5653 msgstr "" 5780 5654 5781 5655 #: templates/quicklinks/scanner-detected.php:283 5782 #: templates/quicklinks/scanner-detected2.old.php:2835783 5656 msgid "Email security systems (like Outlook SafeLinks or Gmail Image Proxy) automatically check links in emails for phishing and malware. While this protects you, it can sometimes accidentally trigger subscription actions before you're ready." 5784 5657 msgstr "" 5785 5658 5786 5659 #: templates/quicklinks/scanner-detected.php:289 5787 #: templates/quicklinks/scanner-detected2.old.php:2895788 5660 msgid "How To Proceed" 5789 5661 msgstr "" 5790 5662 5791 5663 #: templates/quicklinks/scanner-detected.php:291 5792 #: templates/quicklinks/scanner-detected2.old.php:2915793 5664 msgid "Open the link from your email client" 5794 5665 msgstr "" 5795 5666 5796 5667 #: templates/quicklinks/scanner-detected.php:291 5797 #: templates/quicklinks/scanner-detected2.old.php:2915798 5668 msgid "Click the link directly in your email" 5799 5669 msgstr "" 5800 5670 5801 5671 #: templates/quicklinks/scanner-detected.php:292 5802 #: templates/quicklinks/scanner-detected2.old.php:2925803 5672 msgid "Use a different browser" 5804 5673 msgstr "" 5805 5674 5806 5675 #: templates/quicklinks/scanner-detected.php:292 5807 #: templates/quicklinks/scanner-detected2.old.php:2925808 5676 msgid "If using a work/corporate email, try a personal browser" 5809 5677 msgstr "" 5810 5678 5811 5679 #: templates/quicklinks/scanner-detected.php:293 5812 #: templates/quicklinks/scanner-detected2.old.php:2935813 5680 msgid "Contact support" 5814 5681 msgstr "" 5815 5682 5816 5683 #: templates/quicklinks/scanner-detected.php:293 5817 #: templates/quicklinks/scanner-detected2.old.php:2935818 5684 msgid "If you continue to see this message, we can help" 5819 5685 msgstr "" 5820 5686 5821 5687 #: templates/quicklinks/scanner-detected.php:299 5822 #: templates/quicklinks/scanner-detected2.old.php:2995823 5688 msgid "This security measure ensures that your subscription actions only occur when you intentionally click the link, not when an automated scanner checks it." 5824 5689 msgstr "" 5825 5690 5826 5691 #: templates/quicklinks/thank-you.php:59 5827 #: templates/quicklinks/thank-you2.old.php:595828 5692 msgid "Your subscription will resume with the next scheduled delivery." 5829 5693 msgstr "" 5830 5694 5831 5695 #: templates/quicklinks/thank-you.php:60 5832 #: templates/quicklinks/thank-you2.old.php:605833 5696 msgid "Your subscription is now paused. No charges will occur until you resume." 5834 5697 msgstr "" 5835 5698 5836 5699 #: templates/quicklinks/thank-you.php:61 5837 #: templates/quicklinks/thank-you2.old.php:615838 5700 msgid "We are processing your order now. Check your email for order confirmation and tracking details." 5839 5701 msgstr "" 5840 5702 5841 5703 #: templates/quicklinks/thank-you.php:62 5842 #: templates/quicklinks/thank-you2.old.php:625843 5704 msgid "Welcome back! Your subscription is now active again." 5844 5705 msgstr "" 5845 5706 5846 5707 #: templates/quicklinks/thank-you.php:64 5847 #: templates/quicklinks/thank-you2.old.php:645848 5708 msgid "You can manage your subscription anytime through your account dashboard." 5849 5709 msgstr "" … … 5851 5711 #. translators: %s: site name. 5852 5712 #: templates/quicklinks/thank-you.php:73 5853 #: templates/quicklinks/thank-you2.old.php:735854 5713 #, php-format 5855 5714 msgid "Action Successful - %s" … … 5857 5716 5858 5717 #: templates/quicklinks/thank-you.php:356 5859 #: templates/quicklinks/thank-you2.old.php:3565860 5718 msgid "Subscription Details" 5861 5719 msgstr "" 5862 5720 5863 5721 #: templates/quicklinks/thank-you.php:366 5864 #: templates/quicklinks/thank-you2.old.php:3665865 5722 msgid "Next Occurrence Date:" 5866 5723 msgstr "" 5867 5724 5868 5725 #: templates/quicklinks/thank-you.php:373 5869 #: templates/quicklinks/thank-you2.old.php:3735870 5726 msgid "Order ID:" 5871 5727 msgstr "" 5872 5728 5873 5729 #: templates/quicklinks/thank-you.php:388 5874 #: templates/quicklinks/thank-you2.old.php:3885875 5730 msgid "View My Subscriptions" 5876 5731 msgstr "" 5877 5732 5878 5733 #: templates/quicklinks/thank-you.php:392 5879 #: templates/quicklinks/thank-you2.old.php:3925880 5734 msgid "Continue Shopping" 5881 5735 msgstr "" … … 5883 5737 #. translators: %s: support email link 5884 5738 #: templates/quicklinks/thank-you.php:403 5885 #: templates/quicklinks/thank-you2.old.php:4035886 5739 #, php-format 5887 5740 msgid "Questions? Contact us at %s" -
autoship-cloud/trunk/readme.txt
r3475704 r3481543 10 10 WC tested up to: 10.4.3 11 11 Requires PHP: 7.4 12 Stable tag: 2.12. 112 Stable tag: 2.12.2 13 13 License: GPLv2 or later 14 14 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 291 291 292 292 == Changelog == 293 294 = 2.12.2 - 2026-03-12 = 295 296 - New! Migrated the health check system to the modern module architecture with dedicated REST and AJAX controllers, a centralized health check service, and full legacy compatibility. 297 298 - New! Added a Labels service for centralized management of UI labels and display strings. 299 300 - Improved: Reorganized legacy code files (logger, deprecated functions, languages, health checks) into a dedicated `src/legacy/` directory with proper deprecation notices. 301 302 - Improved: Removed the chatbot (WebChat) feature and its dependencies. 303 304 - Improved: Cleaned up unused legacy code including WC-Autoship dead code, export/import utilities, and upgrade routines. 305 306 - Improved: Updated positioning of event logs and product dropdown on the scheduled order deletion modal. 307 308 - Improved: Added `is_tracing_enabled` support on logs for better debugging control. 309 310 - Improved: Updated translations and composer configuration. 311 312 - Fixed: Stripe gateway metadata fees compatibility for Stripe plugin versions earlier than 8.8.0. 293 313 294 314 = 2.12.1 - 2026-03-04 = -
autoship-cloud/trunk/src/admin.php
r3453277 r3481543 1022 1022 'autoship_token_auth' => 'autoship-settings-group', 1023 1023 'autoship_refresh_token' => 'autoship-settings-group', 1024 'autoship_webchat_directline_secret' => 'autoship-settings-group',1025 1024 'autoship_product_message' => 'autoship-settings-group', 1026 1025 'autoship_scheduled_orders_app_enabled' => 'autoship-settings-group', … … 1231 1230 'autoship_product_message', 1232 1231 'autoship_dynamic_cart', 1233 'autoship_webchat_directline_secret',1234 1232 'autoship_health', 1235 1233 'autoship_get_checked_utc', … … 1530 1528 function autoship_exclude_submit_on_tab( $include_submit, $active_tab ) { 1531 1529 1532 return ! in_array( $active_tab, array( 'autoship-extensions', 'autoship-utilities', 'autoship- migrations', 'autoship-logs' ), true );1530 return ! in_array( $active_tab, array( 'autoship-extensions', 'autoship-utilities', 'autoship-logs' ), true ); 1533 1531 } 1534 1532 … … 1652 1650 function autoship_utilities_section( $autoship_settings ) { 1653 1651 autoship_include_template( 'admin/settings/utilities', array( 'autoship_settings' => $autoship_settings ) ); 1654 }1655 1656 /**1657 * Generates the content for a Autoship Cloud > Settings > Migrations section.1658 *1659 * @param array $autoship_settings The current autoship Settings fields and values.1660 */1661 function autoship_migrations_section( $autoship_settings ) {1662 autoship_include_template( 'admin/migrations', array( 'autoship_settings' => $autoship_settings ) );1663 1652 } 1664 1653 -
autoship-cloud/trunk/src/api.php
r3352156 r3481543 346 346 global $woocommerce; 347 347 348 $legacy = autoship_has_legacy_origin();349 348 $frequencies = autoship_default_frequency_options(); 350 349 … … 353 352 '_qpilot_wordpress_version' => get_bloginfo( 'version' ), 354 353 '_qpilot_woocommerce_version' => $woocommerce->version, 355 '_qpilot_wc_autoship_legacy' => $legacy,356 354 '_qpilot_php_version' => phpversion(), 357 355 '_qpilot_extensions' => autoship_get_custom_extensions(), … … 460 458 add_action( 'rest_api_init', 'autoship_qpilot_orders_routes', 99 ); 461 459 462 /**463 * Registeres new REST API endpoints for QPilot464 * Used for integration testing the PUT & POST calls.465 *466 * Uses the {@see WP_REST_Server} class467 * READABLE = 'GET';468 * CREATABLE = 'POST';469 * EDITABLE = 'POST, PUT, PATCH';470 * DELETABLE = 'DELETE';471 * ALLMETHODS = 'GET, POST, PUT, PATCH, DELETE';472 */473 function autoship_qpilot_statuscheck_routes() {474 /*475 * Registers a new REST API endpoint for QPilot476 *477 * @param string $namespace The first URL segment after core prefix. Should be unique to your package/plugin.478 * @param string $route The base URL for route you are adding.479 * @param array $args Optional. Either an array of options for the endpoint, or an array of arrays for480 * multiple methods. Default empty array.481 */482 register_rest_route(483 'autoshipcloud/v1',484 '/statuscheck/put',485 array(486 'methods' => WP_REST_Server::EDITABLE,487 'callback' => 'autoship_qpilot_statuscheck_put_update',488 'permission_callback' => 'autoship_qpilot_statuscheck_permission_check',489 )490 );491 492 register_rest_route(493 'autoshipcloud/v1',494 '/statuscheck/post',495 array(496 'methods' => WP_REST_Server::CREATABLE,497 'callback' => 'autoship_qpilot_statuscheck_post_update',498 'permission_callback' => 'autoship_qpilot_statuscheck_permission_check',499 )500 );501 502 register_rest_route(503 'autoshipcloud/v1',504 '/statuscheck/get',505 array(506 'methods' => WP_REST_Server::READABLE,507 'callback' => 'autoship_qpilot_statuscheck_get_update',508 'permission_callback' => 'autoship_qpilot_statuscheck_permission_check',509 )510 );511 }512 513 add_action( 'rest_api_init', 'autoship_qpilot_statuscheck_routes', 99 );514 515 460 // ========================================================== 516 461 // REST API Permission Callback Functions … … 550 495 function autoship_qpilot_products_permissions( $request ) { 551 496 return apply_filters( 'autoship_qpilot_products_permission_check', true, $request ); 552 }553 554 /**555 * Permission Callback for the health check endpoints556 *557 * @param WP_REST_Request $request The Request.558 *559 * @return bool|WP_Error True if use has permissions else WP_Error560 */561 function autoship_qpilot_statuscheck_permission_check( $request ) {562 return apply_filters( 'autoship_qpilot_statuscheck_permission_check', true, $request );563 497 } 564 498 … … 652 586 653 587 /** 654 * Updates the PUT status check with the current time.655 *656 * @param WP_REST_Request $request Request data.657 *658 * @return WP_REST_Response659 */660 function autoship_qpilot_statuscheck_put_update( $request ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found661 662 // Get current UTC date time.663 // Specified date/time in the specified time zone.664 $date = new DateTime();665 $date->setTimezone( new DateTimeZone( 'UTC' ) );666 $timestamp = $date->getTimestamp();667 668 // Attempt to update the integration status for PUT action.669 $result = autoship_update_integration_point_status( 'put', $timestamp );670 671 if ( false === $result ) {672 // Create & return the response object.673 $response = new WP_REST_Response(674 array(675 'code' => 'autoship_put_failure',676 'message' => 'Autoship PUT Update Failed. WordPress Update WP Options Record Failed.',677 )678 );679 680 $response->set_status( 500 );681 682 return $response;683 } else {684 // Create & return the response object.685 $response = new WP_REST_Response(686 array(687 'code' => 'autoship_put_success',688 'message' => 'Autoship PUT Update Success',689 )690 );691 692 $response->set_status( 200 );693 694 return $response;695 }696 }697 698 /**699 * Updates the POST status check with the current time.700 *701 * @param WP_REST_Request $request Request data.702 *703 * @return WP_REST_Response704 */705 function autoship_qpilot_statuscheck_post_update( $request ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found706 707 // Get current UTC date time708 // Specified date/time in the specified time zone.709 $date = new DateTime();710 $date->setTimezone( new DateTimeZone( 'UTC' ) );711 $timestamp = $date->getTimestamp();712 713 // Attempt to update the integration status for POST action.714 $result = autoship_update_integration_point_status( 'post', $timestamp );715 716 if ( false === $result ) {717 718 // Create & return the response object.719 $response = new WP_REST_Response(720 array(721 'code' => 'autoship_post_failure',722 'message' => 'Autoship POST Update Failed. WordPress Update WP Options Record Failed.',723 )724 );725 726 $response->set_status( 500 );727 728 return $response;729 730 } else {731 // Create & return the response object.732 $response = new WP_REST_Response(733 array(734 'code' => 'autoship_post_success',735 'message' => 'Autoship POST Update Success',736 )737 );738 739 $response->set_status( 200 );740 741 return $response;742 }743 }744 745 /**746 * Updates the POST status check with the current time.747 *748 * @param WP_REST_Request $request Request data.749 *750 * @return WP_REST_Response751 */752 function autoship_qpilot_statuscheck_get_update( $request ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found753 754 // Get current UTC date time.755 // Specified date/time in the specified time zone.756 $date = new DateTime();757 $date->setTimezone( new DateTimeZone( 'UTC' ) );758 $timestamp = $date->getTimestamp();759 760 // Attempt to update the integration status for GET action.761 $result = autoship_update_integration_point_status( 'get', $timestamp );762 763 if ( false === $result ) {764 // Create & return the response object.765 $response = new WP_REST_Response(766 array(767 'code' => 'autoship_get_failure',768 'message' => 'Autoship GET Update Failed. WordPress Update WP Options Record Failed.',769 )770 );771 772 $response->set_status( 500 );773 774 return $response;775 } else {776 // Create & return the response object.777 $response = new WP_REST_Response(778 array(779 'code' => 'autoship_get_success',780 'message' => 'Autoship GET Update Success',781 )782 );783 784 $response->set_status( 200 );785 return $response;786 }787 }788 789 /**790 588 * Updates the Availability for a product 791 589 * -
autoship-cloud/trunk/src/payments.php
r3462779 r3481543 3627 3627 } 3628 3628 3629 // Stripe plugin 8.8.0+ handles fee/net metadata natively; skip to avoid doubling values. 3630 if ( defined( 'WC_STRIPE_VERSION' ) && version_compare( WC_STRIPE_VERSION, '8.8.0', '>=' ) ) { 3631 return; 3632 } 3633 3629 3634 $fee_refund = null; 3630 3635 $net_refund = null; -
autoship-cloud/trunk/src/scripts.php
r3453277 r3481543 54 54 // Add the filter to convert scripts to ES modules. 55 55 add_filter( 'script_loader_tag', 'autoship_add_module_type_to_scripts', 10, 3 ); 56 57 // Fix PrimeNG overlay positioning in WP admin. 58 wp_enqueue_script( 'autoship-qmc-overlay-fix', plugin_dir_url( Autoship_Plugin_File ) . 'js/admin/qmc-overlay-fix.js', array(), Autoship_Version, true ); 56 59 } 57 60 } … … 96 99 wp_enqueue_script( 'autoship-select-frequency-dialog', plugin_dir_url( Autoship_Plugin_File ) . 'js/select-frequency-dialog.js', array(), Autoship_Version, true ); 97 100 wp_enqueue_script( 'autoship-select-next-occurrence-dialog', plugin_dir_url( Autoship_Plugin_File ) . 'js/select-next-occurrence-dialog.js', array(), Autoship_Version, true ); 98 }99 100 // Only Load if Chat Bot is Enabled.101 if ( ! empty( autoship_get_settings_fields( 'autoship_webchat_directline_secret', true ) ) ) {102 wp_enqueue_style( 'autoship-webchat', plugin_dir_url( Autoship_Plugin_File ) . 'WebChat/botchat.css', array(), Autoship_Version );103 wp_enqueue_script( 'autoship-webchat', plugin_dir_url( Autoship_Plugin_File ) . 'WebChat/botchat.js', array(), Autoship_Version, true );104 101 } 105 102 -
autoship-cloud/trunk/src/shortcodes.php
r3352156 r3481543 45 45 46 46 // Add Freq and Freqtype. 47 if ( ! empty( $attributes['schedule'] ) && ! empty( $attributes['schedule'] )) {47 if ( ! empty( $attributes['schedule'] ) ) { 48 48 49 49 $vals = explode( ':', $attributes['schedule'] ); … … 84 84 } 85 85 } else { 86 $params['mincycle'] = absint( $ product[0] );86 $params['mincycle'] = absint( $vals[0] ); 87 87 } 88 88 } … … 232 232 233 233 add_shortcode( 'autoship-schedule-cart', 'autoship_shortcode_schedule_cart' ); 234 235 /**236 * Outputs the Chat Bot Template237 *238 * @param array $attributes Attributes.239 *240 * @return string241 */242 function autoship_shortcode_customer_bot( $attributes = array() ) {243 $attributes = shortcode_atts( array(), $attributes );244 245 $webchat_directline_secret = get_option( 'autoship_webchat_directline_secret' );246 if ( empty( $webchat_directline_secret ) ) {247 return '';248 }249 250 $customer_id = get_current_user_id();251 if ( empty( $customer_id ) ) {252 return '';253 }254 $autoship_customer_id = get_user_meta( $customer_id, '_autoship_customer_id', true );255 if ( ! empty( $autoship_customer_id ) ) {256 $client = autoship_get_default_client();257 try {258 $scheduled_orders = $client->get_orders( $autoship_customer_id );259 $scheduled_orders_count = count( $scheduled_orders );260 if ( $scheduled_orders_count < 1 ) {261 return '';262 }263 264 $access_token = $client->generate_customer_access_token( $autoship_customer_id, autoship_get_client_secret() );265 $user_data = get_userdata( $customer_id );266 267 return autoship_render_template(268 'webchat/customer-bot',269 array(270 'webchat_directline_secret' => $webchat_directline_secret,271 'scheduled_orders_count' => $scheduled_orders_count,272 'customer_id' => $customer_id,273 'customer_name' => $user_data->user_firstname,274 'autoship_customer_id' => $autoship_customer_id,275 'token_auth' => $access_token->TokenAuth, // phpcs:ignore WordPress.NamingConventions.ValidVariableName.UsedPropertyNotSnakeCase276 )277 );278 } catch ( Exception $e ) {279 // translators: %1$s is the error code, %2$s is the error message.280 return sprintf( __( 'Error %1$s: %2$s', 'autoship' ), strval( $e->getCode() ), $e->getMessage() );281 }282 }283 284 return '';285 }286 287 add_shortcode( 'autoship-customer-bot', 'autoship_shortcode_customer_bot' );288 289 // Enable shortcodes in text widgets.290 add_filter( 'widget_text', 'do_shortcode' ); -
autoship-cloud/trunk/styles/qmc.css
r3453277 r3481543 2107 2107 line-height: 1rem; 2108 2108 } 2109 2110 /* -------------------------------------------------------------------------- 2111 QMC Dialog / Overlay z-index fix 2112 WordPress admin sidebar (#adminmenuwrap) uses z-index: 9990. 2113 PrimeNG overlays must sit above it so modals (e.g. Event Logs) and 2114 dropdown panels (e.g. Order Items combobox) are not hidden behind 2115 the sidebar on the scheduled-order edit view. 2116 -------------------------------------------------------------------------- */ 2117 .p-dialog-mask, 2118 .p-overlay-mask, 2119 .cdk-overlay-container { 2120 z-index: 99999 !important; 2121 } 2122 2123 .p-autocomplete-overlay, 2124 .p-dropdown-overlay, 2125 .p-multiselect-overlay, 2126 .p-select-overlay, 2127 .p-overlay, 2128 .p-popover, 2129 .p-connected-overlay { 2130 z-index: 99999 !important; 2131 } 2132 2133 /* -------------------------------------------------------------------------- 2134 QMC Overlay width constraint 2135 The QMC component sets .product-search-panel { width: calc(100vw - 350px) !important } 2136 which overflows the viewport when the overlay left is corrected by JS. 2137 Override with inherit so the panel respects the overlay container width 2138 set by qmc-overlay-fix.js. 2139 -------------------------------------------------------------------------- */ 2140 body.wp-admin .product-search-panel { 2141 width: inherit !important; 2142 min-width: inherit !important; 2143 max-width: 100% !important; 2144 } -
autoship-cloud/trunk/templates/admin/settings/options.php
r3453277 r3481543 432 432 433 433 </div><!-- .asc-settings-columns --> 434 435 <input type="hidden" id="autoship_webchat_directline_secret" name="autoship_webchat_directline_secret" value="<?php echo esc_attr( $autoship_settings['autoship_webchat_directline_secret'] ); ?>"/> -
autoship-cloud/trunk/vendor/composer/autoload_classmap.php
r3475704 r3481543 44 44 'Autoship\\Domain\\AutoshipProduct' => $baseDir . '/app/Domain/AutoshipProduct.php', 45 45 'Autoship\\Domain\\FrequencyOption' => $baseDir . '/app/Domain/FrequencyOption.php', 46 'Autoship\\Domain\\Healthcheck\\HttpErrorCodes' => $baseDir . '/app/Domain/Healthcheck/HttpErrorCodes.php', 46 47 'Autoship\\Domain\\Nextime\\DeliveryDate' => $baseDir . '/app/Domain/Nextime/DeliveryDate.php', 47 48 'Autoship\\Domain\\Nextime\\NextimeShippingCalculator' => $baseDir . '/app/Domain/Nextime/NextimeShippingCalculator.php', … … 74 75 'Autoship\\Domain\\QuickLinks\\QuickLinkVerification' => $baseDir . '/app/Domain/QuickLinks/QuickLinkVerification.php', 75 76 'Autoship\\Domain\\QuickLinks\\RedirectType' => $baseDir . '/app/Domain/QuickLinks/RedirectType.php', 77 'Autoship\\Modules\\Healthcheck\\Compatibility\\HealthcheckCompatibility' => $baseDir . '/app/Modules/Healthcheck/Compatibility/HealthcheckCompatibility.php', 78 'Autoship\\Modules\\Healthcheck\\Controllers\\HealthcheckAjaxController' => $baseDir . '/app/Modules/Healthcheck/Controllers/HealthcheckAjaxController.php', 79 'Autoship\\Modules\\Healthcheck\\Controllers\\HealthcheckRestController' => $baseDir . '/app/Modules/Healthcheck/Controllers/HealthcheckRestController.php', 80 'Autoship\\Modules\\Healthcheck\\HealthcheckModule' => $baseDir . '/app/Modules/Healthcheck/HealthcheckModule.php', 81 'Autoship\\Modules\\Healthcheck\\HealthcheckService' => $baseDir . '/app/Modules/Healthcheck/HealthcheckService.php', 76 82 'Autoship\\Modules\\Nextime\\NextimeModule' => $baseDir . '/app/Modules/Nextime/NextimeModule.php', 77 83 'Autoship\\Modules\\Nextime\\NextimeService' => $baseDir . '/app/Modules/Nextime/NextimeService.php', … … 120 126 'Autoship\\Repositories\\Implementations\\WordPressProductRepository' => $baseDir . '/app/Repositories/Implementations/WordPressProductRepository.php', 121 127 'Autoship\\Repositories\\ProductRepositoryInterface' => $baseDir . '/app/Repositories/ProductRepositoryInterface.php', 128 'Autoship\\Services\\Healthcheck\\HealthcheckSettingsInterface' => $baseDir . '/app/Services/Healthcheck/HealthcheckSettingsInterface.php', 129 'Autoship\\Services\\Healthcheck\\Implementations\\WordPressHealthcheckSettings' => $baseDir . '/app/Services/Healthcheck/Implementations/WordPressHealthcheckSettings.php', 130 'Autoship\\Services\\Labels\\Implementations\\WordPressLabelService' => $baseDir . '/app/Services/Labels/Implementations/WordPressLabelService.php', 131 'Autoship\\Services\\Labels\\LabelServiceInterface' => $baseDir . '/app/Services/Labels/LabelServiceInterface.php', 122 132 'Autoship\\Services\\Logging\\AutoshipLogger' => $baseDir . '/app/Services/Logging/AutoshipLogger.php', 123 133 'Autoship\\Services\\Logging\\FileSink' => $baseDir . '/app/Services/Logging/FileSink.php', -
autoship-cloud/trunk/vendor/composer/autoload_static.php
r3475704 r3481543 59 59 'Autoship\\Domain\\AutoshipProduct' => __DIR__ . '/../..' . '/app/Domain/AutoshipProduct.php', 60 60 'Autoship\\Domain\\FrequencyOption' => __DIR__ . '/../..' . '/app/Domain/FrequencyOption.php', 61 'Autoship\\Domain\\Healthcheck\\HttpErrorCodes' => __DIR__ . '/../..' . '/app/Domain/Healthcheck/HttpErrorCodes.php', 61 62 'Autoship\\Domain\\Nextime\\DeliveryDate' => __DIR__ . '/../..' . '/app/Domain/Nextime/DeliveryDate.php', 62 63 'Autoship\\Domain\\Nextime\\NextimeShippingCalculator' => __DIR__ . '/../..' . '/app/Domain/Nextime/NextimeShippingCalculator.php', … … 89 90 'Autoship\\Domain\\QuickLinks\\QuickLinkVerification' => __DIR__ . '/../..' . '/app/Domain/QuickLinks/QuickLinkVerification.php', 90 91 'Autoship\\Domain\\QuickLinks\\RedirectType' => __DIR__ . '/../..' . '/app/Domain/QuickLinks/RedirectType.php', 92 'Autoship\\Modules\\Healthcheck\\Compatibility\\HealthcheckCompatibility' => __DIR__ . '/../..' . '/app/Modules/Healthcheck/Compatibility/HealthcheckCompatibility.php', 93 'Autoship\\Modules\\Healthcheck\\Controllers\\HealthcheckAjaxController' => __DIR__ . '/../..' . '/app/Modules/Healthcheck/Controllers/HealthcheckAjaxController.php', 94 'Autoship\\Modules\\Healthcheck\\Controllers\\HealthcheckRestController' => __DIR__ . '/../..' . '/app/Modules/Healthcheck/Controllers/HealthcheckRestController.php', 95 'Autoship\\Modules\\Healthcheck\\HealthcheckModule' => __DIR__ . '/../..' . '/app/Modules/Healthcheck/HealthcheckModule.php', 96 'Autoship\\Modules\\Healthcheck\\HealthcheckService' => __DIR__ . '/../..' . '/app/Modules/Healthcheck/HealthcheckService.php', 91 97 'Autoship\\Modules\\Nextime\\NextimeModule' => __DIR__ . '/../..' . '/app/Modules/Nextime/NextimeModule.php', 92 98 'Autoship\\Modules\\Nextime\\NextimeService' => __DIR__ . '/../..' . '/app/Modules/Nextime/NextimeService.php', … … 135 141 'Autoship\\Repositories\\Implementations\\WordPressProductRepository' => __DIR__ . '/../..' . '/app/Repositories/Implementations/WordPressProductRepository.php', 136 142 'Autoship\\Repositories\\ProductRepositoryInterface' => __DIR__ . '/../..' . '/app/Repositories/ProductRepositoryInterface.php', 143 'Autoship\\Services\\Healthcheck\\HealthcheckSettingsInterface' => __DIR__ . '/../..' . '/app/Services/Healthcheck/HealthcheckSettingsInterface.php', 144 'Autoship\\Services\\Healthcheck\\Implementations\\WordPressHealthcheckSettings' => __DIR__ . '/../..' . '/app/Services/Healthcheck/Implementations/WordPressHealthcheckSettings.php', 145 'Autoship\\Services\\Labels\\Implementations\\WordPressLabelService' => __DIR__ . '/../..' . '/app/Services/Labels/Implementations/WordPressLabelService.php', 146 'Autoship\\Services\\Labels\\LabelServiceInterface' => __DIR__ . '/../..' . '/app/Services/Labels/LabelServiceInterface.php', 137 147 'Autoship\\Services\\Logging\\AutoshipLogger' => __DIR__ . '/../..' . '/app/Services/Logging/AutoshipLogger.php', 138 148 'Autoship\\Services\\Logging\\FileSink' => __DIR__ . '/../..' . '/app/Services/Logging/FileSink.php',
Note: See TracChangeset
for help on using the changeset viewer.