Changeset 3447366
- Timestamp:
- 01/26/2026 08:52:29 PM (2 months ago)
- Location:
- godaddy-payments/trunk
- Files:
-
- 1 added
- 8 edited
-
CLAUDE.md (added)
-
godaddy-payments.php (modified) (2 diffs)
-
i18n/languages/godaddy-payments.pot (modified) (27 diffs)
-
readme.txt (modified) (2 diffs)
-
src/Plugin.php (modified) (2 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/InstalledVersions.php (modified) (5 diffs)
-
vendor/composer/installed.php (modified) (2 diffs)
-
vendor/composer/platform_check.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
godaddy-payments/trunk/godaddy-payments.php
r3332919 r3447366 6 6 * Author: GoDaddy 7 7 * Author URI: https://www.godaddy.com/ 8 * Version: 1.7. 68 * Version: 1.7.7 9 9 * Text Domain: godaddy-payments 10 10 * Domain Path: /i18n/languages/ … … 306 306 307 307 /** 308 * Displays any admin notices added with {@see \GD_Poynt_For_WooCommerce_Loader::addAdminNotice()}.308 * Displays any admin notices added with {@see GD_Poynt_For_WooCommerce_Loader::addAdminNotice()}. 309 309 * 310 310 * @internal -
godaddy-payments/trunk/i18n/languages/godaddy-payments.pot
r3332919 r3447366 1 # Copyright (C) 202 5GoDaddy1 # Copyright (C) 2026 GoDaddy 2 2 # This file is distributed under the GPL-2.0. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: GoDaddy Payments 1.7. 6\n"5 "Project-Id-Version: GoDaddy Payments 1.7.7\n" 6 6 "Report-Msgid-Bugs-To: https://woocommerce.com/my-account/marketplace-ticket-form/\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: 202 5-07-23T13:05:39+00:00\n"12 "POT-Creation-Date: 2026-01-26T20:51:10+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2.1 1.0\n"14 "X-Generator: WP-CLI 2.12.0\n" 15 15 "X-Domain: godaddy-payments\n" 16 16 … … 114 114 #. translators: Placeholders: %1$s - pricing, %2$s - <a> tag, %3$s - </a> tag 115 115 #: src/Gateways/CreditCardGateway.php:139 116 #, php-format 116 117 msgid "Securely accept credit/debit cards in your checkout, and keep more of your money with the industry's lowest fees—just %1$s per online transaction. Get paid fast with deposits as soon as the next day. %2$sGoDaddy Payments Terms apply%3$s." 117 118 msgstr "" … … 119 120 #. translators: Placeholders: %1$s - payment gateway title, %2$s - a monetary amount. Void as in to void an order. 120 121 #: src/Gateways/CreditCardGateway.php:162 122 #, php-format 121 123 msgid "%1$s Void in the amount of %2$s approved." 122 124 msgstr "" 123 125 124 126 #: src/Gateways/CreditCardGateway.php:171 127 #, php-format 125 128 msgid "(Transaction ID %s)" 126 129 msgstr "" … … 131 134 132 135 #: src/Gateways/CreditCardGateway.php:317 136 #, php-format 133 137 msgid "GoDaddy Payments payment in the amount of %s approved. " 134 138 msgstr "" 135 139 136 140 #: src/Gateways/CreditCardGateway.php:321 141 #, php-format 137 142 msgid "Transaction ID: %s." 138 143 msgstr "" … … 140 145 #. translators: Placeholder: %1$s - last four digits of an account number (e.g. credit card) 141 146 #: src/Gateways/CreditCardGateway.php:333 147 #, php-format 142 148 msgid "ending in %1$s" 143 149 msgstr "" 144 150 145 151 #: src/Gateways/CreditCardGateway.php:339 152 #, php-format 146 153 msgid "(expires %s)" 147 154 msgstr "" … … 190 197 #. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag 191 198 #: src/Gateways/CreditCardGateway.php:980 199 #, php-format 192 200 msgid "This setting %1$sdoes not%2$s change which card types the gateway will accept." 193 201 msgstr "" … … 209 217 #: src/Gateways/CreditCardGateway.php:1000 210 218 #: src/Gateways/CreditCardGateway.php:1011 219 #, php-format 211 220 msgid "To connect to GoDaddy Payments, %1$screate a GoDaddy Payments account%2$s. Then copy your Application ID and Private key from the Business Settings under Advanced Tools in your Payments dashboard and paste them in the fields below. %3$sLearn more%4$s" 212 221 msgstr "" … … 273 282 #. translators: Placeholders: %1$s - opening HTML tag, %2$s - closing HTML tag 274 283 #: src/Gateways/PayInPersonGateway.php:250 284 #, php-format 275 285 msgid "%1$sShop Smart Terminal%2$s" 276 286 msgstr "" … … 278 288 #. translators: Placeholders: %1$s - opening HTML tag, %2$s - closing HTML tag 279 289 #: src/Gateways/PayInPersonGateway.php:257 290 #, php-format 280 291 msgid "%1$sDevices%2$s" 281 292 msgstr "" … … 283 294 #. translators: Placeholders: %1$s - opening HTML tag, %2$s - closing HTML tag 284 295 #: src/Gateways/PayInPersonGateway.php:264 296 #, php-format 285 297 msgid "%1$sCatalogs%2$s" 286 298 msgstr "" … … 288 300 #. translators: Placeholders: %1$s - opening HTML tag, %2$s - closing HTML tag 289 301 #: src/Gateways/PayInPersonGateway.php:271 302 #, php-format 290 303 msgid "%1$sCustomize Terminal%2$s" 291 304 msgstr "" … … 346 359 #. translators: Placeholders: %1$s - shipping zone name, %2$s - shipping method name 347 360 #: src/Gateways/PayInPersonGateway.php:462 361 #, php-format 348 362 msgid "%1$s – %2$s" 349 363 msgstr "" … … 355 369 #. translators: Placeholders: %1$s - shipping method title, %2$s - shipping method id 356 370 #: src/Gateways/PayInPersonGateway.php:465 371 #, php-format 357 372 msgid "%1$s (#%2$s)" 358 373 msgstr "" … … 364 379 #. translators: Placeholder: %s - Shipping method name 365 380 #: src/Gateways/PayInPersonGateway.php:489 381 #, php-format 366 382 msgid "Any \"%s\" method" 367 383 msgstr "" … … 423 439 #: src/Plugin.php:322 424 440 #: src/Plugin.php:329 441 #, php-format 425 442 msgctxt "Payment gateway title" 426 443 msgid "Configure %s" … … 429 446 #. translators: Placeholders: %1$s - opening <a> HTML link tag, %2$s - closing </a> HTML link tag 430 447 #: src/Plugin.php:400 448 #, php-format 431 449 msgid "Migration successful! WooCommerce Poynt Collect Payment Gateway was deactivated, and Poynt — a GoDaddy Brand for WooCommerce has been %1$sconfigured with your previous settings%2$s." 432 450 msgstr "" … … 434 452 #. translators: Placeholders: %1$s - list of supported currencies, %2$s - store country, %3$s - opening <a> HTML link tag, %4$s - closing </a> HTML link tag, %5$s - currency code 435 453 #: src/Plugin.php:641 454 #, php-format 436 455 msgid "GoDaddy Payments requires %1$s transactions for %2$s businesses. Please %3$schange your Currency%4$s to %5$s in order to use the payment method." 437 456 msgstr "" … … 439 458 #. translators: Placeholders: %1$s - list of supported currencies, %2$s - opening <a> HTML link tag, %3$s - closing </a> HTML link tag 440 459 #: src/Plugin.php:683 460 #, php-format 441 461 msgid "GoDaddy Payments requires %1$s transactions. Please %2$schange your Currency%3$s in order to use the payment method." 442 462 msgstr "" … … 444 464 #. translators: Placeholders: %1$s - list of supported countries, %2$s - opening <a> HTML link tag, %3$s - closing </a> HTML link tag, %4$s - list of supported countries % 445 465 #: src/Plugin.php:725 466 #, php-format 446 467 msgid "GoDaddy Payments is available for %1$s-based businesses. Please %2$supdate your Store Address%3$s if you are in the %4$s." 447 468 msgstr "" … … 449 470 #. translators: Placeholders: %1$s - Plugin name, %2$s - country based pricing, %3$s - opening <a> HTML link tag, %4$s - closing </a> HTML link tag 450 471 #: src/Plugin.php:758 472 #, php-format 451 473 msgid "Set up %1$s for WooCommerce to securely accept credit and debit card payments in your checkout, and keep more of your money with the industry's lowest fees - just %2$s per online transaction. %3$sSet up now%4$s" 452 474 msgstr "" … … 584 606 #: src/Sync/Jobs/PoyntTransactionSynchronizer.php:239 585 607 #: src/Sync/Jobs/PoyntTransactionSynchronizer.php:244 608 #, php-format 586 609 msgid "Paid in WooCommerce checkout by \"%s\"" 587 610 msgstr "" … … 589 612 #. translators: Placeholder: %1$s: payment gateway name 590 613 #: src/Sync/PoyntOrderSynchronizer.php:448 614 #, php-format 591 615 msgid "Transaction refunded by %1$s from WooCommerce." 592 616 msgstr "" … … 598 622 #. translators: Placeholders: %1$s - date, %2$s - time 599 623 #: src/Webhooks/PoyntOrderWebhookHandler.php:176 624 #, php-format 600 625 msgid "Order marked ready on terminal on %1$s at %2$s" 601 626 msgstr "" … … 610 635 611 636 #: src/Webhooks/PoyntTransactionWebhookHandler.php:393 637 #, php-format 612 638 msgid "GoDaddy Payments sale transaction (ID %s) reversed by void transaction (ID %s) via Smart Terminal." 613 639 msgstr "" 614 640 615 641 #: src/Webhooks/PoyntTransactionWebhookHandler.php:469 642 #, php-format 616 643 msgid "GoDaddy Payments refund transaction (ID %s) reversed by void transaction (ID %s) via Smart Terminal." 617 644 msgstr "" … … 619 646 #. translators: Placeholder: %s - error message 620 647 #: src/Webhooks/PoyntTransactionWebhookHandler.php:489 648 #, php-format 621 649 msgid "Could not create refund: %s" 622 650 msgstr "" … … 632 660 #. translators: Placeholders: %1$s - item fee name, %2$s - item fee amount 633 661 #: src/Webhooks/PoyntTransactionWebhookHandler.php:736 662 #, php-format 634 663 msgid "%1$s amount of %2$s added to order by GoDaddy Payments Smart Terminal" 635 664 msgstr "" -
godaddy-payments/trunk/readme.txt
r3332919 r3447366 3 3 Tags: credit card, payments, checkout, e-commerce, ecommerce, woo, woocommerce 4 4 Requires at least: 5.6 5 Tested up to: 6. 8.25 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 1.7. 67 Stable tag: 1.7.7 8 8 License: GPL-2.0 9 9 License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html … … 81 81 82 82 == Changelog == 83 84 = 2026.01.26 - version 1.7.7 = 85 * Misc - Switch to the new collectjs urls for godaddy payments 83 86 84 87 = 2025.07.23 - version 1.7.6 = -
godaddy-payments/trunk/src/Plugin.php
r3332919 r3447366 41 41 { 42 42 /** the plugin's version number */ 43 const VERSION = '1.7. 6';43 const VERSION = '1.7.7'; 44 44 45 45 /** the plugin's gateway id */ … … 479 479 switch ($environment) { 480 480 case Plugin::ENVIRONMENT_PRODUCTION: 481 return 'https://c dn.poynt.net/collect.js';481 return 'https://collect.commerce.godaddy.com/sdk.js'; 482 482 case Plugin::ENVIRONMENT_STAGING: 483 return 'https://c dn.poynt.net/ote/collect-ote.js';483 return 'https://collect.commerce.ote-godaddy.com/sdk.js'; 484 484 default: 485 485 return null; -
godaddy-payments/trunk/vendor/autoload.php
r3332919 r3447366 15 15 } 16 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 17 throw new RuntimeException($err); 21 18 } 22 19 -
godaddy-payments/trunk/vendor/composer/InstalledVersions.php
r2934908 r3447366 28 28 { 29 29 /** 30 * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to 31 * @internal 32 */ 33 private static $selfDir = null; 34 35 /** 30 36 * @var mixed[]|null 31 37 * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null 32 38 */ 33 39 private static $installed; 40 41 /** 42 * @var bool 43 */ 44 private static $installedIsLocalDir; 34 45 35 46 /** … … 310 321 self::$installed = $data; 311 322 self::$installedByVendor = array(); 323 324 // when using reload, we disable the duplicate protection to ensure that self::$installed data is 325 // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not, 326 // so we have to assume it does not, and that may result in duplicate data being returned when listing 327 // all installed packages for example 328 self::$installedIsLocalDir = false; 329 } 330 331 /** 332 * @return string 333 */ 334 private static function getSelfDir() 335 { 336 if (self::$selfDir === null) { 337 self::$selfDir = strtr(__DIR__, '\\', '/'); 338 } 339 340 return self::$selfDir; 312 341 } 313 342 … … 323 352 324 353 $installed = array(); 354 $copiedLocalDir = false; 325 355 326 356 if (self::$canGetVendors) { 357 $selfDir = self::getSelfDir(); 327 358 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 359 $vendorDir = strtr($vendorDir, '\\', '/'); 328 360 if (isset(self::$installedByVendor[$vendorDir])) { 329 361 $installed[] = self::$installedByVendor[$vendorDir]; … … 331 363 /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>} $required */ 332 364 $required = require $vendorDir.'/composer/installed.php'; 333 $installed[] = self::$installedByVendor[$vendorDir] = $required; 334 if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { 335 self::$installed = $installed[count($installed) - 1]; 365 self::$installedByVendor[$vendorDir] = $required; 366 $installed[] = $required; 367 if (self::$installed === null && $vendorDir.'/composer' === $selfDir) { 368 self::$installed = $required; 369 self::$installedIsLocalDir = true; 336 370 } 371 } 372 if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) { 373 $copiedLocalDir = true; 337 374 } 338 375 } … … 351 388 } 352 389 353 if (self::$installed !== array() ) {390 if (self::$installed !== array() && !$copiedLocalDir) { 354 391 $installed[] = self::$installed; 355 392 } -
godaddy-payments/trunk/vendor/composer/installed.php
r3332919 r3447366 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' 3e56e7541e7474caa23c60d36889432f86b6973a',6 'reference' => '854343742cbbe99eca5efcc017c17a73e031d411', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 23 23 'pretty_version' => 'dev-main', 24 24 'version' => 'dev-main', 25 'reference' => ' 3e56e7541e7474caa23c60d36889432f86b6973a',25 'reference' => '854343742cbbe99eca5efcc017c17a73e031d411', 26 26 'type' => 'wordpress-plugin', 27 27 'install_path' => __DIR__ . '/../../', -
godaddy-payments/trunk/vendor/composer/platform_check.php
r2859182 r3447366 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 }
Note: See TracChangeset
for help on using the changeset viewer.