Plugin Directory

Changeset 3447366


Ignore:
Timestamp:
01/26/2026 08:52:29 PM (2 months ago)
Author:
Godaddy
Message:

Committing 1.7.7 to trunk

Location:
godaddy-payments/trunk
Files:
1 added
8 edited

Legend:

Unmodified
Added
Removed
  • godaddy-payments/trunk/godaddy-payments.php

    r3332919 r3447366  
    66 * Author: GoDaddy
    77 * Author URI: https://www.godaddy.com/
    8  * Version: 1.7.6
     8 * Version: 1.7.7
    99 * Text Domain: godaddy-payments
    1010 * Domain Path: /i18n/languages/
     
    306306
    307307    /**
    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()}.
    309309     *
    310310     * @internal
  • godaddy-payments/trunk/i18n/languages/godaddy-payments.pot

    r3332919 r3447366  
    1 # Copyright (C) 2025 GoDaddy
     1# Copyright (C) 2026 GoDaddy
    22# This file is distributed under the GPL-2.0.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: GoDaddy Payments 1.7.6\n"
     5"Project-Id-Version: GoDaddy Payments 1.7.7\n"
    66"Report-Msgid-Bugs-To: https://woocommerce.com/my-account/marketplace-ticket-form/\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-07-23T13:05:39+00:00\n"
     12"POT-Creation-Date: 2026-01-26T20:51:10+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.11.0\n"
     14"X-Generator: WP-CLI 2.12.0\n"
    1515"X-Domain: godaddy-payments\n"
    1616
     
    114114#. translators: Placeholders: %1$s - pricing, %2$s - <a> tag, %3$s - </a> tag
    115115#: src/Gateways/CreditCardGateway.php:139
     116#, php-format
    116117msgid "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."
    117118msgstr ""
     
    119120#. translators: Placeholders: %1$s - payment gateway title, %2$s - a monetary amount. Void as in to void an order.
    120121#: src/Gateways/CreditCardGateway.php:162
     122#, php-format
    121123msgid "%1$s Void in the amount of %2$s approved."
    122124msgstr ""
    123125
    124126#: src/Gateways/CreditCardGateway.php:171
     127#, php-format
    125128msgid "(Transaction ID %s)"
    126129msgstr ""
     
    131134
    132135#: src/Gateways/CreditCardGateway.php:317
     136#, php-format
    133137msgid "GoDaddy Payments payment in the amount of %s approved. "
    134138msgstr ""
    135139
    136140#: src/Gateways/CreditCardGateway.php:321
     141#, php-format
    137142msgid "Transaction ID: %s."
    138143msgstr ""
     
    140145#. translators: Placeholder: %1$s - last four digits of an account number (e.g. credit card)
    141146#: src/Gateways/CreditCardGateway.php:333
     147#, php-format
    142148msgid "ending in %1$s"
    143149msgstr ""
    144150
    145151#: src/Gateways/CreditCardGateway.php:339
     152#, php-format
    146153msgid "(expires %s)"
    147154msgstr ""
     
    190197#. translators: Placeholders: %1$s - <strong> tag, %2$s - </strong> tag
    191198#: src/Gateways/CreditCardGateway.php:980
     199#, php-format
    192200msgid "This setting %1$sdoes not%2$s change which card types the gateway will accept."
    193201msgstr ""
     
    209217#: src/Gateways/CreditCardGateway.php:1000
    210218#: src/Gateways/CreditCardGateway.php:1011
     219#, php-format
    211220msgid "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"
    212221msgstr ""
     
    273282#. translators: Placeholders: %1$s - opening HTML tag, %2$s - closing HTML tag
    274283#: src/Gateways/PayInPersonGateway.php:250
     284#, php-format
    275285msgid "%1$sShop Smart Terminal%2$s"
    276286msgstr ""
     
    278288#. translators: Placeholders: %1$s - opening HTML tag, %2$s - closing HTML tag
    279289#: src/Gateways/PayInPersonGateway.php:257
     290#, php-format
    280291msgid "%1$sDevices%2$s"
    281292msgstr ""
     
    283294#. translators: Placeholders: %1$s - opening HTML tag, %2$s - closing HTML tag
    284295#: src/Gateways/PayInPersonGateway.php:264
     296#, php-format
    285297msgid "%1$sCatalogs%2$s"
    286298msgstr ""
     
    288300#. translators: Placeholders: %1$s - opening HTML tag, %2$s - closing HTML tag
    289301#: src/Gateways/PayInPersonGateway.php:271
     302#, php-format
    290303msgid "%1$sCustomize Terminal%2$s"
    291304msgstr ""
     
    346359#. translators: Placeholders: %1$s - shipping zone name, %2$s - shipping method name
    347360#: src/Gateways/PayInPersonGateway.php:462
     361#, php-format
    348362msgid "%1$s &ndash; %2$s"
    349363msgstr ""
     
    355369#. translators: Placeholders: %1$s - shipping method title, %2$s - shipping method id
    356370#: src/Gateways/PayInPersonGateway.php:465
     371#, php-format
    357372msgid "%1$s (#%2$s)"
    358373msgstr ""
     
    364379#. translators: Placeholder: %s - Shipping method name
    365380#: src/Gateways/PayInPersonGateway.php:489
     381#, php-format
    366382msgid "Any \"%s\" method"
    367383msgstr ""
     
    423439#: src/Plugin.php:322
    424440#: src/Plugin.php:329
     441#, php-format
    425442msgctxt "Payment gateway title"
    426443msgid "Configure %s"
     
    429446#. translators: Placeholders: %1$s - opening <a> HTML link tag, %2$s - closing </a> HTML link tag
    430447#: src/Plugin.php:400
     448#, php-format
    431449msgid "Migration successful! WooCommerce Poynt Collect Payment Gateway was deactivated, and Poynt &mdash; a GoDaddy Brand for WooCommerce has been %1$sconfigured with your previous settings%2$s."
    432450msgstr ""
     
    434452#. 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
    435453#: src/Plugin.php:641
     454#, php-format
    436455msgid "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."
    437456msgstr ""
     
    439458#. translators: Placeholders: %1$s - list of supported currencies, %2$s - opening <a> HTML link tag, %3$s - closing </a> HTML link tag
    440459#: src/Plugin.php:683
     460#, php-format
    441461msgid "GoDaddy Payments requires %1$s transactions. Please %2$schange your Currency%3$s in order to use the payment method."
    442462msgstr ""
     
    444464#. 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 %
    445465#: src/Plugin.php:725
     466#, php-format
    446467msgid "GoDaddy Payments is available for %1$s-based businesses. Please %2$supdate your Store Address%3$s if you are in the %4$s."
    447468msgstr ""
     
    449470#. 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
    450471#: src/Plugin.php:758
     472#, php-format
    451473msgid "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"
    452474msgstr ""
     
    584606#: src/Sync/Jobs/PoyntTransactionSynchronizer.php:239
    585607#: src/Sync/Jobs/PoyntTransactionSynchronizer.php:244
     608#, php-format
    586609msgid "Paid in WooCommerce checkout by \"%s\""
    587610msgstr ""
     
    589612#. translators: Placeholder: %1$s: payment gateway name
    590613#: src/Sync/PoyntOrderSynchronizer.php:448
     614#, php-format
    591615msgid "Transaction refunded by %1$s from WooCommerce."
    592616msgstr ""
     
    598622#. translators: Placeholders: %1$s - date, %2$s - time
    599623#: src/Webhooks/PoyntOrderWebhookHandler.php:176
     624#, php-format
    600625msgid "Order marked ready on terminal on %1$s at %2$s"
    601626msgstr ""
     
    610635
    611636#: src/Webhooks/PoyntTransactionWebhookHandler.php:393
     637#, php-format
    612638msgid "GoDaddy Payments sale transaction (ID %s) reversed by void transaction (ID %s) via Smart Terminal."
    613639msgstr ""
    614640
    615641#: src/Webhooks/PoyntTransactionWebhookHandler.php:469
     642#, php-format
    616643msgid "GoDaddy Payments refund transaction (ID %s) reversed by void transaction (ID %s) via Smart Terminal."
    617644msgstr ""
     
    619646#. translators: Placeholder: %s - error message
    620647#: src/Webhooks/PoyntTransactionWebhookHandler.php:489
     648#, php-format
    621649msgid "Could not create refund: %s"
    622650msgstr ""
     
    632660#. translators: Placeholders: %1$s - item fee name, %2$s - item fee amount
    633661#: src/Webhooks/PoyntTransactionWebhookHandler.php:736
     662#, php-format
    634663msgid "%1$s amount of %2$s added to order by GoDaddy Payments Smart Terminal"
    635664msgstr ""
  • godaddy-payments/trunk/readme.txt

    r3332919 r3447366  
    33Tags: credit card, payments, checkout, e-commerce, ecommerce, woo, woocommerce
    44Requires at least: 5.6
    5 Tested up to: 6.8.2
     5Tested up to: 6.9
    66Requires PHP: 7.4
    7 Stable tag: 1.7.6
     7Stable tag: 1.7.7
    88License: GPL-2.0
    99License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
     
    8181
    8282== Changelog ==
     83
     84= 2026.01.26 - version 1.7.7 =
     85 * Misc - Switch to the new collectjs urls for godaddy payments
    8386
    8487= 2025.07.23 - version 1.7.6 =
  • godaddy-payments/trunk/src/Plugin.php

    r3332919 r3447366  
    4141{
    4242    /** the plugin's version number */
    43     const VERSION = '1.7.6';
     43    const VERSION = '1.7.7';
    4444
    4545    /** the plugin's gateway id */
     
    479479        switch ($environment) {
    480480            case Plugin::ENVIRONMENT_PRODUCTION:
    481                 return 'https://cdn.poynt.net/collect.js';
     481                return 'https://collect.commerce.godaddy.com/sdk.js';
    482482            case Plugin::ENVIRONMENT_STAGING:
    483                 return 'https://cdn.poynt.net/ote/collect-ote.js';
     483                return 'https://collect.commerce.ote-godaddy.com/sdk.js';
    484484            default:
    485485                return null;
  • godaddy-payments/trunk/vendor/autoload.php

    r3332919 r3447366  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
  • godaddy-payments/trunk/vendor/composer/InstalledVersions.php

    r2934908 r3447366  
    2828{
    2929    /**
     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    /**
    3036     * @var mixed[]|null
    3137     * @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
    3238     */
    3339    private static $installed;
     40
     41    /**
     42     * @var bool
     43     */
     44    private static $installedIsLocalDir;
    3445
    3546    /**
     
    310321        self::$installed = $data;
    311322        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;
    312341    }
    313342
     
    323352
    324353        $installed = array();
     354        $copiedLocalDir = false;
    325355
    326356        if (self::$canGetVendors) {
     357            $selfDir = self::getSelfDir();
    327358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     359                $vendorDir = strtr($vendorDir, '\\', '/');
    328360                if (isset(self::$installedByVendor[$vendorDir])) {
    329361                    $installed[] = self::$installedByVendor[$vendorDir];
     
    331363                    /** @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 */
    332364                    $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;
    336370                    }
     371                }
     372                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     373                    $copiedLocalDir = true;
    337374                }
    338375            }
     
    351388        }
    352389
    353         if (self::$installed !== array()) {
     390        if (self::$installed !== array() && !$copiedLocalDir) {
    354391            $installed[] = self::$installed;
    355392        }
  • godaddy-payments/trunk/vendor/composer/installed.php

    r3332919 r3447366  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '3e56e7541e7474caa23c60d36889432f86b6973a',
     6        'reference' => '854343742cbbe99eca5efcc017c17a73e031d411',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2323            'pretty_version' => 'dev-main',
    2424            'version' => 'dev-main',
    25             'reference' => '3e56e7541e7474caa23c60d36889432f86b6973a',
     25            'reference' => '854343742cbbe99eca5efcc017c17a73e031d411',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
  • godaddy-payments/trunk/vendor/composer/platform_check.php

    r2859182 r3447366  
    2020        }
    2121    }
    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)
    2524    );
    2625}
Note: See TracChangeset for help on using the changeset viewer.