Plugin Directory

Changeset 3098419


Ignore:
Timestamp:
06/06/2024 08:33:43 AM (22 months ago)
Author:
monobank
Message:

Version 1.8.2

Location:
mono-checkout
Files:
7 edited
22 copied

Legend:

Unmodified
Added
Removed
  • mono-checkout/tags/1.8.2/includes/class.gateway.php

    r3047124 r3098419  
    5353            'show_in_admin_all_list'    => true,
    5454            'exclude_from_search'       => false,
    55             'label_count'               => _n_noop( __( 'Not authorized <span class="count">(%s)</span>' ), __( 'Not authorized <span class="count">(%s)</span>' ) )
     55            'label_count'               => _n_noop( __( 'Not authorized <span class="count">(%s)</span>', 'mono-checkout' ), __( 'Not authorized <span class="count">(%s)</span>', 'mono-checkout' ) )
    5656        );
    5757        $order_statuses['wc-not_confirmed'] = array(
     
    6161            'show_in_admin_all_list'    => true,
    6262            'exclude_from_search'       => false,
    63             'label_count'               => _n_noop( __( 'Not confirmed <span class="count">(%s)</span>' ), __( 'Not confirmed <span class="count">(%s)</span>' ) )
     63            'label_count'               => _n_noop( __( 'Not confirmed <span class="count">(%s)</span>', 'mono-checkout' ), __( 'Not confirmed <span class="count">(%s)</span>', 'mono-checkout' ) )
    6464        );
    6565        $order_statuses['wc-cash_on_delivery'] = array(
     
    6969            'show_in_admin_all_list'    => true,
    7070            'exclude_from_search'       => false,
    71             'label_count'               => _n_noop( __( 'Payment on delivery <span class="count">(%s)</span>' ), __( 'Payment on delivery <span class="count">(%s)</span>' ) )
     71            'label_count'               => _n_noop( __( 'Payment on delivery <span class="count">(%s)</span>', 'mono-checkout' ), __( 'Payment on delivery <span class="count">(%s)</span>', 'mono-checkout' ) )
    7272        );
    7373        return $order_statuses;
     
    217217            ),
    218218            'description' => array(
    219                 'title' => __( 'Checkout description', 'woocommerce' ),
     219                'title' => __( 'Checkout description', 'mono-checkout' ),
    220220                'type' => 'textarea',
    221221                'default' => ''
     
    373373            <div>
    374374                <div>
    375                     <p><a href="#faq"><?php esc_html(__( 'Need help? Check out our FAQ or contact our support.' )); ?></a></p>
     375                    <p><a href="#faq"><?php esc_html(__( 'Need help? Check out our FAQ or contact our support.', 'mono-checkout' )); ?></a></p>
    376376                </div>
    377377                <div>
  • mono-checkout/tags/1.8.2/includes/class.mono.php

    r3045127 r3098419  
    6666
    6767        $this->setup_notifications();
     68        $this->configure_order_email();
    6869
    6970        $this->init_gateway();
     
    123124    }
    124125
     126    public function configure_order_email() {
     127        add_filter('woocommerce_mail_callback_params', [$this, 'replace_np_id_with_address'], 10, 2);
     128    }
     129
     130    /**
     131     * @param $parameters array - array( $to, wp_specialchars_decode( $subject ), $message, $headers, $attachments )
     132     * @param $new_order_email \WC_Email_New_Order
     133     */
     134    public function replace_np_id_with_address( $parameters, $new_order_email ) {
     135        /** @var \WC_Order $order */
     136        $order = $new_order_email->object;
     137        if (Mono_Gateway::is_mono_order_by_id($order->get_id())) {
     138            if ($this->is_valid_branch_id($order->get_billing_address_1())) {
     139                $parameters[2] = str_replace($order->get_billing_address_1(), $order->get_shipping_address_1(), $parameters[2]);
     140            }
     141
     142        }
     143        return $parameters;
     144    }
     145
     146    public function is_valid_branch_id( $branch_id ) {
     147        return preg_match('/^[^\s]+$/i', $branch_id);
     148    }
     149
    125150    public function can_run() {
    126151        return $this->canRun;
     
    310335        if ($this->has_order_coupon()) {
    311336            if (current_user_can( 'activate_plugins' )) {
    312                 $this->render('button_error', ['message' => __( "mono checkout does not support order with coupons", "mono" )] );
     337                $this->render('button_error', ['message' => __( "mono checkout does not support order with coupons", "mono-checkout" )] );
    313338            }
    314339            return;
  • mono-checkout/tags/1.8.2/languages/mono-checkout-uk.po

    r3045127 r3098419  
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mono\n"
    77"Last-Translator: \n"
    8 "Language-Team: Ukrainian\n"
     8"Language-Team: Українська\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"POT-Creation-Date: 2023-10-25T00:58:42+03:00\n"
    13 "PO-Revision-Date: 2024-02-29 09:50+0000\n"
     13"PO-Revision-Date: 2024-03-11 13:32+0000\n"
    1414"X-Generator: Loco https://localise.biz/\n"
    1515"X-Domain: mono\n"
     
    1919"X-Loco-Version: 2.6.6; wp-6.3.2"
    2020
    21 #: includes/class.gateway.php:416
     21#: includes/class.gateway.php:419
    2222msgid ""
    2323"<strong>Important:</strong> mono checkout does not support orders with "
     
    3030msgstr "Відповідь API"
    3131
    32 #: includes/class.gateway.php:204
     32#: includes/class.gateway.php:207
    3333#| msgid ""
    3434#| "API token from monopay. Get your token at <a href=\"https://web.monobank."
     
    4141"monobank.ua/\" target=\"_blank\">web.monobank.ua</a>"
    4242
    43 #: includes/class.gateway.php:295
     43#: includes/class.gateway.php:298
    4444msgid "Base URL"
    4545msgstr "Базовий URL"
    4646
    47 #: includes/class.gateway.php:297
     47#: includes/class.gateway.php:300
    4848msgid "Base URL for mono checkout API."
    4949msgstr "Базовий URL для API mono checkout"
    5050
    51 #: includes/class.gateway.php:263
     51#: includes/class.gateway.php:266
    5252msgid "Button style"
    5353msgstr "Стиль кнопки"
     
    5757msgstr "Оформити через mono checkout"
    5858
    59 #: includes/class.gateway.php:88
     59#: includes/class.gateway.php:91
    6060msgid "Call client"
    6161msgstr "Передзвонити клієнту"
    6262
    63 #: includes/class.gateway.php:330
     63#: includes/class.gateway.php:333
    6464msgid "Card"
    6565msgstr "Картка"
    6666
    67 #: includes/class.gateway.php:259
     67#: includes/class.gateway.php:262
    6868msgid "Cart button height (px)"
    6969msgstr "Висота кнопки в кошику (px)"
    7070
    71 #: includes/class.gateway.php:255
     71#: includes/class.gateway.php:258
    7272msgid "Cart button width (px)"
    7373msgstr "Ширина кнопки в кошику (px)"
    7474
    75 #: includes/class.gateway.php:435 includes/class.gateway.php:613
     75#: includes/class.gateway.php:438 includes/class.gateway.php:616
    7676msgid "Check your mono checkout Token."
    7777msgstr "Будь-ласка, перевірте Токен чекауту для Вашого магазину."
    7878
    79 #: includes/class.gateway.php:231
     79#: includes/class.gateway.php:234
    8080msgid "Checkout button height (px)"
    8181msgstr "Висота кнопки на чекауті (px)"
    8282
    83 #: includes/class.gateway.php:227
     83#: includes/class.gateway.php:230
    8484msgid "Checkout button width (px)"
    8585msgstr "Ширина кнопки на чекауті (px)"
    8686
    87 #: includes/class.gateway.php:441 includes/class.gateway.php:636
     87#: includes/class.gateway.php:219
     88msgid "Checkout description"
     89msgstr "Опис"
     90
     91#: includes/class.gateway.php:444 includes/class.gateway.php:639
    8892msgid "Checkout is disabled in your account."
    8993msgstr "Чекаут відключений у Вашому аккаунті."
    9094
    91 #: includes/class.gateway.php:100
     95#: includes/class.gateway.php:103
    9296msgid "City"
    9397msgstr "Місто"
    9498
    95 #: includes/class.gateway.php:99 includes/class.gateway.php:101
     99#: includes/class.gateway.php:102 includes/class.gateway.php:104
    96100msgid "copy code"
    97101msgstr "скопіювати код"
    98102
    99 #: includes/class.gateway.php:321
     103#: includes/class.gateway.php:324
    100104msgid "Courier"
    101105msgstr "Кур'єр"
    102106
    103 #: includes/class.gateway.php:631
     107#: includes/class.gateway.php:634
    104108msgid "Delivery method \"%s\" is not available for your store."
    105109msgstr "Спосіб доставки \"%s\" недоступний для Вашого магазину."
    106110
    107 #: includes/class.gateway.php:439
     111#: includes/class.gateway.php:442
    108112msgid "Delivery method X is not available for your store."
    109113msgstr "Спосіб доставки X недоступний для Вашого магазину."
    110114
    111 #: includes/class.gateway.php:269
     115#: includes/class.gateway.php:272
    112116msgid "Delivery options"
    113117msgstr "Методи доставки"
    114118
    115 #: includes/class.gateway.php:249
     119#: includes/class.gateway.php:252
    116120msgid "Enable in cart"
    117121msgstr "Відобразити в кошику"
    118122
    119 #: includes/class.gateway.php:196
     123#: includes/class.gateway.php:199
    120124msgid "Enable module"
    121125msgstr "Активувати модуль"
    122126
    123 #: includes/class.gateway.php:221
     127#: includes/class.gateway.php:224
    124128msgid "Enable on checkout"
    125129msgstr "Відобразити на чекауті"
    126130
    127 #: includes/class.gateway.php:235
     131#: includes/class.gateway.php:238
    128132msgid "Enable on product details"
    129133msgstr "Відобразити на деталях продукту"
    130134
    131 #: includes/class.gateway.php:433 includes/class.gateway.php:608
     135#: includes/class.gateway.php:436 includes/class.gateway.php:611
    132136msgid "Fill in your mono checkout Token."
    133137msgstr "Будь-ласка, заповніть Токен чекауту для Вашого магазину."
    134138
    135 #: includes/class.gateway.php:276
     139#: includes/class.gateway.php:279
    136140msgid "Free delivery from"
    137141msgstr "Безкоштовна доставка від"
    138142
    139 #: includes/class.gateway.php:279
     143#: includes/class.gateway.php:282
    140144msgid "Free delivery from this order subtotal. Empty for paid delivery."
    141145msgstr ""
     
    143147"доставки."
    144148
    145 #: includes/class.gateway.php:431
     149#: includes/class.gateway.php:434
    146150msgid "Frequent errors"
    147151msgstr "Часті помилки"
     
    151155msgstr "Загальна помилка"
    152156
    153 #: includes/class.gateway.php:381
     157#: includes/class.gateway.php:384
    154158msgid "Get your monobank app now:"
    155159msgstr "Скачайте додаток monobank"
    156160
    157 #: includes/class.gateway.php:17
     161#: includes/class.gateway.php:20
    158162msgid "Go to mono checkout"
    159163msgstr "Перейти до mono checkout"
     
    161165#. Plugin URI of the plugin
    162166msgid "https://checkout.mono.bank/woocomerce"
    163 msgstr ""
     167msgstr "https://checkout.mono.bank/woocomerce"
    164168
    165169#. Author URI of the plugin
    166170msgid "https://monobank.ua/"
    167 msgstr ""
     171msgstr "https://monobank.ua/"
    168172
    169173#: templates/base_button.php:25
     
    176180msgstr "Оформлення через mono checkout"
    177181
    178 #: includes/class.gateway.php:678
     182#: includes/class.gateway.php:681
    179183#| msgid ""
    180184#| "monopay declined order: %1$s (code: %2$s)<br/><a class=\"mono-code-"
     
    187191"code-toggle\">Відповідь API</a><pre class=\"mono-api-answer\">%3$s</pre>"
    188192
    189 #: includes/class.gateway.php:661
     193#: includes/class.gateway.php:664
    190194#| msgid ""
    191195#| "monopay declined order: %1$s<br/><a class=\"mono-code-toggle\">API "
     
    198202"Відповідь API</a><pre class=\"mono-api-answer\">%2$s</pre>"
    199203
    200 #: includes/class.gateway.php:743
     204#: includes/class.mono.php:312
     205msgid "mono checkout does not support order with coupons"
     206msgstr "mono чекаут не підтримує замовлення з купонами"
     207
     208#: includes/class.gateway.php:758
    201209#| msgid ""
    202210#| "monopay status update:<strong>%1$s</strong><br/><a class=\"mono-code-"
     
    220228"cPanel</a>)"
    221229
    222 #: includes/class.gateway.php:696
     230#: includes/class.gateway.php:699
    223231msgid ""
    224232"mono ID: <strong>%1$s</strong><br/><a href=\"%2$s\" target=\"_blank\">"
     
    238246#. Author of the plugin
    239247msgid "monobank"
    240 msgstr ""
    241 
    242 #: includes/class.gateway.php:376
     248msgstr "monobank"
     249
     250#: includes/class.gateway.php:379
    243251msgid ""
    244252"More details on <a href=\"https://www.monobank.ua/\" target=\"_blank\">"
     
    248256"monobank.ua</a>"
    249257
    250 #: includes/class.gateway.php:610 includes/class.gateway.php:615
    251 #: includes/class.gateway.php:624 includes/class.gateway.php:633
    252 #: includes/class.gateway.php:638
     258#: includes/class.gateway.php:613 includes/class.gateway.php:618
     259#: includes/class.gateway.php:627 includes/class.gateway.php:636
     260#: includes/class.gateway.php:641
    253261msgid "More info"
    254262msgstr "Детальніше"
    255263
    256 #: includes/class.gateway.php:88
     264#: includes/class.gateway.php:375
     265msgid "Need help? Check out our FAQ or contact our support."
     266msgstr "Потрібна допомога? Подивіться наші ЧаПи або зверніться до підтримки."
     267
     268#: includes/class.gateway.php:91
    257269msgid "No"
    258270msgstr "Ні"
    259271
    260 #: includes/class.gateway.php:47 includes/class.gateway.php:78
     272#: includes/class.gateway.php:50 includes/class.gateway.php:81
    261273msgid "Not authorized"
    262274msgstr "Не авторизоване"
    263275
    264 #: includes/class.gateway.php:55 includes/class.gateway.php:79
     276#: includes/class.gateway.php:55
     277msgid "Not authorized <span class=\"count\">(%s)</span>"
     278msgstr "Не авторизоване <span class=\"count\">(%s)</span>"
     279
     280#: includes/class.gateway.php:58 includes/class.gateway.php:82
    265281msgid "Not confirmed"
    266282msgstr "Не підтверджене"
    267283
    268 #: includes/class.gateway.php:322
     284#: includes/class.gateway.php:63
     285msgid "Not confirmed <span class=\"count\">(%s)</span>"
     286msgstr "Не підтверджене <span class=\"count\">(%s)</span>"
     287
     288#: includes/class.gateway.php:325
    269289msgid "Nova Poshta"
    270290msgstr "Нова Пошта"
    271291
    272 #: includes/class.gateway.php:323
     292#: includes/class.gateway.php:326
    273293msgid "NP Postbox"
    274294msgstr "Поштомат НП"
    275295
    276 #: includes/class.gateway.php:289
     296#: includes/class.gateway.php:292
    277297msgid "Number of payments"
    278298msgstr "Кількість платежів"
    279299
    280 #: includes/class.gateway.php:292
     300#: includes/class.gateway.php:295
    281301msgid "Number of payments for Purchase in parts."
    282302msgstr "Кількість платежів в покупці частинами"
    283303
    284 #: includes/class.gateway.php:209
     304#: includes/class.gateway.php:212
    285305msgid "Order prefix"
    286306msgstr "Префікс замовлення"
    287307
    288 #: includes/class.gateway.php:641 includes/class.gateway.php:657
    289 #: includes/class.gateway.php:674
     308#: includes/class.gateway.php:644 includes/class.gateway.php:660
     309#: includes/class.gateway.php:677
    290310msgid "Payment error: %s"
    291311msgstr "Помилка платежу: %s"
    292312
    293 #: includes/class.gateway.php:622
     313#: includes/class.gateway.php:625
    294314msgid "Payment method \"%s\" is not available for your store."
    295315msgstr "Платіжний метод \"%s\" недоступний для Вашого магазину."
    296316
    297 #: includes/class.gateway.php:437
     317#: includes/class.gateway.php:440
    298318msgid "Payment method X is not available for your store."
    299319msgstr "Платіжний метод X недоступний для Вашого магазину."
    300320
    301 #: includes/class.gateway.php:282
     321#: includes/class.gateway.php:285
    302322msgid "Payment methods"
    303323msgstr "Платіжні методи"
    304324
    305 #: includes/class.gateway.php:63 includes/class.gateway.php:80
    306 #: includes/class.gateway.php:331
     325#: includes/class.gateway.php:66 includes/class.gateway.php:83
     326#: includes/class.gateway.php:334
    307327msgid "Payment on delivery"
    308328msgstr "Оплата при отриманні"
    309329
    310 #: includes/class.gateway.php:348
     330#: includes/class.gateway.php:71
     331msgid "Payment on delivery <span class=\"count\">(%s)</span>"
     332msgstr "Оплата при отриманні <span class=\"count\">(%s)</span>"
     333
     334#: includes/class.gateway.php:351
    311335msgid "Pending payment"
    312336msgstr "Очікування оплати"
    313337
    314 #: includes/class.gateway.php:320
     338#: includes/class.gateway.php:323
    315339msgid "Pickup"
    316340msgstr "Самовивіз"
    317341
    318 #: includes/class.gateway.php:440
     342#: includes/class.gateway.php:443
    319343msgid ""
    320344"Please, contact our support at <a href=\"https://web.monobank.ua\" "
     
    328352"в налаштуваннях чекауту."
    329353
    330 #: includes/class.gateway.php:438
     354#: includes/class.gateway.php:441
    331355#| msgid ""
    332356#| "Please, contact our support at <a href=\"https://web.monobank.ua\" "
     
    343367"в налаштуваннях чекауту."
    344368
    345 #: includes/class.gateway.php:442
     369#: includes/class.gateway.php:445
    346370msgid ""
    347371"Please, enable your checkout in your account at <a href=\"https://web."
     
    351375"monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    352376
    353 #: includes/class.gateway.php:434
     377#: includes/class.gateway.php:437
    354378msgid ""
    355379"Please, get your token at <a href=\"https://web.monobank.ua\" "
     
    359383"ua\" target=\"_blank\">web.monobank.ua</a>"
    360384
    361 #: includes/class.gateway.php:436
     385#: includes/class.gateway.php:439
    362386msgid ""
    363387"Please, make sure you used correct token from <a href=\"https://web.monobank."
     
    367391"href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    368392
    369 #: includes/class.gateway.php:211
     393#: includes/class.gateway.php:214
    370394msgid "Prepended to order numbers to distinguish between different stores."
    371395msgstr ""
    372396"Додається до номеру замовлення, щоб розрізняти замовлення з різних магазинів"
    373397
    374 #: includes/class.gateway.php:245
     398#: includes/class.gateway.php:248
    375399msgid "Product details button height (px)"
    376400msgstr "Висота кнопки на деталях продукту (px)"
    377401
    378 #: includes/class.gateway.php:241
     402#: includes/class.gateway.php:244
    379403msgid "Product details button width (px)"
    380404msgstr "Ширина кнопки на деталях продукту (px)"
    381405
    382 #: includes/class.gateway.php:332
     406#: includes/class.gateway.php:335
    383407msgid "Purchase in parts"
    384408msgstr "Покупка частинами"
    385409
    386 #: includes/class.gateway.php:98
     410#: includes/class.gateway.php:101
    387411msgid "Region"
    388412msgstr "Область"
    389413
    390 #: includes/class.gateway.php:420
     414#: includes/class.gateway.php:423
    391415msgid "Settings"
    392416msgstr "Налаштування"
    393417
    394 #: includes/class.gateway.php:401
     418#: includes/class.gateway.php:404
    395419msgid "Statuses of mono checkout orders:"
    396420msgstr "Статуси замовлень mono checkout:"
    397421
    398 #: includes/class.gateway.php:127 includes/class.gateway.php:606
     422#: includes/class.gateway.php:130 includes/class.gateway.php:609
    399423msgid "Technical error"
    400424msgstr "Технічна помилка"
     
    404428msgstr "Цей платіжний метод не підтримує замовлення з купонами."
    405429
    406 #: includes/class.gateway.php:375
     430#: includes/class.gateway.php:378
    407431msgid ""
    408432"To get token, please, send request in your monobank app and then visit <a "
     
    413437"web.monobank.ua</a>"
    414438
    415 #: includes/class.gateway.php:202
     439#: includes/class.gateway.php:205
    416440msgid "Token"
    417441msgstr "Токен"
    418442
    419 #: includes/class.gateway.php:109 includes/class.gateway.php:148
     443#: includes/class.gateway.php:112 includes/class.gateway.php:151
    420444msgid "Update payment status"
    421445msgstr "Оновити статус платежу"
    422446
    423 #: includes/class.gateway.php:273 includes/class.gateway.php:286
     447#: includes/class.gateway.php:276 includes/class.gateway.php:289
    424448msgid "Use Ctrl for multiple choices"
    425449msgstr "Натисніть Ctrl, щоб обрати декілька варіантів"
    426450
    427 #: includes/class.gateway.php:645
     451#: includes/class.gateway.php:648
    428452#| msgid ""
    429453#| "Wrong answer from monopay.<br/><a class=\"mono-code-toggle\">API "
     
    436460"Відповідь API</a><pre class=\"mono-api-answer\">%s</pre>"
    437461
    438 #: includes/class.gateway.php:88
     462#: includes/class.gateway.php:91
    439463msgid "Yes"
    440464msgstr "Так"
    441465
    442 #: includes/class.gateway.php:377
     466#: includes/class.gateway.php:380
    443467msgid "Your callback URL: %s"
    444468msgstr "Ваш URL колбеку: %s"
    445469
    446 #: includes/class.gateway.php:378
     470#: includes/class.gateway.php:381
    447471msgid "Your return URL: %s"
    448472msgstr "Ваш URL після успішної оплати (return URL): %s"
     
    456480"підключений інтернет-еквайринг від monobank"
    457481msgstr ""
     482"модуль Чекауту від monobank це спосіб автоматизувати процес оформлення "
     483"покупки на вашому сайті. Доступний функціонал: предзаповнення даних "
     484"отримувача, рекомендації по доставці та оплаті, всі доступні способи оплати "
     485"від monobank: еквайринг, Покупка частинами та оплата при отриманні. Має бути "
     486"підключений інтернет-еквайринг від monobank"
  • mono-checkout/tags/1.8.2/languages/mono-checkout.pot

    r3045127 r3098419  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: mono checkout 1.8.0\n"
     5"Project-Id-Version: mono checkout 1.8.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mono\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: 2024-02-29T09:49:07+00:00\n"
     12"POT-Creation-Date: 2024-03-11T13:29:23+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.8.1\n"
     
    3535msgstr ""
    3636
    37 #: includes/class.gateway.php:17
     37#: includes/class.gateway.php:20
    3838msgid "Go to mono checkout"
    3939msgstr ""
    4040
    41 #: includes/class.gateway.php:47
    42 #: includes/class.gateway.php:78
     41#: includes/class.gateway.php:50
     42#: includes/class.gateway.php:81
    4343msgid "Not authorized"
    4444msgstr ""
    4545
    4646#: includes/class.gateway.php:55
    47 #: includes/class.gateway.php:79
     47msgid "Not authorized <span class=\"count\">(%s)</span>"
     48msgstr ""
     49
     50#: includes/class.gateway.php:58
     51#: includes/class.gateway.php:82
    4852msgid "Not confirmed"
    4953msgstr ""
    5054
    5155#: includes/class.gateway.php:63
    52 #: includes/class.gateway.php:80
    53 #: includes/class.gateway.php:331
     56msgid "Not confirmed <span class=\"count\">(%s)</span>"
     57msgstr ""
     58
     59#: includes/class.gateway.php:66
     60#: includes/class.gateway.php:83
     61#: includes/class.gateway.php:334
    5462msgid "Payment on delivery"
    5563msgstr ""
    5664
    57 #: includes/class.gateway.php:88
     65#: includes/class.gateway.php:71
     66msgid "Payment on delivery <span class=\"count\">(%s)</span>"
     67msgstr ""
     68
     69#: includes/class.gateway.php:91
    5870msgid "Call client"
    5971msgstr ""
    6072
    61 #: includes/class.gateway.php:88
     73#: includes/class.gateway.php:91
    6274msgid "Yes"
    6375msgstr ""
    6476
    65 #: includes/class.gateway.php:88
     77#: includes/class.gateway.php:91
    6678msgid "No"
    6779msgstr ""
    6880
    69 #: includes/class.gateway.php:98
     81#: includes/class.gateway.php:101
    7082msgid "Region"
    7183msgstr ""
    7284
    73 #: includes/class.gateway.php:99
    74 #: includes/class.gateway.php:101
     85#: includes/class.gateway.php:102
     86#: includes/class.gateway.php:104
    7587msgid "copy code"
    7688msgstr ""
    7789
    78 #: includes/class.gateway.php:100
     90#: includes/class.gateway.php:103
    7991msgid "City"
    8092msgstr ""
    8193
    82 #: includes/class.gateway.php:109
    83 #: includes/class.gateway.php:148
     94#: includes/class.gateway.php:112
     95#: includes/class.gateway.php:151
    8496msgid "Update payment status"
    8597msgstr ""
    8698
    87 #: includes/class.gateway.php:127
    88 #: includes/class.gateway.php:606
     99#: includes/class.gateway.php:130
     100#: includes/class.gateway.php:609
    89101msgid "Technical error"
    90102msgstr ""
    91103
    92 #: includes/class.gateway.php:196
     104#: includes/class.gateway.php:199
    93105msgid "Enable module"
    94106msgstr ""
    95107
    96 #: includes/class.gateway.php:202
     108#: includes/class.gateway.php:205
    97109msgid "Token"
    98110msgstr ""
    99111
    100 #: includes/class.gateway.php:204
     112#: includes/class.gateway.php:207
    101113msgid "API token from mono checkout. Get your token at <a href=\"https://web.monobank.ua/\" target=\"_blank\">web.monobank.ua</a>"
    102114msgstr ""
    103115
    104 #: includes/class.gateway.php:209
     116#: includes/class.gateway.php:212
    105117msgid "Order prefix"
    106118msgstr ""
    107119
    108 #: includes/class.gateway.php:211
     120#: includes/class.gateway.php:214
    109121msgid "Prepended to order numbers to distinguish between different stores."
    110122msgstr ""
    111123
    112 #: includes/class.gateway.php:221
     124#: includes/class.gateway.php:219
     125msgid "Checkout description"
     126msgstr ""
     127
     128#: includes/class.gateway.php:224
    113129msgid "Enable on checkout"
    114130msgstr ""
    115131
    116 #: includes/class.gateway.php:227
     132#: includes/class.gateway.php:230
    117133msgid "Checkout button width (px)"
    118134msgstr ""
    119135
    120 #: includes/class.gateway.php:231
     136#: includes/class.gateway.php:234
    121137msgid "Checkout button height (px)"
    122138msgstr ""
    123139
    124 #: includes/class.gateway.php:235
     140#: includes/class.gateway.php:238
    125141msgid "Enable on product details"
    126142msgstr ""
    127143
    128 #: includes/class.gateway.php:241
     144#: includes/class.gateway.php:244
    129145msgid "Product details button width (px)"
    130146msgstr ""
    131147
    132 #: includes/class.gateway.php:245
     148#: includes/class.gateway.php:248
    133149msgid "Product details button height (px)"
    134150msgstr ""
    135151
    136 #: includes/class.gateway.php:249
     152#: includes/class.gateway.php:252
    137153msgid "Enable in cart"
    138154msgstr ""
    139155
    140 #: includes/class.gateway.php:255
     156#: includes/class.gateway.php:258
    141157msgid "Cart button width (px)"
    142158msgstr ""
    143159
    144 #: includes/class.gateway.php:259
     160#: includes/class.gateway.php:262
    145161msgid "Cart button height (px)"
    146162msgstr ""
    147163
    148 #: includes/class.gateway.php:263
     164#: includes/class.gateway.php:266
    149165msgid "Button style"
    150166msgstr ""
    151167
    152 #: includes/class.gateway.php:269
     168#: includes/class.gateway.php:272
    153169msgid "Delivery options"
    154170msgstr ""
    155171
    156 #: includes/class.gateway.php:273
    157 #: includes/class.gateway.php:286
     172#: includes/class.gateway.php:276
     173#: includes/class.gateway.php:289
    158174msgid "Use Ctrl for multiple choices"
    159175msgstr ""
    160176
    161 #: includes/class.gateway.php:276
     177#: includes/class.gateway.php:279
    162178msgid "Free delivery from"
    163179msgstr ""
    164180
    165 #: includes/class.gateway.php:279
     181#: includes/class.gateway.php:282
    166182msgid "Free delivery from this order subtotal. Empty for paid delivery."
    167183msgstr ""
    168184
    169 #: includes/class.gateway.php:282
     185#: includes/class.gateway.php:285
    170186msgid "Payment methods"
    171187msgstr ""
    172188
    173 #: includes/class.gateway.php:289
     189#: includes/class.gateway.php:292
    174190msgid "Number of payments"
    175191msgstr ""
    176192
    177 #: includes/class.gateway.php:292
     193#: includes/class.gateway.php:295
    178194msgid "Number of payments for Purchase in parts."
    179195msgstr ""
    180196
    181 #: includes/class.gateway.php:295
     197#: includes/class.gateway.php:298
    182198msgid "Base URL"
    183199msgstr ""
    184200
    185 #: includes/class.gateway.php:297
     201#: includes/class.gateway.php:300
    186202msgid "Base URL for mono checkout API."
    187203msgstr ""
    188204
    189 #: includes/class.gateway.php:320
     205#: includes/class.gateway.php:323
    190206msgid "Pickup"
    191207msgstr ""
    192208
    193 #: includes/class.gateway.php:321
     209#: includes/class.gateway.php:324
    194210msgid "Courier"
    195211msgstr ""
    196212
    197 #: includes/class.gateway.php:322
     213#: includes/class.gateway.php:325
    198214msgid "Nova Poshta"
    199215msgstr ""
    200216
    201 #: includes/class.gateway.php:323
     217#: includes/class.gateway.php:326
    202218msgid "NP Postbox"
    203219msgstr ""
    204220
    205 #: includes/class.gateway.php:330
     221#: includes/class.gateway.php:333
    206222msgid "Card"
    207223msgstr ""
    208224
    209 #: includes/class.gateway.php:332
     225#: includes/class.gateway.php:335
    210226msgid "Purchase in parts"
    211227msgstr ""
    212228
    213 #: includes/class.gateway.php:348
     229#: includes/class.gateway.php:351
    214230msgid "Pending payment"
    215231msgstr ""
    216232
    217233#: includes/class.gateway.php:375
     234msgid "Need help? Check out our FAQ or contact our support."
     235msgstr ""
     236
     237#: includes/class.gateway.php:378
    218238msgid "To get token, please, send request in your monobank app and then visit <a href=\"https://web.monobank.ua/\" target=\"_blank\">web.monobank.ua</a>"
    219239msgstr ""
    220240
    221 #: includes/class.gateway.php:376
     241#: includes/class.gateway.php:379
    222242msgid "More details on <a href=\"https://www.monobank.ua/\" target=\"_blank\">monobank.ua</a>"
    223243msgstr ""
    224244
    225 #: includes/class.gateway.php:377
     245#: includes/class.gateway.php:380
    226246msgid "Your callback URL: %s"
    227247msgstr ""
    228248
    229 #: includes/class.gateway.php:378
     249#: includes/class.gateway.php:381
    230250msgid "Your return URL: %s"
    231251msgstr ""
    232252
    233 #: includes/class.gateway.php:381
     253#: includes/class.gateway.php:384
    234254msgid "Get your monobank app now:"
    235255msgstr ""
    236256
    237 #: includes/class.gateway.php:401
     257#: includes/class.gateway.php:404
    238258msgid "Statuses of mono checkout orders:"
    239259msgstr ""
    240260
    241 #: includes/class.gateway.php:416
     261#: includes/class.gateway.php:419
    242262msgid "<strong>Important:</strong> mono checkout does not support orders with coupons."
    243263msgstr ""
    244264
    245 #: includes/class.gateway.php:420
     265#: includes/class.gateway.php:423
    246266msgid "Settings"
    247267msgstr ""
    248268
    249 #: includes/class.gateway.php:431
     269#: includes/class.gateway.php:434
    250270msgid "Frequent errors"
    251271msgstr ""
    252272
    253 #: includes/class.gateway.php:433
    254 #: includes/class.gateway.php:608
     273#: includes/class.gateway.php:436
     274#: includes/class.gateway.php:611
    255275msgid "Fill in your mono checkout Token."
    256276msgstr ""
    257277
    258 #: includes/class.gateway.php:434
     278#: includes/class.gateway.php:437
    259279msgid "Please, get your token at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    260280msgstr ""
    261281
    262 #: includes/class.gateway.php:435
     282#: includes/class.gateway.php:438
     283#: includes/class.gateway.php:616
     284msgid "Check your mono checkout Token."
     285msgstr ""
     286
     287#: includes/class.gateway.php:439
     288msgid "Please, make sure you used correct token from <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
     289msgstr ""
     290
     291#: includes/class.gateway.php:440
     292msgid "Payment method X is not available for your store."
     293msgstr ""
     294
     295#: includes/class.gateway.php:441
     296msgid "Please, contact our support at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a> to enable corresponding payment method for your account. You can disable it temporarily to keep using mono checkout."
     297msgstr ""
     298
     299#: includes/class.gateway.php:442
     300msgid "Delivery method X is not available for your store."
     301msgstr ""
     302
     303#: includes/class.gateway.php:443
     304msgid "Please, contact our support at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a> to enable corresponding delivery method for your account. You can disable it temporarily to keep using mono checkout."
     305msgstr ""
     306
     307#: includes/class.gateway.php:444
     308#: includes/class.gateway.php:639
     309msgid "Checkout is disabled in your account."
     310msgstr ""
     311
     312#: includes/class.gateway.php:445
     313msgid "Please, enable your checkout in your account at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
     314msgstr ""
     315
    263316#: includes/class.gateway.php:613
    264 msgid "Check your mono checkout Token."
    265 msgstr ""
    266 
    267 #: includes/class.gateway.php:436
    268 msgid "Please, make sure you used correct token from <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    269 msgstr ""
    270 
    271 #: includes/class.gateway.php:437
    272 msgid "Payment method X is not available for your store."
    273 msgstr ""
    274 
    275 #: includes/class.gateway.php:438
    276 msgid "Please, contact our support at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a> to enable corresponding payment method for your account. You can disable it temporarily to keep using mono checkout."
    277 msgstr ""
    278 
    279 #: includes/class.gateway.php:439
    280 msgid "Delivery method X is not available for your store."
    281 msgstr ""
    282 
    283 #: includes/class.gateway.php:440
    284 msgid "Please, contact our support at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a> to enable corresponding delivery method for your account. You can disable it temporarily to keep using mono checkout."
    285 msgstr ""
    286 
    287 #: includes/class.gateway.php:441
     317#: includes/class.gateway.php:618
     318#: includes/class.gateway.php:627
    288319#: includes/class.gateway.php:636
    289 msgid "Checkout is disabled in your account."
    290 msgstr ""
    291 
    292 #: includes/class.gateway.php:442
    293 msgid "Please, enable your checkout in your account at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    294 msgstr ""
    295 
    296 #: includes/class.gateway.php:610
    297 #: includes/class.gateway.php:615
    298 #: includes/class.gateway.php:624
    299 #: includes/class.gateway.php:633
    300 #: includes/class.gateway.php:638
     320#: includes/class.gateway.php:641
    301321msgid "More info"
    302322msgstr ""
    303323
    304 #: includes/class.gateway.php:622
     324#: includes/class.gateway.php:625
    305325msgid "Payment method \"%s\" is not available for your store."
    306326msgstr ""
    307327
    308 #: includes/class.gateway.php:631
     328#: includes/class.gateway.php:634
    309329msgid "Delivery method \"%s\" is not available for your store."
    310330msgstr ""
    311331
    312 #: includes/class.gateway.php:641
    313 #: includes/class.gateway.php:657
    314 #: includes/class.gateway.php:674
     332#: includes/class.gateway.php:644
     333#: includes/class.gateway.php:660
     334#: includes/class.gateway.php:677
    315335msgid "Payment error: %s"
    316336msgstr ""
    317337
    318 #: includes/class.gateway.php:645
     338#: includes/class.gateway.php:648
    319339msgid "Wrong answer from mono checkout.<br/><a class=\"mono-code-toggle\">API answer</a><pre class=\"mono-api-answer\">%s</pre>"
    320340msgstr ""
    321341
    322 #: includes/class.gateway.php:661
     342#: includes/class.gateway.php:664
    323343msgid "mono checkout declined order: %1$s<br/><a class=\"mono-code-toggle\">API answer</a><pre class=\"mono-api-answer\">%2$s</pre>"
    324344msgstr ""
    325345
    326 #: includes/class.gateway.php:678
     346#: includes/class.gateway.php:681
    327347msgid "mono checkout declined order: %1$s (code: %2$s)<br/><a class=\"mono-code-toggle\">API answer</a><pre class=\"mono-api-answer\">%3$s</pre>"
    328348msgstr ""
    329349
    330 #: includes/class.gateway.php:696
     350#: includes/class.gateway.php:699
    331351msgid "mono ID: <strong>%1$s</strong><br/><a href=\"%2$s\" target=\"_blank\">Checkout link</a><br/><a class=\"mono-code-toggle\">API answer</a><pre class=\"mono-api-answer\">%3$s</pre>"
    332352msgstr ""
    333353
    334 #: includes/class.gateway.php:743
     354#: includes/class.gateway.php:758
    335355msgid "mono checkout status update:<strong>%1$s</strong><br/><a class=\"mono-code-toggle\">API answer</a><pre class=\"mono-api-answer\">%2$s</pre>"
    336356msgstr ""
     
    349369msgstr ""
    350370
     371#: includes/class.mono.php:312
     372msgid "mono checkout does not support order with coupons"
     373msgstr ""
     374
    351375#: includes/class.mono.php:393
    352376msgid "This payment method is not applicable to orders with coupons."
  • mono-checkout/tags/1.8.2/mono.php

    r3047124 r3098419  
    77Plugin URI: https://checkout.mono.bank/woocomerce
    88Description: модуль Чекауту від monobank це спосіб автоматизувати процес оформлення покупки на вашому сайті. Доступний функціонал: предзаповнення даних отримувача, рекомендації по доставці та оплаті, всі доступні способи оплати від monobank: еквайринг, Покупка частинами та оплата при отриманні. Має бути підключений інтернет-еквайринг від monobank
    9 Version: 1.8.1
     9Version: 1.8.2
    1010Requires at least: 5.8
    1111Requires PHP: 7.4
     
    1818if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    1919
    20 define( 'MONO_VERSION', '1.8.0' );
     20define( 'MONO_VERSION', '1.8.2' );
    2121define( 'MONO__MINIMUM_WP_VERSION', '5.8' );
    2222define( 'MONO__PLUGIN_FILE', __FILE__ );
  • mono-checkout/tags/1.8.2/readme.txt

    r3047124 r3098419  
    44Requires at least: 5.8
    55Tested up to: 6.4
    6 Stable tag: 1.8.1
     6Stable tag: 1.8.2
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    5050== Changelog ==
    5151
     52= 1.8.2 =
     53* Виправлення платіжної адреси в імейлі про замовлення при доставці у відділення або поштомат Нової Пошти
     54
    5255= 1.8.1 =
    5356* Покращення безпеки
  • mono-checkout/trunk/includes/class.gateway.php

    r3047124 r3098419  
    5353            'show_in_admin_all_list'    => true,
    5454            'exclude_from_search'       => false,
    55             'label_count'               => _n_noop( __( 'Not authorized <span class="count">(%s)</span>' ), __( 'Not authorized <span class="count">(%s)</span>' ) )
     55            'label_count'               => _n_noop( __( 'Not authorized <span class="count">(%s)</span>', 'mono-checkout' ), __( 'Not authorized <span class="count">(%s)</span>', 'mono-checkout' ) )
    5656        );
    5757        $order_statuses['wc-not_confirmed'] = array(
     
    6161            'show_in_admin_all_list'    => true,
    6262            'exclude_from_search'       => false,
    63             'label_count'               => _n_noop( __( 'Not confirmed <span class="count">(%s)</span>' ), __( 'Not confirmed <span class="count">(%s)</span>' ) )
     63            'label_count'               => _n_noop( __( 'Not confirmed <span class="count">(%s)</span>', 'mono-checkout' ), __( 'Not confirmed <span class="count">(%s)</span>', 'mono-checkout' ) )
    6464        );
    6565        $order_statuses['wc-cash_on_delivery'] = array(
     
    6969            'show_in_admin_all_list'    => true,
    7070            'exclude_from_search'       => false,
    71             'label_count'               => _n_noop( __( 'Payment on delivery <span class="count">(%s)</span>' ), __( 'Payment on delivery <span class="count">(%s)</span>' ) )
     71            'label_count'               => _n_noop( __( 'Payment on delivery <span class="count">(%s)</span>', 'mono-checkout' ), __( 'Payment on delivery <span class="count">(%s)</span>', 'mono-checkout' ) )
    7272        );
    7373        return $order_statuses;
     
    217217            ),
    218218            'description' => array(
    219                 'title' => __( 'Checkout description', 'woocommerce' ),
     219                'title' => __( 'Checkout description', 'mono-checkout' ),
    220220                'type' => 'textarea',
    221221                'default' => ''
     
    373373            <div>
    374374                <div>
    375                     <p><a href="#faq"><?php esc_html(__( 'Need help? Check out our FAQ or contact our support.' )); ?></a></p>
     375                    <p><a href="#faq"><?php esc_html(__( 'Need help? Check out our FAQ or contact our support.', 'mono-checkout' )); ?></a></p>
    376376                </div>
    377377                <div>
  • mono-checkout/trunk/includes/class.mono.php

    r3045127 r3098419  
    6666
    6767        $this->setup_notifications();
     68        $this->configure_order_email();
    6869
    6970        $this->init_gateway();
     
    123124    }
    124125
     126    public function configure_order_email() {
     127        add_filter('woocommerce_mail_callback_params', [$this, 'replace_np_id_with_address'], 10, 2);
     128    }
     129
     130    /**
     131     * @param $parameters array - array( $to, wp_specialchars_decode( $subject ), $message, $headers, $attachments )
     132     * @param $new_order_email \WC_Email_New_Order
     133     */
     134    public function replace_np_id_with_address( $parameters, $new_order_email ) {
     135        /** @var \WC_Order $order */
     136        $order = $new_order_email->object;
     137        if (Mono_Gateway::is_mono_order_by_id($order->get_id())) {
     138            if ($this->is_valid_branch_id($order->get_billing_address_1())) {
     139                $parameters[2] = str_replace($order->get_billing_address_1(), $order->get_shipping_address_1(), $parameters[2]);
     140            }
     141
     142        }
     143        return $parameters;
     144    }
     145
     146    public function is_valid_branch_id( $branch_id ) {
     147        return preg_match('/^[^\s]+$/i', $branch_id);
     148    }
     149
    125150    public function can_run() {
    126151        return $this->canRun;
     
    310335        if ($this->has_order_coupon()) {
    311336            if (current_user_can( 'activate_plugins' )) {
    312                 $this->render('button_error', ['message' => __( "mono checkout does not support order with coupons", "mono" )] );
     337                $this->render('button_error', ['message' => __( "mono checkout does not support order with coupons", "mono-checkout" )] );
    313338            }
    314339            return;
  • mono-checkout/trunk/languages/mono-checkout-uk.po

    r3045127 r3098419  
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mono\n"
    77"Last-Translator: \n"
    8 "Language-Team: Ukrainian\n"
     8"Language-Team: Українська\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"POT-Creation-Date: 2023-10-25T00:58:42+03:00\n"
    13 "PO-Revision-Date: 2024-02-29 09:50+0000\n"
     13"PO-Revision-Date: 2024-03-11 13:32+0000\n"
    1414"X-Generator: Loco https://localise.biz/\n"
    1515"X-Domain: mono\n"
     
    1919"X-Loco-Version: 2.6.6; wp-6.3.2"
    2020
    21 #: includes/class.gateway.php:416
     21#: includes/class.gateway.php:419
    2222msgid ""
    2323"<strong>Important:</strong> mono checkout does not support orders with "
     
    3030msgstr "Відповідь API"
    3131
    32 #: includes/class.gateway.php:204
     32#: includes/class.gateway.php:207
    3333#| msgid ""
    3434#| "API token from monopay. Get your token at <a href=\"https://web.monobank."
     
    4141"monobank.ua/\" target=\"_blank\">web.monobank.ua</a>"
    4242
    43 #: includes/class.gateway.php:295
     43#: includes/class.gateway.php:298
    4444msgid "Base URL"
    4545msgstr "Базовий URL"
    4646
    47 #: includes/class.gateway.php:297
     47#: includes/class.gateway.php:300
    4848msgid "Base URL for mono checkout API."
    4949msgstr "Базовий URL для API mono checkout"
    5050
    51 #: includes/class.gateway.php:263
     51#: includes/class.gateway.php:266
    5252msgid "Button style"
    5353msgstr "Стиль кнопки"
     
    5757msgstr "Оформити через mono checkout"
    5858
    59 #: includes/class.gateway.php:88
     59#: includes/class.gateway.php:91
    6060msgid "Call client"
    6161msgstr "Передзвонити клієнту"
    6262
    63 #: includes/class.gateway.php:330
     63#: includes/class.gateway.php:333
    6464msgid "Card"
    6565msgstr "Картка"
    6666
    67 #: includes/class.gateway.php:259
     67#: includes/class.gateway.php:262
    6868msgid "Cart button height (px)"
    6969msgstr "Висота кнопки в кошику (px)"
    7070
    71 #: includes/class.gateway.php:255
     71#: includes/class.gateway.php:258
    7272msgid "Cart button width (px)"
    7373msgstr "Ширина кнопки в кошику (px)"
    7474
    75 #: includes/class.gateway.php:435 includes/class.gateway.php:613
     75#: includes/class.gateway.php:438 includes/class.gateway.php:616
    7676msgid "Check your mono checkout Token."
    7777msgstr "Будь-ласка, перевірте Токен чекауту для Вашого магазину."
    7878
    79 #: includes/class.gateway.php:231
     79#: includes/class.gateway.php:234
    8080msgid "Checkout button height (px)"
    8181msgstr "Висота кнопки на чекауті (px)"
    8282
    83 #: includes/class.gateway.php:227
     83#: includes/class.gateway.php:230
    8484msgid "Checkout button width (px)"
    8585msgstr "Ширина кнопки на чекауті (px)"
    8686
    87 #: includes/class.gateway.php:441 includes/class.gateway.php:636
     87#: includes/class.gateway.php:219
     88msgid "Checkout description"
     89msgstr "Опис"
     90
     91#: includes/class.gateway.php:444 includes/class.gateway.php:639
    8892msgid "Checkout is disabled in your account."
    8993msgstr "Чекаут відключений у Вашому аккаунті."
    9094
    91 #: includes/class.gateway.php:100
     95#: includes/class.gateway.php:103
    9296msgid "City"
    9397msgstr "Місто"
    9498
    95 #: includes/class.gateway.php:99 includes/class.gateway.php:101
     99#: includes/class.gateway.php:102 includes/class.gateway.php:104
    96100msgid "copy code"
    97101msgstr "скопіювати код"
    98102
    99 #: includes/class.gateway.php:321
     103#: includes/class.gateway.php:324
    100104msgid "Courier"
    101105msgstr "Кур'єр"
    102106
    103 #: includes/class.gateway.php:631
     107#: includes/class.gateway.php:634
    104108msgid "Delivery method \"%s\" is not available for your store."
    105109msgstr "Спосіб доставки \"%s\" недоступний для Вашого магазину."
    106110
    107 #: includes/class.gateway.php:439
     111#: includes/class.gateway.php:442
    108112msgid "Delivery method X is not available for your store."
    109113msgstr "Спосіб доставки X недоступний для Вашого магазину."
    110114
    111 #: includes/class.gateway.php:269
     115#: includes/class.gateway.php:272
    112116msgid "Delivery options"
    113117msgstr "Методи доставки"
    114118
    115 #: includes/class.gateway.php:249
     119#: includes/class.gateway.php:252
    116120msgid "Enable in cart"
    117121msgstr "Відобразити в кошику"
    118122
    119 #: includes/class.gateway.php:196
     123#: includes/class.gateway.php:199
    120124msgid "Enable module"
    121125msgstr "Активувати модуль"
    122126
    123 #: includes/class.gateway.php:221
     127#: includes/class.gateway.php:224
    124128msgid "Enable on checkout"
    125129msgstr "Відобразити на чекауті"
    126130
    127 #: includes/class.gateway.php:235
     131#: includes/class.gateway.php:238
    128132msgid "Enable on product details"
    129133msgstr "Відобразити на деталях продукту"
    130134
    131 #: includes/class.gateway.php:433 includes/class.gateway.php:608
     135#: includes/class.gateway.php:436 includes/class.gateway.php:611
    132136msgid "Fill in your mono checkout Token."
    133137msgstr "Будь-ласка, заповніть Токен чекауту для Вашого магазину."
    134138
    135 #: includes/class.gateway.php:276
     139#: includes/class.gateway.php:279
    136140msgid "Free delivery from"
    137141msgstr "Безкоштовна доставка від"
    138142
    139 #: includes/class.gateway.php:279
     143#: includes/class.gateway.php:282
    140144msgid "Free delivery from this order subtotal. Empty for paid delivery."
    141145msgstr ""
     
    143147"доставки."
    144148
    145 #: includes/class.gateway.php:431
     149#: includes/class.gateway.php:434
    146150msgid "Frequent errors"
    147151msgstr "Часті помилки"
     
    151155msgstr "Загальна помилка"
    152156
    153 #: includes/class.gateway.php:381
     157#: includes/class.gateway.php:384
    154158msgid "Get your monobank app now:"
    155159msgstr "Скачайте додаток monobank"
    156160
    157 #: includes/class.gateway.php:17
     161#: includes/class.gateway.php:20
    158162msgid "Go to mono checkout"
    159163msgstr "Перейти до mono checkout"
     
    161165#. Plugin URI of the plugin
    162166msgid "https://checkout.mono.bank/woocomerce"
    163 msgstr ""
     167msgstr "https://checkout.mono.bank/woocomerce"
    164168
    165169#. Author URI of the plugin
    166170msgid "https://monobank.ua/"
    167 msgstr ""
     171msgstr "https://monobank.ua/"
    168172
    169173#: templates/base_button.php:25
     
    176180msgstr "Оформлення через mono checkout"
    177181
    178 #: includes/class.gateway.php:678
     182#: includes/class.gateway.php:681
    179183#| msgid ""
    180184#| "monopay declined order: %1$s (code: %2$s)<br/><a class=\"mono-code-"
     
    187191"code-toggle\">Відповідь API</a><pre class=\"mono-api-answer\">%3$s</pre>"
    188192
    189 #: includes/class.gateway.php:661
     193#: includes/class.gateway.php:664
    190194#| msgid ""
    191195#| "monopay declined order: %1$s<br/><a class=\"mono-code-toggle\">API "
     
    198202"Відповідь API</a><pre class=\"mono-api-answer\">%2$s</pre>"
    199203
    200 #: includes/class.gateway.php:743
     204#: includes/class.mono.php:312
     205msgid "mono checkout does not support order with coupons"
     206msgstr "mono чекаут не підтримує замовлення з купонами"
     207
     208#: includes/class.gateway.php:758
    201209#| msgid ""
    202210#| "monopay status update:<strong>%1$s</strong><br/><a class=\"mono-code-"
     
    220228"cPanel</a>)"
    221229
    222 #: includes/class.gateway.php:696
     230#: includes/class.gateway.php:699
    223231msgid ""
    224232"mono ID: <strong>%1$s</strong><br/><a href=\"%2$s\" target=\"_blank\">"
     
    238246#. Author of the plugin
    239247msgid "monobank"
    240 msgstr ""
    241 
    242 #: includes/class.gateway.php:376
     248msgstr "monobank"
     249
     250#: includes/class.gateway.php:379
    243251msgid ""
    244252"More details on <a href=\"https://www.monobank.ua/\" target=\"_blank\">"
     
    248256"monobank.ua</a>"
    249257
    250 #: includes/class.gateway.php:610 includes/class.gateway.php:615
    251 #: includes/class.gateway.php:624 includes/class.gateway.php:633
    252 #: includes/class.gateway.php:638
     258#: includes/class.gateway.php:613 includes/class.gateway.php:618
     259#: includes/class.gateway.php:627 includes/class.gateway.php:636
     260#: includes/class.gateway.php:641
    253261msgid "More info"
    254262msgstr "Детальніше"
    255263
    256 #: includes/class.gateway.php:88
     264#: includes/class.gateway.php:375
     265msgid "Need help? Check out our FAQ or contact our support."
     266msgstr "Потрібна допомога? Подивіться наші ЧаПи або зверніться до підтримки."
     267
     268#: includes/class.gateway.php:91
    257269msgid "No"
    258270msgstr "Ні"
    259271
    260 #: includes/class.gateway.php:47 includes/class.gateway.php:78
     272#: includes/class.gateway.php:50 includes/class.gateway.php:81
    261273msgid "Not authorized"
    262274msgstr "Не авторизоване"
    263275
    264 #: includes/class.gateway.php:55 includes/class.gateway.php:79
     276#: includes/class.gateway.php:55
     277msgid "Not authorized <span class=\"count\">(%s)</span>"
     278msgstr "Не авторизоване <span class=\"count\">(%s)</span>"
     279
     280#: includes/class.gateway.php:58 includes/class.gateway.php:82
    265281msgid "Not confirmed"
    266282msgstr "Не підтверджене"
    267283
    268 #: includes/class.gateway.php:322
     284#: includes/class.gateway.php:63
     285msgid "Not confirmed <span class=\"count\">(%s)</span>"
     286msgstr "Не підтверджене <span class=\"count\">(%s)</span>"
     287
     288#: includes/class.gateway.php:325
    269289msgid "Nova Poshta"
    270290msgstr "Нова Пошта"
    271291
    272 #: includes/class.gateway.php:323
     292#: includes/class.gateway.php:326
    273293msgid "NP Postbox"
    274294msgstr "Поштомат НП"
    275295
    276 #: includes/class.gateway.php:289
     296#: includes/class.gateway.php:292
    277297msgid "Number of payments"
    278298msgstr "Кількість платежів"
    279299
    280 #: includes/class.gateway.php:292
     300#: includes/class.gateway.php:295
    281301msgid "Number of payments for Purchase in parts."
    282302msgstr "Кількість платежів в покупці частинами"
    283303
    284 #: includes/class.gateway.php:209
     304#: includes/class.gateway.php:212
    285305msgid "Order prefix"
    286306msgstr "Префікс замовлення"
    287307
    288 #: includes/class.gateway.php:641 includes/class.gateway.php:657
    289 #: includes/class.gateway.php:674
     308#: includes/class.gateway.php:644 includes/class.gateway.php:660
     309#: includes/class.gateway.php:677
    290310msgid "Payment error: %s"
    291311msgstr "Помилка платежу: %s"
    292312
    293 #: includes/class.gateway.php:622
     313#: includes/class.gateway.php:625
    294314msgid "Payment method \"%s\" is not available for your store."
    295315msgstr "Платіжний метод \"%s\" недоступний для Вашого магазину."
    296316
    297 #: includes/class.gateway.php:437
     317#: includes/class.gateway.php:440
    298318msgid "Payment method X is not available for your store."
    299319msgstr "Платіжний метод X недоступний для Вашого магазину."
    300320
    301 #: includes/class.gateway.php:282
     321#: includes/class.gateway.php:285
    302322msgid "Payment methods"
    303323msgstr "Платіжні методи"
    304324
    305 #: includes/class.gateway.php:63 includes/class.gateway.php:80
    306 #: includes/class.gateway.php:331
     325#: includes/class.gateway.php:66 includes/class.gateway.php:83
     326#: includes/class.gateway.php:334
    307327msgid "Payment on delivery"
    308328msgstr "Оплата при отриманні"
    309329
    310 #: includes/class.gateway.php:348
     330#: includes/class.gateway.php:71
     331msgid "Payment on delivery <span class=\"count\">(%s)</span>"
     332msgstr "Оплата при отриманні <span class=\"count\">(%s)</span>"
     333
     334#: includes/class.gateway.php:351
    311335msgid "Pending payment"
    312336msgstr "Очікування оплати"
    313337
    314 #: includes/class.gateway.php:320
     338#: includes/class.gateway.php:323
    315339msgid "Pickup"
    316340msgstr "Самовивіз"
    317341
    318 #: includes/class.gateway.php:440
     342#: includes/class.gateway.php:443
    319343msgid ""
    320344"Please, contact our support at <a href=\"https://web.monobank.ua\" "
     
    328352"в налаштуваннях чекауту."
    329353
    330 #: includes/class.gateway.php:438
     354#: includes/class.gateway.php:441
    331355#| msgid ""
    332356#| "Please, contact our support at <a href=\"https://web.monobank.ua\" "
     
    343367"в налаштуваннях чекауту."
    344368
    345 #: includes/class.gateway.php:442
     369#: includes/class.gateway.php:445
    346370msgid ""
    347371"Please, enable your checkout in your account at <a href=\"https://web."
     
    351375"monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    352376
    353 #: includes/class.gateway.php:434
     377#: includes/class.gateway.php:437
    354378msgid ""
    355379"Please, get your token at <a href=\"https://web.monobank.ua\" "
     
    359383"ua\" target=\"_blank\">web.monobank.ua</a>"
    360384
    361 #: includes/class.gateway.php:436
     385#: includes/class.gateway.php:439
    362386msgid ""
    363387"Please, make sure you used correct token from <a href=\"https://web.monobank."
     
    367391"href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    368392
    369 #: includes/class.gateway.php:211
     393#: includes/class.gateway.php:214
    370394msgid "Prepended to order numbers to distinguish between different stores."
    371395msgstr ""
    372396"Додається до номеру замовлення, щоб розрізняти замовлення з різних магазинів"
    373397
    374 #: includes/class.gateway.php:245
     398#: includes/class.gateway.php:248
    375399msgid "Product details button height (px)"
    376400msgstr "Висота кнопки на деталях продукту (px)"
    377401
    378 #: includes/class.gateway.php:241
     402#: includes/class.gateway.php:244
    379403msgid "Product details button width (px)"
    380404msgstr "Ширина кнопки на деталях продукту (px)"
    381405
    382 #: includes/class.gateway.php:332
     406#: includes/class.gateway.php:335
    383407msgid "Purchase in parts"
    384408msgstr "Покупка частинами"
    385409
    386 #: includes/class.gateway.php:98
     410#: includes/class.gateway.php:101
    387411msgid "Region"
    388412msgstr "Область"
    389413
    390 #: includes/class.gateway.php:420
     414#: includes/class.gateway.php:423
    391415msgid "Settings"
    392416msgstr "Налаштування"
    393417
    394 #: includes/class.gateway.php:401
     418#: includes/class.gateway.php:404
    395419msgid "Statuses of mono checkout orders:"
    396420msgstr "Статуси замовлень mono checkout:"
    397421
    398 #: includes/class.gateway.php:127 includes/class.gateway.php:606
     422#: includes/class.gateway.php:130 includes/class.gateway.php:609
    399423msgid "Technical error"
    400424msgstr "Технічна помилка"
     
    404428msgstr "Цей платіжний метод не підтримує замовлення з купонами."
    405429
    406 #: includes/class.gateway.php:375
     430#: includes/class.gateway.php:378
    407431msgid ""
    408432"To get token, please, send request in your monobank app and then visit <a "
     
    413437"web.monobank.ua</a>"
    414438
    415 #: includes/class.gateway.php:202
     439#: includes/class.gateway.php:205
    416440msgid "Token"
    417441msgstr "Токен"
    418442
    419 #: includes/class.gateway.php:109 includes/class.gateway.php:148
     443#: includes/class.gateway.php:112 includes/class.gateway.php:151
    420444msgid "Update payment status"
    421445msgstr "Оновити статус платежу"
    422446
    423 #: includes/class.gateway.php:273 includes/class.gateway.php:286
     447#: includes/class.gateway.php:276 includes/class.gateway.php:289
    424448msgid "Use Ctrl for multiple choices"
    425449msgstr "Натисніть Ctrl, щоб обрати декілька варіантів"
    426450
    427 #: includes/class.gateway.php:645
     451#: includes/class.gateway.php:648
    428452#| msgid ""
    429453#| "Wrong answer from monopay.<br/><a class=\"mono-code-toggle\">API "
     
    436460"Відповідь API</a><pre class=\"mono-api-answer\">%s</pre>"
    437461
    438 #: includes/class.gateway.php:88
     462#: includes/class.gateway.php:91
    439463msgid "Yes"
    440464msgstr "Так"
    441465
    442 #: includes/class.gateway.php:377
     466#: includes/class.gateway.php:380
    443467msgid "Your callback URL: %s"
    444468msgstr "Ваш URL колбеку: %s"
    445469
    446 #: includes/class.gateway.php:378
     470#: includes/class.gateway.php:381
    447471msgid "Your return URL: %s"
    448472msgstr "Ваш URL після успішної оплати (return URL): %s"
     
    456480"підключений інтернет-еквайринг від monobank"
    457481msgstr ""
     482"модуль Чекауту від monobank це спосіб автоматизувати процес оформлення "
     483"покупки на вашому сайті. Доступний функціонал: предзаповнення даних "
     484"отримувача, рекомендації по доставці та оплаті, всі доступні способи оплати "
     485"від monobank: еквайринг, Покупка частинами та оплата при отриманні. Має бути "
     486"підключений інтернет-еквайринг від monobank"
  • mono-checkout/trunk/languages/mono-checkout.pot

    r3045127 r3098419  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: mono checkout 1.8.0\n"
     5"Project-Id-Version: mono checkout 1.8.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mono\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: 2024-02-29T09:49:07+00:00\n"
     12"POT-Creation-Date: 2024-03-11T13:29:23+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.8.1\n"
     
    3535msgstr ""
    3636
    37 #: includes/class.gateway.php:17
     37#: includes/class.gateway.php:20
    3838msgid "Go to mono checkout"
    3939msgstr ""
    4040
    41 #: includes/class.gateway.php:47
    42 #: includes/class.gateway.php:78
     41#: includes/class.gateway.php:50
     42#: includes/class.gateway.php:81
    4343msgid "Not authorized"
    4444msgstr ""
    4545
    4646#: includes/class.gateway.php:55
    47 #: includes/class.gateway.php:79
     47msgid "Not authorized <span class=\"count\">(%s)</span>"
     48msgstr ""
     49
     50#: includes/class.gateway.php:58
     51#: includes/class.gateway.php:82
    4852msgid "Not confirmed"
    4953msgstr ""
    5054
    5155#: includes/class.gateway.php:63
    52 #: includes/class.gateway.php:80
    53 #: includes/class.gateway.php:331
     56msgid "Not confirmed <span class=\"count\">(%s)</span>"
     57msgstr ""
     58
     59#: includes/class.gateway.php:66
     60#: includes/class.gateway.php:83
     61#: includes/class.gateway.php:334
    5462msgid "Payment on delivery"
    5563msgstr ""
    5664
    57 #: includes/class.gateway.php:88
     65#: includes/class.gateway.php:71
     66msgid "Payment on delivery <span class=\"count\">(%s)</span>"
     67msgstr ""
     68
     69#: includes/class.gateway.php:91
    5870msgid "Call client"
    5971msgstr ""
    6072
    61 #: includes/class.gateway.php:88
     73#: includes/class.gateway.php:91
    6274msgid "Yes"
    6375msgstr ""
    6476
    65 #: includes/class.gateway.php:88
     77#: includes/class.gateway.php:91
    6678msgid "No"
    6779msgstr ""
    6880
    69 #: includes/class.gateway.php:98
     81#: includes/class.gateway.php:101
    7082msgid "Region"
    7183msgstr ""
    7284
    73 #: includes/class.gateway.php:99
    74 #: includes/class.gateway.php:101
     85#: includes/class.gateway.php:102
     86#: includes/class.gateway.php:104
    7587msgid "copy code"
    7688msgstr ""
    7789
    78 #: includes/class.gateway.php:100
     90#: includes/class.gateway.php:103
    7991msgid "City"
    8092msgstr ""
    8193
    82 #: includes/class.gateway.php:109
    83 #: includes/class.gateway.php:148
     94#: includes/class.gateway.php:112
     95#: includes/class.gateway.php:151
    8496msgid "Update payment status"
    8597msgstr ""
    8698
    87 #: includes/class.gateway.php:127
    88 #: includes/class.gateway.php:606
     99#: includes/class.gateway.php:130
     100#: includes/class.gateway.php:609
    89101msgid "Technical error"
    90102msgstr ""
    91103
    92 #: includes/class.gateway.php:196
     104#: includes/class.gateway.php:199
    93105msgid "Enable module"
    94106msgstr ""
    95107
    96 #: includes/class.gateway.php:202
     108#: includes/class.gateway.php:205
    97109msgid "Token"
    98110msgstr ""
    99111
    100 #: includes/class.gateway.php:204
     112#: includes/class.gateway.php:207
    101113msgid "API token from mono checkout. Get your token at <a href=\"https://web.monobank.ua/\" target=\"_blank\">web.monobank.ua</a>"
    102114msgstr ""
    103115
    104 #: includes/class.gateway.php:209
     116#: includes/class.gateway.php:212
    105117msgid "Order prefix"
    106118msgstr ""
    107119
    108 #: includes/class.gateway.php:211
     120#: includes/class.gateway.php:214
    109121msgid "Prepended to order numbers to distinguish between different stores."
    110122msgstr ""
    111123
    112 #: includes/class.gateway.php:221
     124#: includes/class.gateway.php:219
     125msgid "Checkout description"
     126msgstr ""
     127
     128#: includes/class.gateway.php:224
    113129msgid "Enable on checkout"
    114130msgstr ""
    115131
    116 #: includes/class.gateway.php:227
     132#: includes/class.gateway.php:230
    117133msgid "Checkout button width (px)"
    118134msgstr ""
    119135
    120 #: includes/class.gateway.php:231
     136#: includes/class.gateway.php:234
    121137msgid "Checkout button height (px)"
    122138msgstr ""
    123139
    124 #: includes/class.gateway.php:235
     140#: includes/class.gateway.php:238
    125141msgid "Enable on product details"
    126142msgstr ""
    127143
    128 #: includes/class.gateway.php:241
     144#: includes/class.gateway.php:244
    129145msgid "Product details button width (px)"
    130146msgstr ""
    131147
    132 #: includes/class.gateway.php:245
     148#: includes/class.gateway.php:248
    133149msgid "Product details button height (px)"
    134150msgstr ""
    135151
    136 #: includes/class.gateway.php:249
     152#: includes/class.gateway.php:252
    137153msgid "Enable in cart"
    138154msgstr ""
    139155
    140 #: includes/class.gateway.php:255
     156#: includes/class.gateway.php:258
    141157msgid "Cart button width (px)"
    142158msgstr ""
    143159
    144 #: includes/class.gateway.php:259
     160#: includes/class.gateway.php:262
    145161msgid "Cart button height (px)"
    146162msgstr ""
    147163
    148 #: includes/class.gateway.php:263
     164#: includes/class.gateway.php:266
    149165msgid "Button style"
    150166msgstr ""
    151167
    152 #: includes/class.gateway.php:269
     168#: includes/class.gateway.php:272
    153169msgid "Delivery options"
    154170msgstr ""
    155171
    156 #: includes/class.gateway.php:273
    157 #: includes/class.gateway.php:286
     172#: includes/class.gateway.php:276
     173#: includes/class.gateway.php:289
    158174msgid "Use Ctrl for multiple choices"
    159175msgstr ""
    160176
    161 #: includes/class.gateway.php:276
     177#: includes/class.gateway.php:279
    162178msgid "Free delivery from"
    163179msgstr ""
    164180
    165 #: includes/class.gateway.php:279
     181#: includes/class.gateway.php:282
    166182msgid "Free delivery from this order subtotal. Empty for paid delivery."
    167183msgstr ""
    168184
    169 #: includes/class.gateway.php:282
     185#: includes/class.gateway.php:285
    170186msgid "Payment methods"
    171187msgstr ""
    172188
    173 #: includes/class.gateway.php:289
     189#: includes/class.gateway.php:292
    174190msgid "Number of payments"
    175191msgstr ""
    176192
    177 #: includes/class.gateway.php:292
     193#: includes/class.gateway.php:295
    178194msgid "Number of payments for Purchase in parts."
    179195msgstr ""
    180196
    181 #: includes/class.gateway.php:295
     197#: includes/class.gateway.php:298
    182198msgid "Base URL"
    183199msgstr ""
    184200
    185 #: includes/class.gateway.php:297
     201#: includes/class.gateway.php:300
    186202msgid "Base URL for mono checkout API."
    187203msgstr ""
    188204
    189 #: includes/class.gateway.php:320
     205#: includes/class.gateway.php:323
    190206msgid "Pickup"
    191207msgstr ""
    192208
    193 #: includes/class.gateway.php:321
     209#: includes/class.gateway.php:324
    194210msgid "Courier"
    195211msgstr ""
    196212
    197 #: includes/class.gateway.php:322
     213#: includes/class.gateway.php:325
    198214msgid "Nova Poshta"
    199215msgstr ""
    200216
    201 #: includes/class.gateway.php:323
     217#: includes/class.gateway.php:326
    202218msgid "NP Postbox"
    203219msgstr ""
    204220
    205 #: includes/class.gateway.php:330
     221#: includes/class.gateway.php:333
    206222msgid "Card"
    207223msgstr ""
    208224
    209 #: includes/class.gateway.php:332
     225#: includes/class.gateway.php:335
    210226msgid "Purchase in parts"
    211227msgstr ""
    212228
    213 #: includes/class.gateway.php:348
     229#: includes/class.gateway.php:351
    214230msgid "Pending payment"
    215231msgstr ""
    216232
    217233#: includes/class.gateway.php:375
     234msgid "Need help? Check out our FAQ or contact our support."
     235msgstr ""
     236
     237#: includes/class.gateway.php:378
    218238msgid "To get token, please, send request in your monobank app and then visit <a href=\"https://web.monobank.ua/\" target=\"_blank\">web.monobank.ua</a>"
    219239msgstr ""
    220240
    221 #: includes/class.gateway.php:376
     241#: includes/class.gateway.php:379
    222242msgid "More details on <a href=\"https://www.monobank.ua/\" target=\"_blank\">monobank.ua</a>"
    223243msgstr ""
    224244
    225 #: includes/class.gateway.php:377
     245#: includes/class.gateway.php:380
    226246msgid "Your callback URL: %s"
    227247msgstr ""
    228248
    229 #: includes/class.gateway.php:378
     249#: includes/class.gateway.php:381
    230250msgid "Your return URL: %s"
    231251msgstr ""
    232252
    233 #: includes/class.gateway.php:381
     253#: includes/class.gateway.php:384
    234254msgid "Get your monobank app now:"
    235255msgstr ""
    236256
    237 #: includes/class.gateway.php:401
     257#: includes/class.gateway.php:404
    238258msgid "Statuses of mono checkout orders:"
    239259msgstr ""
    240260
    241 #: includes/class.gateway.php:416
     261#: includes/class.gateway.php:419
    242262msgid "<strong>Important:</strong> mono checkout does not support orders with coupons."
    243263msgstr ""
    244264
    245 #: includes/class.gateway.php:420
     265#: includes/class.gateway.php:423
    246266msgid "Settings"
    247267msgstr ""
    248268
    249 #: includes/class.gateway.php:431
     269#: includes/class.gateway.php:434
    250270msgid "Frequent errors"
    251271msgstr ""
    252272
    253 #: includes/class.gateway.php:433
    254 #: includes/class.gateway.php:608
     273#: includes/class.gateway.php:436
     274#: includes/class.gateway.php:611
    255275msgid "Fill in your mono checkout Token."
    256276msgstr ""
    257277
    258 #: includes/class.gateway.php:434
     278#: includes/class.gateway.php:437
    259279msgid "Please, get your token at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    260280msgstr ""
    261281
    262 #: includes/class.gateway.php:435
     282#: includes/class.gateway.php:438
     283#: includes/class.gateway.php:616
     284msgid "Check your mono checkout Token."
     285msgstr ""
     286
     287#: includes/class.gateway.php:439
     288msgid "Please, make sure you used correct token from <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
     289msgstr ""
     290
     291#: includes/class.gateway.php:440
     292msgid "Payment method X is not available for your store."
     293msgstr ""
     294
     295#: includes/class.gateway.php:441
     296msgid "Please, contact our support at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a> to enable corresponding payment method for your account. You can disable it temporarily to keep using mono checkout."
     297msgstr ""
     298
     299#: includes/class.gateway.php:442
     300msgid "Delivery method X is not available for your store."
     301msgstr ""
     302
     303#: includes/class.gateway.php:443
     304msgid "Please, contact our support at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a> to enable corresponding delivery method for your account. You can disable it temporarily to keep using mono checkout."
     305msgstr ""
     306
     307#: includes/class.gateway.php:444
     308#: includes/class.gateway.php:639
     309msgid "Checkout is disabled in your account."
     310msgstr ""
     311
     312#: includes/class.gateway.php:445
     313msgid "Please, enable your checkout in your account at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
     314msgstr ""
     315
    263316#: includes/class.gateway.php:613
    264 msgid "Check your mono checkout Token."
    265 msgstr ""
    266 
    267 #: includes/class.gateway.php:436
    268 msgid "Please, make sure you used correct token from <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    269 msgstr ""
    270 
    271 #: includes/class.gateway.php:437
    272 msgid "Payment method X is not available for your store."
    273 msgstr ""
    274 
    275 #: includes/class.gateway.php:438
    276 msgid "Please, contact our support at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a> to enable corresponding payment method for your account. You can disable it temporarily to keep using mono checkout."
    277 msgstr ""
    278 
    279 #: includes/class.gateway.php:439
    280 msgid "Delivery method X is not available for your store."
    281 msgstr ""
    282 
    283 #: includes/class.gateway.php:440
    284 msgid "Please, contact our support at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a> to enable corresponding delivery method for your account. You can disable it temporarily to keep using mono checkout."
    285 msgstr ""
    286 
    287 #: includes/class.gateway.php:441
     317#: includes/class.gateway.php:618
     318#: includes/class.gateway.php:627
    288319#: includes/class.gateway.php:636
    289 msgid "Checkout is disabled in your account."
    290 msgstr ""
    291 
    292 #: includes/class.gateway.php:442
    293 msgid "Please, enable your checkout in your account at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    294 msgstr ""
    295 
    296 #: includes/class.gateway.php:610
    297 #: includes/class.gateway.php:615
    298 #: includes/class.gateway.php:624
    299 #: includes/class.gateway.php:633
    300 #: includes/class.gateway.php:638
     320#: includes/class.gateway.php:641
    301321msgid "More info"
    302322msgstr ""
    303323
    304 #: includes/class.gateway.php:622
     324#: includes/class.gateway.php:625
    305325msgid "Payment method \"%s\" is not available for your store."
    306326msgstr ""
    307327
    308 #: includes/class.gateway.php:631
     328#: includes/class.gateway.php:634
    309329msgid "Delivery method \"%s\" is not available for your store."
    310330msgstr ""
    311331
    312 #: includes/class.gateway.php:641
    313 #: includes/class.gateway.php:657
    314 #: includes/class.gateway.php:674
     332#: includes/class.gateway.php:644
     333#: includes/class.gateway.php:660
     334#: includes/class.gateway.php:677
    315335msgid "Payment error: %s"
    316336msgstr ""
    317337
    318 #: includes/class.gateway.php:645
     338#: includes/class.gateway.php:648
    319339msgid "Wrong answer from mono checkout.<br/><a class=\"mono-code-toggle\">API answer</a><pre class=\"mono-api-answer\">%s</pre>"
    320340msgstr ""
    321341
    322 #: includes/class.gateway.php:661
     342#: includes/class.gateway.php:664
    323343msgid "mono checkout declined order: %1$s<br/><a class=\"mono-code-toggle\">API answer</a><pre class=\"mono-api-answer\">%2$s</pre>"
    324344msgstr ""
    325345
    326 #: includes/class.gateway.php:678
     346#: includes/class.gateway.php:681
    327347msgid "mono checkout declined order: %1$s (code: %2$s)<br/><a class=\"mono-code-toggle\">API answer</a><pre class=\"mono-api-answer\">%3$s</pre>"
    328348msgstr ""
    329349
    330 #: includes/class.gateway.php:696
     350#: includes/class.gateway.php:699
    331351msgid "mono ID: <strong>%1$s</strong><br/><a href=\"%2$s\" target=\"_blank\">Checkout link</a><br/><a class=\"mono-code-toggle\">API answer</a><pre class=\"mono-api-answer\">%3$s</pre>"
    332352msgstr ""
    333353
    334 #: includes/class.gateway.php:743
     354#: includes/class.gateway.php:758
    335355msgid "mono checkout status update:<strong>%1$s</strong><br/><a class=\"mono-code-toggle\">API answer</a><pre class=\"mono-api-answer\">%2$s</pre>"
    336356msgstr ""
     
    349369msgstr ""
    350370
     371#: includes/class.mono.php:312
     372msgid "mono checkout does not support order with coupons"
     373msgstr ""
     374
    351375#: includes/class.mono.php:393
    352376msgid "This payment method is not applicable to orders with coupons."
  • mono-checkout/trunk/mono.php

    r3047124 r3098419  
    77Plugin URI: https://checkout.mono.bank/woocomerce
    88Description: модуль Чекауту від monobank це спосіб автоматизувати процес оформлення покупки на вашому сайті. Доступний функціонал: предзаповнення даних отримувача, рекомендації по доставці та оплаті, всі доступні способи оплати від monobank: еквайринг, Покупка частинами та оплата при отриманні. Має бути підключений інтернет-еквайринг від monobank
    9 Version: 1.8.1
     9Version: 1.8.2
    1010Requires at least: 5.8
    1111Requires PHP: 7.4
     
    1818if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    1919
    20 define( 'MONO_VERSION', '1.8.0' );
     20define( 'MONO_VERSION', '1.8.2' );
    2121define( 'MONO__MINIMUM_WP_VERSION', '5.8' );
    2222define( 'MONO__PLUGIN_FILE', __FILE__ );
  • mono-checkout/trunk/readme.txt

    r3047124 r3098419  
    44Requires at least: 5.8
    55Tested up to: 6.4
    6 Stable tag: 1.8.1
     6Stable tag: 1.8.2
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    5050== Changelog ==
    5151
     52= 1.8.2 =
     53* Виправлення платіжної адреси в імейлі про замовлення при доставці у відділення або поштомат Нової Пошти
     54
    5255= 1.8.1 =
    5356* Покращення безпеки
Note: See TracChangeset for help on using the changeset viewer.