Plugin Directory

Changeset 3358188


Ignore:
Timestamp:
09/08/2025 11:32:06 PM (7 months ago)
Author:
weeconnectpay
Message:

Deploying version 3.15.3 from pipeline

Location:
weeconnectpay
Files:
652 added
11 edited

Legend:

Unmodified
Added
Removed
  • weeconnectpay/trunk/README.txt

    r3351544 r3358188  
    66Author: WeeConnectPay
    77Contributors: weeconnectpay
    8 Stable Tag: 3.15.2
     8Stable Tag: 3.15.3
    99Requires at least: 5.6
    1010Tested Up To: 6.8.1
     
    128128
    129129== Changelog ==
     130= 3.15.3 =
     131* Added some missing translations
     132* Updated pre-authentication flows to log unhandled errors as critical, ensuring that logs are available at different levels
     133* Added gateway icon
     134
    130135= 3.15.2 =
    131136* Fixed a fatal error while attempting to display an error message during plugin activation
  • weeconnectpay/trunk/includes/WeeConnectPayActivator.php

    r3306759 r3358188  
    1313namespace WeeConnectPay\WordPress\Plugin\includes;
    1414
     15use WeeConnectPay\Exceptions\EnvironmentWarningException;
    1516use WeeConnectPay\Exceptions\InsufficientDependencyVersionException;
    1617use WeeConnectPay\Exceptions\MissingDependencyException;
     
    1819use WeeConnectPay\Integrations\IntegrationSettings;
    1920use WeeConnectPay\Integrations\LogService;
    20 use WeeConnectPay\Integrations\Logger;
    2121
    2222/**
     
    6969           
    7070            if ($environment !== 'production') {
    71                 // Force log this warning regardless of debug mode
    72                 self::logEnvironmentWarning($environment);
     71                // Create environment warning exception with extra instructions
     72                $warningMessage = sprintf(
     73                    "CRITICAL WARNING: WeeConnectPay is running in '%s' environment instead of 'production'. " .
     74                    "Non-production use of this plugin will NOT WORK because Clover does not expose our app in non-production environments. " .
     75                    "Authentication will fail.",
     76                    $environment
     77                );
     78               
     79                $extraInstructions = sprintf(
     80                    "<strong>REQUIRED ACTION:</strong><br>" .
     81                    "1. Uninstall the WeeConnectPay plugin completely<br>" .
     82                    "2. Set your WordPress environment to 'production'<br>" .
     83                    "3. Reinstall the plugin<br><br>" .
     84                    "<strong>Technical Details:</strong><br>" .
     85                    "This happens because your WP_ENVIRONMENT constant is set to '%s'. " .
     86                    "Non-production authentication is only available to internal WeeConnectPay developers.<br><br>" .
     87                    "If you don't understand why WeeConnectPay is not resolving to production environment, " .
     88                    "please contact <a href='mailto:support@weeconnectpay.com'>support@weeconnectpay.com</a> for assistance.",
     89                    $environment
     90                );
     91
     92                $exception = new EnvironmentWarningException($warningMessage, 0, null, $extraInstructions);
     93               
     94                // Log the warning (for server logs)
     95                LogService::error(sprintf("WeeConnectPay environment warning: %s", $exception->getMessage()));
     96               
     97                // Use the DependencyChecker notify pattern to show admin notice
     98                $dependencyChecker = new DependencyChecker();
     99                $dependencyChecker->notify($exception);
    73100            }
    74101        } catch (\Throwable $e) {
     
    78105    }
    79106
    80     /**
    81      * Log detailed environment warning for non-production environments
    82      *
    83      * @param string $currentEnvironment The current environment detected
    84      * @return void
    85      */
    86     private static function logEnvironmentWarning(string $currentEnvironment): void {
    87         $warningMessage = sprintf(
    88             "CRITICAL WARNING: WeeConnectPay is running in '%s' environment instead of 'production'. " .
    89             "Non-production use of this plugin will NOT WORK because Clover does not expose our app in non-production environments. " .
    90             "Authentication will fail. REQUIRED ACTION: (1) Uninstall the WeeConnectPay plugin completely, " .
    91             "(2) Set your WordPress environment to 'production', (3) Reinstall the plugin. " .
    92             "This happens because your WP_ENVIRONMENT constant is set to non-production. " .
    93             "Non-production authentication is only available to internal WeeConnectPay developers. " .
    94             "If you don't understand why WeeConnectPay is not resolving to production environment, " .
    95             "please contact support@weeconnectpay.com for assistance.",
    96             $currentEnvironment
    97         );
    98 
    99         // Force log regardless of debug mode using critical level
    100         $logger = Logger::create();
    101         $logger->critical($warningMessage);
    102     }
    103107}
  • weeconnectpay/trunk/includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php

    r3325292 r3358188  
    9393    public function __construct() {
    9494        $this->id                 = 'weeconnectpay';
    95         $this->icon               = '';
     95        $this->icon               = WEECONNECTPAY_PLUGIN_URL . 'site/img/clover-square-logo.svg';
    9696        $this->has_fields         = true;
    9797        $this->method_title       = __( 'Clover via WeeConnectPay', 'weeconnectpay' );
  • weeconnectpay/trunk/includes/modules/WeeConnectPay/Integration/IntegrationSettings.php

    r3325292 r3358188  
    2929require_once plugin_dir_path( dirname( __FILE__ ) ) . 'Exceptions/InsufficientDependencyVersionException.php';
    3030require_once plugin_dir_path( dirname( __FILE__ ) ) . 'Exceptions/IntegrationPermissionsException.php';
     31require_once plugin_dir_path( dirname( __FILE__ ) ) . 'Exceptions/EnvironmentWarningException.php';
    3132require_once plugin_dir_path( dirname( __FILE__ ) ) . 'AccessToken.php';
    3233require_once plugin_dir_path( dirname( __FILE__ ) ) . 'CloverApp.php';
     
    10181019            $integration_id = Authentication::fetchIntegrationId();
    10191020        } catch (\Exception $e) {
    1020             LogService::error('WeeConnectPay: Failed to fetch an integration ID during settings initialization. Exception message: ' . $e->getMessage());
     1021            LogService::critical('WeeConnectPay: Failed to fetch an integration ID during settings initialization. Exception message: ' . $e->getMessage());
    10211022            die("WeeConnectPay initialization error: ".$e->getMessage());
    10221023        }
     
    10241025            $settings->setIntegrationUuid($integration_id);
    10251026        } catch (WeeConnectPayException $e) {
    1026             LogService::error('WeeConnectPay: Exception during settings initialization. Exception message: ' . $e->getMessage());
     1027            LogService::critical('WeeConnectPay: Exception during settings initialization. Exception message: ' . $e->getMessage());
    10271028            die("WeeConnectPay initialization error: ".$e->getMessage());
    10281029        }
     
    10391040            $settings->setIntegrationWpdbPrefix(sanitize_text_field($wpdb->prefix));
    10401041        } catch (WeeConnectPayException $e) {
    1041             LogService::error('WeeConnectPay: Exception during settings initialization. Exception message: ' . $e->getMessage());
     1042            LogService::critical('WeeConnectPay: Exception during settings initialization. Exception message: ' . $e->getMessage());
    10421043            die("WeeConnectPay initialization error: ".$e->getMessage());
    10431044        }
     
    10531054            $settings->setIntegrationSiteUrl(sanitize_url(site_url()));
    10541055        } catch (WeeConnectPayException $e) {
    1055             LogService::error('WeeConnectPay: Exception during settings initialization. Exception message: ' . $e->getMessage());
     1056            LogService::critical('WeeConnectPay: Exception during settings initialization. Exception message: ' . $e->getMessage());
    10561057            die("WeeConnectPay initialization error: ".$e->getMessage());
    10571058        }
  • weeconnectpay/trunk/includes/modules/WeeConnectPay/Integration/LogService.php

    r3246734 r3358188  
    6060   
    6161    /**
     62     * Log a critical message
     63     *
     64     * @param mixed $message The message to log
     65     */
     66    public static function critical($message): void {
     67        self::getInstance()->critical($message);
     68    }
     69   
     70    /**
    6271     * Get or create the Logger instance
    6372     *
  • weeconnectpay/trunk/includes/modules/WeeConnectPay/Integration/Logger.php

    r3306759 r3358188  
    106106                return '[Empty: blank message]';
    107107            }
    108             $message = str_replace(['[WeeConnectPay]', '[DEBUG]', '[INFO]', '[WARNING]', '[ERROR]'],
    109                                  ['[escaped-WeeConnectPay]', '[escaped-DEBUG]', '[escaped-INFO]', '[escaped-WARNING]', '[escaped-ERROR]'],
     108            $message = str_replace(['[WeeConnectPay]', '[DEBUG]', '[INFO]', '[WARNING]', '[ERROR]', '[CRITICAL]'],
     109                                 ['[escaped-WeeConnectPay]', '[escaped-DEBUG]', '[escaped-INFO]', '[escaped-WARNING]', '[escaped-ERROR]', '[escaped-CRITICAL]'],
    110110                                 $message);
    111111        }
     
    367367       
    368368        // Unescape our legitimate log markers
    369         $line = str_replace(['[escaped-WeeConnectPay]', '[escaped-DEBUG]', '[escaped-INFO]', '[escaped-WARNING]', '[escaped-ERROR]'],
    370                           ['[WeeConnectPay]', '[DEBUG]', '[INFO]', '[WARNING]', '[ERROR]'],
     369        $line = str_replace(['[escaped-WeeConnectPay]', '[escaped-DEBUG]', '[escaped-INFO]', '[escaped-WARNING]', '[escaped-ERROR]', '[escaped-CRITICAL]'],
     370                          ['[WeeConnectPay]', '[DEBUG]', '[INFO]', '[WARNING]', '[ERROR]', '[CRITICAL]'],
    371371                          $line);
    372372       
  • weeconnectpay/trunk/includes/modules/WeeConnectPay/Integration/PaymentFields.php

    r3246734 r3358188  
    121121            <div id="weeconnectpay-secured-by-display">
    122122                <div id="weeconnectpay-secured-by-text">
    123                     Payment secured by
     123                    <?php echo __("Payment secured by", 'weeconnectpay'); ?>
    124124                </div>
    125125                <img id="weeconnectpay-secured-by-img"
  • weeconnectpay/trunk/languages/weeconnectpay-fr_CA.po

    r3325292 r3358188  
    22msgstr ""
    33"Project-Id-Version: WeeConnectPay\n"
    4 "POT-Creation-Date: 2025-06-11 13:21-0400\n"
    5 "PO-Revision-Date: 2025-06-11 14:18-0400\n"
     4"POT-Creation-Date: 2025-09-08 15:53-0400\n"
     5"PO-Revision-Date: 2025-09-08 15:59-0400\n"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "X-Generator: Poedit 3.6\n"
     12"X-Generator: Poedit 3.7\n"
    1313"X-Poedit-Basepath: ..\n"
    1414"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
    1515"X-Poedit-WPHeader: weeconnectpay.php\n"
    1616"X-Poedit-SourceCharset: UTF-8\n"
    17 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
    18 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
    19 "_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
     17"X-Poedit-KeywordsList: "
     18"__;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
    2019"X-Poedit-SearchPath-0: .\n"
    2120"X-Poedit-SearchPathExcluded-0: *.min.js\n"
     
    106105"applications Clover pour résoudre ce problème."
    107106
    108 #: includes/WeeConnectPayHelper.php:297 includes/WeeConnectPayHelper.php:338
    109 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1092
    110 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1127
     107#: includes/WeeConnectPayHelper.php:299 includes/WeeConnectPayHelper.php:340
     108#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1112
     109#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1147
    111110msgid "Refunded: "
    112111msgstr "Remboursé : "
    113112
    114 #: includes/WeeConnectPayHelper.php:299 includes/WeeConnectPayHelper.php:340
    115 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1094
    116 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1129
     113#: includes/WeeConnectPayHelper.php:301 includes/WeeConnectPayHelper.php:342
     114#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1114
     115#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1149
    117116#, php-format
    118117msgid "%1$s %2$s"
     
    124123# Used in the order notes in bold before a 13 character alphanumerical ID from Clover.
    125124# All the order notes that contain "ID" should be described the same way across the different "ID" notes in every language.
    126 #: includes/WeeConnectPayHelper.php:303 includes/WeeConnectPayHelper.php:344
    127 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1099
    128 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1134
     125#: includes/WeeConnectPayHelper.php:305 includes/WeeConnectPayHelper.php:346
     126#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1119
     127#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1154
    129128msgid "Refund ID: "
    130129msgstr "ID du remboursement : "
    131130
    132 #: includes/WeeConnectPayHelper.php:310
     131#: includes/WeeConnectPayHelper.php:312
    133132msgid "Custom Tender: "
    134133msgstr "Paiement personnalisé : "
     
    139138# Used in the order notes in bold before a 13 character alphanumerical ID from Clover.
    140139# All the order notes that contain "ID" should be described the same way across the different "ID" notes in every language.
    141 #: includes/WeeConnectPayHelper.php:317
     140#: includes/WeeConnectPayHelper.php:319
    142141msgid "Refunded charge ID: "
    143142msgstr "ID de la transaction remboursée: "
    144143
    145 #: includes/WeeConnectPayHelper.php:320 includes/WeeConnectPayHelper.php:347
    146 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1103
    147 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1137
     144#: includes/WeeConnectPayHelper.php:322 includes/WeeConnectPayHelper.php:349
     145#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1123
     146#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1157
    148147msgid "Reason: "
    149148msgstr "Raison: "
     
    154153# Used in the order notes in bold before a 13 character alphanumerical ID from Clover.
    155154# All the order notes that contain "ID" should be described the same way across the different "ID" notes in every language.
    156 #: includes/WeeConnectPayHelper.php:364
    157 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1160
     155#: includes/WeeConnectPayHelper.php:366
     156#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1180
    158157msgid "Returned clover item ID: "
    159158msgstr "ID d’article Clover retourné : "
    160159
    161 #: includes/WeeConnectPayHelper.php:366
    162 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1162
     160#: includes/WeeConnectPayHelper.php:368
     161#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1182
    163162#, php-format
    164163msgid "%1$s(%2$s %3$s) - %4$s"
    165164msgstr "%1$s (%2$s %3$s) - %4$s"
    166165
    167 #: includes/WeeConnectPayHelper.php:380
     166#: includes/WeeConnectPayHelper.php:382
    168167msgid "⚠️ Refund Note: "
    169168msgstr "⚠️ Note de remboursement: "
    170169
    171 #: includes/WeeConnectPayHelper.php:382
     170#: includes/WeeConnectPayHelper.php:384
    172171msgid "Error: "
    173172msgstr "Erreur: "
    174173
    175 #: includes/WeeConnectPayHelper.php:386
     174#: includes/WeeConnectPayHelper.php:388
    176175msgid "Error Code: "
    177176msgstr "Code d’erreur: "
    178177
    179178#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:97
    180 #, fuzzy
    181 #| msgid "WeeConnectPay"
    182179msgid "Clover via WeeConnectPay"
    183 msgstr "WeeConnectPay"
     180msgstr "Clover via WeeConnectPay"
    184181
    185182#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:99
     
    346343#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:492
    347344msgid ""
    348 "Don't have a site key and private key for this domain? <a href=\"https://www."
    349 "google.com/recaptcha/admin/create\" target=\"_blank\">Click here</a> to set "
    350 "it up."
     345"Don't have a site key and private key for this domain? <a href=\"https://"
     346"www.google.com/recaptcha/admin/create\" target=\"_blank\">Click here</a> to "
     347"set it up."
    351348msgstr ""
    352349"Vous n’avez pas de clé de site ni de clé privée pour ce domaine? <a "
     
    409406msgstr "Connectez-vous en tant qu’un autre commerçant ou employé de Clover"
    410407
    411 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:698
     408#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:718
    412409msgid ""
    413410"This order contains gift card or loyalty card payments. For security reasons, "
     
    422419"ci-dessus pour effectuer un remboursement complet pour chaque transaction."
    423420
    424 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:726
     421#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:746
    425422msgid "Provided ID is not a WC Order"
    426423msgstr "L’ID fourni n’est pas une commande de WC"
    427424
    428 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:735
     425#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:755
    429426msgid "No WC Order Refund found"
    430427msgstr "Aucun remboursement de commande WC trouvé"
    431428
    432 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:742
     429#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:762
    433430msgid "Refund amount must be higher than 0."
    434431msgstr "Le montant du remboursement doit être supérieur à 0."
    435432
    436 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:748
     433#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:768
    437434msgid "Last created refund is not a WC Order Refund"
    438435msgstr "Le dernier remboursement créé n’est pas un remboursement de commande WC"
    439436
    440 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:754
    441 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1181
     437#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:774
     438#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1201
    442439msgid "Order has been already refunded"
    443440msgstr "La commande a déjà été remboursée"
    444441
    445 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:763
     442#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:783
    446443msgid ""
    447444"Due to an undocumented breaking change in the Clover API, we have temporarily "
     
    451448"temporairement désactivé les remboursements partiels.\n"
    452449
    453 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:764
     450#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:784
    454451msgid ""
    455452"This request to refund will not be processed. Should you want to do a partial "
     
    460457"bord Web Clover."
    461458
    462 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:793
    463 #, fuzzy, php-format
    464 #| msgid ""
    465 #| "To refund this line item (%s), the quantity to refund (currently %s) must "
    466 #| "be the total line item quantity (%s)"
     459#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:813
     460#, php-format
    467461msgid ""
    468462"To refund this line item (%1$s), the quantity to refund (currently %2$s) must "
     
    472466"doit être la quantité totale de l'item (%s)"
    473467
    474 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:805
    475 #, fuzzy, php-format
    476 #| msgid ""
    477 #| "To refund this line item (%s), the amount before tax to refund (currently $"
    478 #| "%s) must be the line item total amount before tax ($%s)"
     468#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:825
     469#, php-format
    479470msgid ""
    480471"To refund this line item (%1$s), the amount before tax to refund (currently $"
     
    484475"(actuellement %s $) doit être le montant total avant taxes de l'item (%s $)"
    485476
    486 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:817
    487 #, fuzzy, php-format
    488 #| msgid ""
    489 #| "To refund this line item (%s), the tax to refund (currently $%s) must be "
    490 #| "the line item total tax ($%s)"
     477#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:837
     478#, php-format
    491479msgid ""
    492480"To refund this line item (%1$s), the tax to refund (currently $%2$s) must be "
     
    496484"être la taxe totale de l'item (%s $)"
    497485
    498 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:874
     486#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:894
    499487#, php-format
    500488msgid ""
     
    505493"Veuillez contacter support@weeconnectpay.com si vous voyez ce message."
    506494
    507 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:888
    508 #, fuzzy, php-format
    509 #| msgid ""
    510 #| "To refund this fee (%s), the quantity to refund (currently %s) must be the "
    511 #| "total fee quantity (%s)"
     495#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:908
     496#, php-format
    512497msgid ""
    513498"To refund this fee (%1$s), the quantity to refund (currently %2$s) must be "
     
    517502"doit être la quantité totale du frais (%s)"
    518503
    519 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:901
    520 #, fuzzy, php-format
    521 #| msgid ""
    522 #| "To refund this fee (%s), the amount before tax to refund (currently $%s) "
    523 #| "must be the fee total amount before tax ($%s)"
     504#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:921
     505#, php-format
    524506msgid ""
    525507"To refund this fee (%1$s), the amount before tax to refund (currently $%2$s) "
     
    529511"(actuellement %s $) doit être le montant total avant taxes du frais (%s $)"
    530512
    531 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:913
    532 #, fuzzy, php-format
    533 #| msgid ""
    534 #| "To refund this fee (%s), the tax to refund (currently $%s) must be the fee "
    535 #| "total tax ($%s)"
     513#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:933
     514#, php-format
    536515msgid ""
    537516"To refund this fee (%1$s), the tax to refund (currently $%2$s) must be the "
     
    541520"être la taxe totale du frais (%s $)"
    542521
    543 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:976
    544 #, fuzzy, php-format
    545 #| msgid ""
    546 #| "To refund this shipping item (%s), the amount before tax to refund "
    547 #| "(currently $%s) must be the shipping item total amount before tax ($%s)"
     522#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:996
     523#, php-format
    548524msgid ""
    549525"To refund this shipping item (%1$s), the amount before tax to refund "
     
    554530"livraison avant taxes (%s $)"
    555531
    556 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:988
    557 #, fuzzy, php-format
    558 #| msgid ""
    559 #| "To refund this shipping item (%s), the shipping tax to refund (currently $"
    560 #| "%s) must be the shipping item total tax ($%s)"
     532#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1008
     533#, php-format
    561534msgid ""
    562535"To refund this shipping item (%1$s), the shipping tax to refund (currently $"
     
    567540"(%s $)"
    568541
    569 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1100
     542#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1120
    570543msgid "Charge refunded: "
    571544msgstr "Frais remboursés : "
    572545
    573 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1216
     546#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1236
    574547msgid "WeeConnectPay Charges"
    575548msgstr "Transactions WeeConnectPay"
    576549
    577 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1254
     550#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1274
    578551msgid "Charge ID"
    579552msgstr "ID de transaction"
    580553
    581 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1255
     554#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1275
    582555msgid "Amount"
    583556msgstr "Montant"
    584557
    585 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1256
    586 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:755
     558#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1276
     559#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:851
    587560msgid "Card Type"
    588561msgstr "Type de carte"
    589562
    590 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1257
    591 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:760
     563#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1277
     564#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:856
    592565msgid "Last 4"
    593566msgstr "4 derniers chiffres"
    594567
    595 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1258
     568#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1278
    596569msgid "Exp Date"
    597570msgstr "Date d'exp."
    598571
    599 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1259
     572#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1279
    600573msgid "Postal Code"
    601574msgstr "Code postal"
    602575
    603 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1260
     576#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1280
    604577msgid "Status"
    605578msgstr "État"
    606579
    607 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1261
     580#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1281
    608581msgid "Action"
    609582msgstr "Action"
    610583
    611 #: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1300
     584#: includes/integrations/woocommerce/WC_Gateway_Weeconnectpay.php:1320
    612585msgid "Refund"
    613586msgstr "Rembourser"
    614587
    615 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:245
    616 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:547
    617 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:986
    618 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1073
     588#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:251
     589#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:627
     590#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1108
     591#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1195
    619592msgid "Payment processing failed. Please try again."
    620593msgstr "Le traitement du paiement a échoué. Veuillez réessayer."
    621594
    622 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:251
     595#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:257
    623596msgid ""
    624597"An unexpected error occurred during payment processing. Please try again."
     
    627600"réessayer."
    628601
    629 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:270
     602#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:293
     603msgid "Successfully updated payment method!"
     604msgstr ""
     605
     606# Utiliser dans les notes de commandes pour le marchand, precede un ID de 13 charactere avec des chiffres et des nombres (de Clover).
     607# Tout les notes de commandes qui contiennent "ID" devrais avoir la meme terminologie pour etre constant.
     608# ---
     609# Used in the order notes in bold before a 13 character alphanumerical ID from Clover.
     610# All the order notes that contain "ID" should be described the same way across the different "ID" notes in every language.
     611#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:294
     612msgid "Token UUID: "
     613msgstr "UUID du jeton: "
     614
     615#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:327
     616msgid ""
     617"An unexpected error occurred while trying to update the payment method. "
     618"Please try again."
     619msgstr ""
     620"Une erreur inattendue s'est produite lors du traitement du paiement. Veuillez "
     621"réessayer."
     622
     623#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:347
    630624msgid ""
    631625"The hidden honeypot field was filled out. Likely a bot. Cancelling order. "
     
    635629"commande. Valeur du champ : "
    636630
    637 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:297
     631#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:374
    638632msgid ""
    639633"<b>Google reCAPTCHA API.js (front-end/customer-facing) has encountered an "
     
    645639"Voici le message d’erreur: "
    646640
    647 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:312
     641#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:389
    648642msgid "Google reCAPTCHA: "
    649643msgstr "Google reCAPTCHA: "
    650644
    651 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:313
     645#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:390
    652646msgid "Google reCAPTCHA score: "
    653647msgstr "Score Google reCAPTCHA : "
    654648
    655 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:314
     649#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:391
    656650msgid "Minimum human score setting: "
    657651msgstr "Paramètre de score humain minimum : "
    658652
    659 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:318
     653#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:395
    660654msgid ""
    661655"According to your plugin settings for Google reCAPTCHA, the customer who paid "
     
    665659"payé la commande est probablement un être humain."
    666660
    667 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:321
     661#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:398
    668662msgid ""
    669663"According to your plugin settings for Google reCAPTCHA, the customer who paid "
     
    678672"passerelle."
    679673
    680 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:337
     674#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:414
    681675msgid ""
    682676"The request to Google was successful but is missing the score. Full response: "
     
    686680"réponse complète : "
    687681
    688 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:345
     682#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:422
    689683msgid ""
    690684"The request to Google reCAPTCHA triggered an exception. See exception "
     
    694688"message d’exception : "
    695689
    696 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:350
     690#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:427
    697691msgid "The response from Google reCAPTCHA contains errors. See error codes: "
    698692msgstr ""
     
    700694"d’erreur : "
    701695
    702 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:355
     696#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:432
    703697msgid ""
    704698"The response from Google reCAPTCHA contains unexpected errors. Full response: "
     
    707701"réponse complète : "
    708702
    709 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:472
     703#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:549
    710704msgid "Customer creation failed."
    711705msgstr "La création du client a échoué."
    712706
    713 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:499
     707#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:577
    714708msgid "Clover order created."
    715709msgstr "La commande Clover a été créé."
     
    720714# Used in the order notes in bold before a 13 character alphanumerical ID from Clover.
    721715# All the order notes that contain "ID" should be described the same way across the different "ID" notes in every language.
    722 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:500
     716#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:578
    723717msgid "Order ID: "
    724718msgstr "ID de commande : "
    725719
    726 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:516
     720#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:596
    727721msgid "Error preparing payment order with Clover."
    728722msgstr "Erreur lors de la préparation de la commande de paiement avec Clover."
    729723
    730 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:657
     724#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:732
    731725msgid "Clover payment successful!"
    732726msgstr "Paiement Clover réussi!"
     
    737731# Used in the order notes in bold before a 13 character alphanumerical ID from Clover.
    738732# All the order notes that contain "ID" should be described the same way across the different "ID" notes in every language.
    739 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:658
    740 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:720
    741 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:885
    742 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:926
     733#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:733
     734#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:816
     735#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1007
     736#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1048
    743737msgid "Payment ID: "
    744738msgstr "ID du paiement : "
    745739
    746 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:717
     740#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:813
    747741msgid "Clover payment failed."
    748742msgstr "Le paiement Clover a échoué."
    749743
    750 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:730
     744#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:826
    751745msgid "Charge ID: "
    752746msgstr "ID de transaction: "
    753747
    754 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:736
     748#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:832
    755749msgid "Error code: "
    756750msgstr "Code d’erreur: "
    757751
    758 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:742
     752#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:838
    759753msgid "Decline code: "
    760754msgstr "Code de refus: "
    761755
    762 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:748
    763 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:908
    764 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:933
    765 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:950
     756#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:844
     757#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1030
     758#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1055
     759#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1072
    766760msgid "Clover error message: "
    767761msgstr "Message d’erreur Clover : "
    768762
    769 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:884
     763#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1006
    770764msgid "Clover custom tender payment successful!"
    771765msgstr "Paiement personnalisé Clover réussi!"
    772766
    773 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:888
    774 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:929
     767#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1010
     768#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1051
    775769msgid "Custom Tender"
    776770msgstr "Paiement personnalisé"
    777771
    778 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:910
     772#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1032
    779773msgid ""
    780774"Please check the order in the Clover dashboard for the full payment "
     
    784778"informations de paiement complètes."
    785779
    786 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:925
    787 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:939
     780#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1047
     781#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1061
    788782msgid "Clover custom tender payment failed."
    789783msgstr "Le paiement personnalisé Clover a échoué."
    790784
    791 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:942
     785#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1064
    792786msgid "Clover response message: "
    793787msgstr "Réponse de Clover : "
    794788
    795 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:946
     789#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1068
    796790msgid "Clover error code: "
    797791msgstr "Code d’erreur Clover : "
    798792
    799 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:956
     793#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1078
    800794msgid ""
    801795"Clover custom tender payment failed - Unhandled context, see response "
     
    804798"Échec du paiement personnalisé Clover - Contexte non géré, voir la réponse : "
    805799
    806 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:964
     800#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1086
    807801msgid "Payment failed. Please try again."
    808802msgstr "Le paiement a échoué. Veuillez réessayer."
    809803
    810 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1058
     804#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1180
    811805msgid "Payment processing failed due to an unexpected error."
    812806msgstr "Le traitement du paiement a échoué en raison d'une erreur inattendue."
    813807
    814 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1202
     808#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1324
    815809msgid ""
    816810"⚠️ Warning: An error has occurred: We could not detect the postal code used "
     
    820814"code postal utilisé pour la transaction."
    821815
    822 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1216
     816#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1338
    823817#, php-format
    824818msgid ""
     
    829823"postal de facturation « %s » sont différents."
    830824
    831 #: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1225
     825#: includes/integrations/woocommerce/WeeConnectPayOrderProcessor.php:1347
    832826#, php-format
    833827msgid ""
     
    845839"Clover par défaut."
    846840
    847 #: includes/modules/WeeConnectPay/Integration/IntegrationSettings.php:235
     841#: includes/modules/WeeConnectPay/Integration/IntegrationSettings.php:243
    848842msgid ""
    849843"Failed to update the WooCommerce WeeConnectPay gateway enabled status in the "
     
    854848"être trouvées."
    855849
    856 #: includes/modules/WeeConnectPay/Integration/IntegrationSettings.php:248
     850#: includes/modules/WeeConnectPay/Integration/IntegrationSettings.php:256
    857851msgid "Failed to update the WooCommerce integration status in the database."
    858852msgstr ""
     
    860854"base de données."
    861855
    862 #: includes/modules/WeeConnectPay/Integration/IntegrationSettings.php:282
     856#: includes/modules/WeeConnectPay/Integration/IntegrationSettings.php:290
    863857msgid ""
    864858"Failed to update the WooCommerce integration title in the database. The "
     
    868862"de données. Les options de passerelle n’ont pas pu être trouvées."
    869863
    870 #: includes/modules/WeeConnectPay/Integration/IntegrationSettings.php:295
     864#: includes/modules/WeeConnectPay/Integration/IntegrationSettings.php:303
    871865msgid "Failed to update the WooCommerce integration title in the database."
    872866msgstr ""
     
    874868"de données."
    875869
    876 #: includes/modules/WeeConnectPay/Integration/IntegrationSettings.php:668
     870#: includes/modules/WeeConnectPay/Integration/IntegrationSettings.php:676
    877871#, php-format
    878872msgid ""
     
    884878"correctement. Intégration désactivée. "
    885879
    886 #: includes/modules/WeeConnectPay/Integration/IntegrationSettings.php:676
     880#: includes/modules/WeeConnectPay/Integration/IntegrationSettings.php:684
    887881msgid "Dependencies are ok!"
    888882msgstr "Les dépendances sont acceptables!"
    889883
    890 #: includes/modules/WeeConnectPay/Integration/IntegrationSettings.php:683
     884#: includes/modules/WeeConnectPay/Integration/IntegrationSettings.php:691
    891885msgid ""
    892886"Something went wrong while validating one of the requirements for this "
     
    895889"Quelque chose s’est mal passé lors de la validation de l’une des exigences "
    896890"pour que cette intégration fonctionne correctement. Intégration désactivée."
     891
     892#: includes/modules/WeeConnectPay/Integration/PaymentFields.php:123
     893msgid "Payment secured by"
     894msgstr "Paiement sécurisé par"
    897895
    898896#: includes/modules/WeeConnectPay/StandardizedResponse.php:34
     
    986984"fonctionne. Votre version actuelle est %3$s. Intégration désactivée."
    987985
    988 #: payment-fields-blocks/assets/js/frontend/index.js:22
    989986#: payment-fields-blocks/clover-woo-blocks/woo_blocks_payment_fields.js:32
    990987#: payment-fields-blocks/resources/js/frontend/index.js:13
     988#: payment-fields-blocks/resources/ts/frontend/index.tsx:26
    991989msgid "Credit Card"
    992990msgstr "Paiement par carte de crédit"
  • weeconnectpay/trunk/vendor/composer/installed.php

    r3351544 r3358188  
    22    'root' => array(
    33        'name' => '__root__',
    4         'pretty_version' => '3.15.2',
    5         'version' => '3.15.2.0',
    6         'reference' => '5dbdae267dfdf5cc830ba735b1230b876aa7ba5a',
     4        'pretty_version' => '3.15.3',
     5        'version' => '3.15.3.0',
     6        'reference' => 'd2a8547fc8cafd7af3b74e9d7aa2ddd378e7992b',
    77        'type' => 'library',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        '__root__' => array(
    14             'pretty_version' => '3.15.2',
    15             'version' => '3.15.2.0',
    16             'reference' => '5dbdae267dfdf5cc830ba735b1230b876aa7ba5a',
     14            'pretty_version' => '3.15.3',
     15            'version' => '3.15.3.0',
     16            'reference' => 'd2a8547fc8cafd7af3b74e9d7aa2ddd378e7992b',
    1717            'type' => 'library',
    1818            'install_path' => __DIR__ . '/../../',
  • weeconnectpay/trunk/weeconnectpay.php

    r3351544 r3358188  
    1818 * Description:       Integrate Clover Payments with your WooCommerce online store.
    1919 * Tags:              clover, payments, weeconnect, e-commerce, gateway
    20  * Version:           3.15.2
     20 * Version:           3.15.3
    2121 * Requires at least: 5.6
    2222 * Tested Up To:      6.8.1
     
    3838    die;
    3939}
    40 const WEECONNECT_VERSION = '3.15.2';
     40const WEECONNECT_VERSION = '3.15.3';
    4141
    4242define( 'WEECONNECTPAY_PLUGIN_URL', plugin_dir_url(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.