Plugin Directory

Changeset 3249513


Ignore:
Timestamp:
03/03/2025 08:56:24 AM (13 months ago)
Author:
monobank
Message:

Version 1.10.0

Location:
mono-checkout
Files:
8 added
6 edited
22 copied

Legend:

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

    r3242725 r3249513  
    4343
    4444            add_action( 'admin_enqueue_scripts', [$this, 'admin_scripts'] );
     45
     46            add_filter( 'woocommerce_product_data_tabs', [ $this, 'product_data_tabs' ]);
     47            add_action( 'woocommerce_product_data_panels', [ $this, 'product_data_panels' ]);
     48            add_action( 'woocommerce_process_product_meta', [ $this, 'product_data_save' ]);
    4549        }
    4650    }
     
    221225    }
    222226
     227    public function product_data_tabs( $tabs ) {
     228        $tabs['monocheckout'] = [
     229            'label'    => __( 'mono checkout', 'mono-checkout' ),
     230            'target'   => 'monocheckout_product_data',
     231            'class'    => array(  ),
     232            'priority' => 80,
     233        ];
     234        return $tabs;
     235    }
     236
     237    public function product_data_panels() {
     238        global $post, $thepostid, $product_object;
     239        include __DIR__ . '/../templates/wooommerce/admin/product/html-product-data-monocheckout.php';
     240    }
     241
     242    public function product_data_save($post_id) {
     243        // Custom Product Text Field
     244        $payment_method = $_POST['_monocheckout_payment_method'];
     245        update_post_meta($post_id, '_monocheckout_payment_method', esc_attr(implode(',', $payment_method)));
     246        $shipping_method = $_POST['_monocheckout_shipping_method'];
     247        update_post_meta($post_id, '_monocheckout_shipping_method', esc_attr(implode(',', $shipping_method)));
     248    }
     249
    223250    public function init_form_fields()
    224251    {
     
    368395    }
    369396
    370     protected function getShippingOptions()
     397    public function getShippingOptions()
    371398    {
    372399        return [
     
    378405    }
    379406
    380     protected function getPaymentMethods()
     407    public function getPaymentMethods()
    381408    {
    382409        return [
     
    590617        $products = [];
    591618        $hasShipping = false;
     619        $individualPaymentMethods = array_keys($this->getPaymentMethods());
     620        $individualShippingMethods = array_keys($this->getShippingOptions());
    592621        foreach ($order->get_items() as $item) {
    593622            $count+= $item->get_quantity();
     
    606635                    "product_img_src" => $this->get_product_image($product),
    607636                ];
     637                $parent = wp_get_post_parent_id($product->get_id());
    608638                if (!$product->is_virtual()) {
    609639                    $hasShipping = true;
    610                 }
     640                    $individualShippingMethods = array_intersect($individualShippingMethods, self::get_product_shipping_options($parent?:$product->get_id()));
     641                } else {
     642                    $individualShippingMethods = [];
     643                }
     644                $individualPaymentMethods = array_intersect($individualPaymentMethods, self::get_product_payment_options($parent?:$product->get_id()));
    611645            }
    612646        }
     
    619653        }
    620654
    621         $delivery_methods = $this->get_option('delivery_methods');
     655        $delivery_methods = array_values(array_unique(array_merge($this->get_option('delivery_methods'), $individualShippingMethods)));
    622656        $free_delivery_from = $this->get_option('free_delivery_from');
    623         $payment_methods = $this->get_option('payment_methods');
     657        $payment_methods = array_values(array_unique(array_merge($this->get_option('payment_methods'), $individualPaymentMethods)));
    624658        $payments_number = $this->get_option('payments_number');
    625659
     
    957991        $order->save();
    958992    }
     993
     994    public static function get_product_shipping_options( $product_id ) {
     995        return explode(',', get_post_meta($product_id, '_monocheckout_shipping_method', true) ?: '');
     996    }
     997
     998    public static function get_product_payment_options( $product_id ) {
     999        return explode(',', get_post_meta($product_id, '_monocheckout_payment_method', true) ?: '');
     1000    }
    9591001}
  • mono-checkout/tags/1.10.0/languages/mono-checkout-uk.po

    r3242725 r3249513  
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"POT-Creation-Date: 2023-10-25T00:58:42+03:00\n"
    13 "PO-Revision-Date: 2025-02-18 07:51+0000\n"
     13"PO-Revision-Date: 2025-02-28 07:55+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:469
     21#: includes/class.gateway.php:496
    2222msgid ""
    2323"<strong>Important:</strong> mono checkout does not support orders with "
     
    2525msgstr ""
    2626"<strong>Важливо:</strong> mono чекаут не підтримує замовлення з купонами."
     27
     28#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:17
     29msgid "Additional payment methods"
     30msgstr "Додаткові методи оплати"
     31
     32#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:29
     33msgid "Additional shipping methods"
     34msgstr "Додаткові методи доставки"
    2735
    2836#: includes/class.mono.php:180 includes/class.mono.php:181
     
    3038msgstr "Відповідь API"
    3139
    32 #: includes/class.gateway.php:236
     40#: includes/class.gateway.php:263
    3341#| msgid ""
    3442#| "API token from monopay. Get your token at <a href=\"https://web.monobank."
     
    4149"monobank.ua/\" target=\"_blank\">web.monobank.ua</a>"
    4250
    43 #: includes/class.gateway.php:334
     51#: includes/class.gateway.php:361
    4452msgid "Automatically complete \"Cash on delivery\" orders"
    4553msgstr "Автоматично закривати замовленням з оплатою при доставці"
    4654
    47 #: includes/class.gateway.php:327
     55#: includes/class.gateway.php:354
    4856msgid "Automatically complete paid monocheckout orders"
    4957msgstr "Автоматично ставити статус \"Виконано\" сплаченим замовленням"
    5058
    51 #: includes/class.gateway.php:341
     59#: includes/class.gateway.php:368
    5260msgid "Automatically fail unpaid orders"
    5361msgstr "Автоматично скасовувати несплачені замовлення"
    5462
    55 #: includes/class.gateway.php:348
     63#: includes/class.gateway.php:375
    5664msgid "Base URL"
    5765msgstr "Базовий URL"
    5866
    59 #: includes/class.gateway.php:350
     67#: includes/class.gateway.php:377
    6068msgid "Base URL for mono checkout API."
    6169msgstr "Базовий URL для API mono checkout"
    6270
    63 #: includes/class.gateway.php:295
     71#: includes/class.gateway.php:322
    6472msgid "Button style"
    6573msgstr "Стиль кнопки"
     
    6977msgstr "Оформити через mono checkout"
    7078
    71 #: includes/class.gateway.php:93
     79#: includes/class.gateway.php:97
    7280msgid "Call client"
    7381msgstr "Передзвонити клієнту"
    7482
    75 #: includes/class.gateway.php:383
     83#: includes/class.gateway.php:410
    7684msgid "Card"
    7785msgstr "Картка"
    7886
    79 #: includes/class.gateway.php:291
     87#: includes/class.gateway.php:318
    8088msgid "Cart button height (px)"
    8189msgstr "Висота кнопки в кошику (px)"
    8290
    83 #: includes/class.gateway.php:287
     91#: includes/class.gateway.php:314
    8492msgid "Cart button width (px)"
    8593msgstr "Ширина кнопки в кошику (px)"
    8694
    87 #: includes/class.gateway.php:488 includes/class.gateway.php:666
     95#: includes/class.gateway.php:515 includes/class.gateway.php:698
    8896msgid "Check your mono checkout Token."
    8997msgstr "Будь-ласка, перевірте Токен чекауту для Вашого магазину."
    9098
    91 #: includes/class.gateway.php:263
     99#: includes/class.gateway.php:290
    92100msgid "Checkout button height (px)"
    93101msgstr "Висота кнопки на чекауті (px)"
    94102
    95 #: includes/class.gateway.php:259
     103#: includes/class.gateway.php:286
    96104msgid "Checkout button width (px)"
    97105msgstr "Ширина кнопки на чекауті (px)"
    98106
    99 #: includes/class.gateway.php:248
     107#: includes/class.gateway.php:275
    100108msgid "Checkout description"
    101109msgstr "Опис"
    102110
    103 #: includes/class.gateway.php:494 includes/class.gateway.php:689
     111#: includes/class.gateway.php:521 includes/class.gateway.php:721
    104112msgid "Checkout is disabled in your account."
    105113msgstr "Чекаут відключений у Вашому аккаунті."
    106114
    107 #: includes/class.gateway.php:112
     115#: includes/class.gateway.php:116
    108116msgid "City"
    109117msgstr "Місто"
    110118
    111 #: includes/class.gateway.php:100
     119#: includes/class.gateway.php:104
    112120msgid "Comments"
    113121msgstr "Коментар"
    114122
    115 #: includes/class.gateway.php:111 includes/class.gateway.php:113
     123#: includes/class.gateway.php:115 includes/class.gateway.php:117
    116124msgid "copy code"
    117125msgstr "скопіювати код"
    118126
    119 #: includes/class.gateway.php:374
     127#: includes/class.gateway.php:401
    120128msgid "Courier"
    121129msgstr "Кур'єр"
    122130
    123 #: includes/class.gateway.php:684
     131#: includes/class.gateway.php:716
    124132msgid "Delivery method \"%s\" is not available for your store."
    125133msgstr "Спосіб доставки \"%s\" недоступний для Вашого магазину."
    126134
    127 #: includes/class.gateway.php:492
     135#: includes/class.gateway.php:519
    128136msgid "Delivery method X is not available for your store."
    129137msgstr "Спосіб доставки X недоступний для Вашого магазину."
    130138
    131 #: includes/class.gateway.php:301
     139#: includes/class.gateway.php:328
    132140msgid "Delivery options"
    133141msgstr "Методи доставки"
    134142
    135 #: includes/class.gateway.php:281
     143#: includes/class.gateway.php:308
    136144msgid "Enable in cart"
    137145msgstr "Відобразити в кошику"
    138146
    139 #: includes/class.gateway.php:228
     147#: includes/class.gateway.php:255
    140148msgid "Enable module"
    141149msgstr "Активувати модуль"
    142150
    143 #: includes/class.gateway.php:253
     151#: includes/class.gateway.php:280
    144152msgid "Enable on checkout"
    145153msgstr "Відобразити на чекауті"
    146154
    147 #: includes/class.gateway.php:267
     155#: includes/class.gateway.php:294
    148156msgid "Enable on product details"
    149157msgstr "Відобразити на деталях продукту"
    150158
    151 #: includes/class.gateway.php:486 includes/class.gateway.php:661
     159#: includes/class.gateway.php:513 includes/class.gateway.php:693
    152160msgid "Fill in your mono checkout Token."
    153161msgstr "Будь-ласка, заповніть Токен чекауту для Вашого магазину."
    154162
    155 #: includes/class.gateway.php:308
     163#: includes/class.gateway.php:335
    156164msgid "Free delivery from"
    157165msgstr "Безкоштовна доставка від"
    158166
    159 #: includes/class.gateway.php:311
     167#: includes/class.gateway.php:338
    160168msgid "Free delivery from this order subtotal. Empty for paid delivery."
    161169msgstr ""
     
    163171"доставки."
    164172
    165 #: includes/class.gateway.php:484
     173#: includes/class.gateway.php:511
    166174msgid "Frequent errors"
    167175msgstr "Часті помилки"
     
    171179msgstr "Загальна помилка"
    172180
    173 #: includes/class.gateway.php:434
     181#: includes/class.gateway.php:461
    174182msgid "Get your monobank app now:"
    175183msgstr "Скачайте додаток monobank"
     
    192200
    193201#. Plugin Name of the plugin
     202#: includes/class.gateway.php:229
    194203#| msgid "monobank checkout"
    195204msgid "mono checkout"
    196205msgstr "Оформлення через mono checkout"
    197206
    198 #: includes/class.gateway.php:731
     207#: includes/class.gateway.php:763
    199208#| msgid ""
    200209#| "monopay declined order: %1$s (code: %2$s)<br/><a class=\"mono-code-"
     
    207216"code-toggle\">Відповідь API</a><pre class=\"mono-api-answer\">%3$s</pre>"
    208217
    209 #: includes/class.gateway.php:714
     218#: includes/class.gateway.php:746
    210219#| msgid ""
    211220#| "monopay declined order: %1$s<br/><a class=\"mono-code-toggle\">API "
     
    222231msgstr "mono чекаут не підтримує замовлення з купонами"
    223232
    224 #: includes/class.gateway.php:826
     233#: includes/class.gateway.php:858
    225234#| msgid ""
    226235#| "monopay status update:<strong>%1$s</strong><br/><a class=\"mono-code-"
     
    244253"cPanel</a>)"
    245254
    246 #: includes/class.gateway.php:749
     255#: includes/class.gateway.php:781
    247256msgid ""
    248257"mono ID: <strong>%1$s</strong><br/><a href=\"%2$s\" target=\"_blank\">"
     
    254263"<pre class=\"mono-api-answer\">%3$s</pre>"
    255264
    256 #: includes/class.gateway.php:345
     265#: includes/class.gateway.php:372
    257266msgid ""
    258267"mono orders that haven't been paid in 30 minutes will become failed. The "
     
    272281msgstr "monobank"
    273282
    274 #: includes/class.gateway.php:429
     283#: includes/class.gateway.php:456
    275284msgid ""
    276285"More details on <a href=\"https://www.monobank.ua/\" target=\"_blank\">"
     
    280289"monobank.ua</a>"
    281290
    282 #: includes/class.gateway.php:663 includes/class.gateway.php:668
    283 #: includes/class.gateway.php:677 includes/class.gateway.php:686
    284 #: includes/class.gateway.php:691
     291#: includes/class.gateway.php:695 includes/class.gateway.php:700
     292#: includes/class.gateway.php:709 includes/class.gateway.php:718
     293#: includes/class.gateway.php:723
    285294msgid "More info"
    286295msgstr "Детальніше"
    287296
    288 #: includes/class.gateway.php:425
     297#: includes/class.gateway.php:452
    289298msgid "Need help? Check out our FAQ or contact our support."
    290299msgstr "Потрібна допомога? Подивіться наші ЧаПи або зверніться до підтримки."
    291300
    292 #: includes/class.gateway.php:93
     301#: includes/class.gateway.php:97
    293302msgid "No"
    294303msgstr "Ні"
    295304
    296 #: includes/class.gateway.php:52 includes/class.gateway.php:83
     305#: includes/class.gateway.php:56 includes/class.gateway.php:87
    297306msgid "Not authorized"
    298307msgstr "Не авторизоване"
    299308
    300 #: includes/class.gateway.php:57
     309#: includes/class.gateway.php:61
    301310msgid "Not authorized <span class=\"count\">(%s)</span>"
    302311msgstr "Не авторизоване <span class=\"count\">(%s)</span>"
    303312
    304 #: includes/class.gateway.php:60 includes/class.gateway.php:84
     313#: includes/class.gateway.php:64 includes/class.gateway.php:88
    305314msgid "Not confirmed"
    306315msgstr "Не підтверджене"
    307316
    308 #: includes/class.gateway.php:65
     317#: includes/class.gateway.php:69
    309318msgid "Not confirmed <span class=\"count\">(%s)</span>"
    310319msgstr "Не підтверджене <span class=\"count\">(%s)</span>"
    311320
    312 #: includes/class.gateway.php:375
     321#: includes/class.gateway.php:402
    313322msgid "Nova Poshta"
    314323msgstr "Нова Пошта"
    315324
    316 #: includes/class.gateway.php:376
     325#: includes/class.gateway.php:403
    317326msgid "NP Postbox"
    318327msgstr "Поштомат НП"
    319328
    320 #: includes/class.gateway.php:321
     329#: includes/class.gateway.php:348
    321330msgid "Number of payments"
    322331msgstr "Кількість платежів"
    323332
    324 #: includes/class.gateway.php:324
     333#: includes/class.gateway.php:351
    325334msgid "Number of payments for Purchase in parts."
    326335msgstr "Кількість платежів в покупці частинами"
    327336
    328 #: includes/class.gateway.php:241
     337#: includes/class.gateway.php:268
    329338msgid "Order prefix"
    330339msgstr "Префікс замовлення"
    331340
    332 #: includes/class.gateway.php:338
     341#: includes/class.gateway.php:365
    333342msgid ""
    334343"Orders with payment type \"Cash on delivery\" will automatically be "
     
    338347"\"Виконано\"."
    339348
    340 #: includes/class.gateway.php:331
     349#: includes/class.gateway.php:358
    341350msgid ""
    342351"Paid orders will automatically be transitioned to Completed status. However "
     
    346355"Однак замовлення з оплатою при доставці не автоматично закриті."
    347356
    348 #: includes/class.gateway.php:694 includes/class.gateway.php:710
    349 #: includes/class.gateway.php:727
     357#: includes/class.gateway.php:726 includes/class.gateway.php:742
     358#: includes/class.gateway.php:759
    350359msgid "Payment error: %s"
    351360msgstr "Помилка платежу: %s"
    352361
    353 #: includes/class.gateway.php:675
     362#: includes/class.gateway.php:707
    354363msgid "Payment method \"%s\" is not available for your store."
    355364msgstr "Платіжний метод \"%s\" недоступний для Вашого магазину."
    356365
    357 #: includes/class.gateway.php:490
     366#: includes/class.gateway.php:517
    358367msgid "Payment method X is not available for your store."
    359368msgstr "Платіжний метод X недоступний для Вашого магазину."
    360369
    361 #: includes/class.gateway.php:314
     370#: includes/class.gateway.php:341
    362371msgid "Payment methods"
    363372msgstr "Платіжні методи"
    364373
    365 #: includes/class.gateway.php:68 includes/class.gateway.php:85
    366 #: includes/class.gateway.php:384
     374#: includes/class.gateway.php:72 includes/class.gateway.php:89
     375#: includes/class.gateway.php:411
    367376msgid "Payment on delivery"
    368377msgstr "Оплата при отриманні"
    369378
    370 #: includes/class.gateway.php:73
     379#: includes/class.gateway.php:77
    371380msgid "Payment on delivery <span class=\"count\">(%s)</span>"
    372381msgstr "Оплата при отриманні <span class=\"count\">(%s)</span>"
    373382
    374 #: includes/class.gateway.php:401
     383#: includes/class.gateway.php:428
    375384msgid "Pending payment"
    376385msgstr "Очікування оплати"
    377386
    378 #: includes/class.gateway.php:373
     387#: includes/class.gateway.php:400
    379388msgid "Pickup"
    380389msgstr "Самовивіз"
    381390
    382 #: includes/class.gateway.php:493
     391#: includes/class.gateway.php:520
    383392msgid ""
    384393"Please, contact our support at <a href=\"https://web.monobank.ua\" "
     
    392401"в налаштуваннях чекауту."
    393402
    394 #: includes/class.gateway.php:491
     403#: includes/class.gateway.php:518
    395404#| msgid ""
    396405#| "Please, contact our support at <a href=\"https://web.monobank.ua\" "
     
    407416"в налаштуваннях чекауту."
    408417
    409 #: includes/class.gateway.php:495
     418#: includes/class.gateway.php:522
    410419msgid ""
    411420"Please, enable your checkout in your account at <a href=\"https://web."
     
    415424"monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    416425
    417 #: includes/class.gateway.php:487
     426#: includes/class.gateway.php:514
    418427msgid ""
    419428"Please, get your token at <a href=\"https://web.monobank.ua\" "
     
    423432"ua\" target=\"_blank\">web.monobank.ua</a>"
    424433
    425 #: includes/class.gateway.php:489
     434#: includes/class.gateway.php:516
    426435msgid ""
    427436"Please, make sure you used correct token from <a href=\"https://web.monobank."
     
    431440"href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    432441
    433 #: includes/class.gateway.php:243
     442#: includes/class.gateway.php:270
    434443msgid "Prepended to order numbers to distinguish between different stores."
    435444msgstr ""
    436445"Додається до номеру замовлення, щоб розрізняти замовлення з різних магазинів"
    437446
    438 #: includes/class.gateway.php:277
     447#: includes/class.gateway.php:304
    439448msgid "Product details button height (px)"
    440449msgstr "Висота кнопки на деталях продукту (px)"
    441450
    442 #: includes/class.gateway.php:273
     451#: includes/class.gateway.php:300
    443452msgid "Product details button width (px)"
    444453msgstr "Ширина кнопки на деталях продукту (px)"
    445454
    446 #: includes/class.gateway.php:385
     455#: includes/class.gateway.php:412
    447456msgid "Purchase in parts"
    448457msgstr "Покупка частинами"
    449458
    450 #: includes/class.gateway.php:110
     459#: includes/class.gateway.php:114
    451460msgid "Region"
    452461msgstr "Область"
    453462
    454 #: includes/class.gateway.php:473
     463#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:19
     464msgid ""
     465"Select multiple payment methods that are allowed for this specific product "
     466"in addition to the global ones."
     467msgstr ""
     468"Оберіть платіжні методи для цього продукту, як доповнення до загальних "
     469"методів."
     470
     471#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:31
     472msgid ""
     473"Select multiple shipping methods that are allowed for this specific product "
     474"in addition to the global ones."
     475msgstr ""
     476"Оберіть методи доставки для цього продукту, як доповнення до загальних "
     477"методів."
     478
     479#: includes/class.gateway.php:500
    455480msgid "Settings"
    456481msgstr "Налаштування"
    457482
    458 #: includes/class.gateway.php:454
     483#: includes/class.gateway.php:481
    459484msgid "Statuses of mono checkout orders:"
    460485msgstr "Статуси замовлень mono checkout:"
    461486
    462 #: includes/class.gateway.php:139 includes/class.gateway.php:659
     487#: includes/class.gateway.php:143 includes/class.gateway.php:691
    463488msgid "Technical error"
    464489msgstr "Технічна помилка"
     
    468493msgstr "Цей платіжний метод не підтримує замовлення з купонами."
    469494
    470 #: includes/class.gateway.php:428
     495#: includes/class.gateway.php:455
    471496msgid ""
    472497"To get token, please, send request in your monobank app and then visit <a "
     
    477502"web.monobank.ua</a>"
    478503
    479 #: includes/class.gateway.php:234
     504#: includes/class.gateway.php:261
    480505msgid "Token"
    481506msgstr "Токен"
    482507
    483 #: includes/class.gateway.php:121 includes/class.gateway.php:171
     508#: includes/class.gateway.php:125 includes/class.gateway.php:175
    484509msgid "Update payment status"
    485510msgstr "Оновити статус платежу"
    486511
    487 #: includes/class.gateway.php:305 includes/class.gateway.php:318
     512#: includes/class.gateway.php:332 includes/class.gateway.php:345
    488513msgid "Use Ctrl for multiple choices"
    489514msgstr "Натисніть Ctrl, щоб обрати декілька варіантів"
    490515
    491 #: includes/class.gateway.php:698
     516#: includes/class.gateway.php:730
    492517#| msgid ""
    493518#| "Wrong answer from monopay.<br/><a class=\"mono-code-toggle\">API "
     
    500525"Відповідь API</a><pre class=\"mono-api-answer\">%s</pre>"
    501526
    502 #: includes/class.gateway.php:93
     527#: includes/class.gateway.php:97
    503528msgid "Yes"
    504529msgstr "Так"
    505530
    506 #: includes/class.gateway.php:430
     531#: includes/class.gateway.php:457
    507532msgid "Your callback URL: %s"
    508533msgstr "Ваш URL колбеку: %s"
    509534
    510 #: includes/class.gateway.php:431
     535#: includes/class.gateway.php:458
    511536msgid "Your return URL: %s"
    512537msgstr "Ваш URL після успішної оплати (return URL): %s"
  • mono-checkout/tags/1.10.0/languages/mono-checkout.pot

    r3242725 r3249513  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: mono checkout 1.9.0\n"
     5"Project-Id-Version: mono checkout 1.10.0\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: 2025-02-18T07:46:55+00:00\n"
     12"POT-Creation-Date: 2025-02-28T07:53:27+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.8.1\n"
     
    1616
    1717#. Plugin Name of the plugin
     18#: includes/class.gateway.php:229
    1819msgid "mono checkout"
    1920msgstr ""
     
    3940msgstr ""
    4041
    41 #: includes/class.gateway.php:52
    42 #: includes/class.gateway.php:83
     42#: includes/class.gateway.php:56
     43#: includes/class.gateway.php:87
    4344msgid "Not authorized"
    4445msgstr ""
    4546
    46 #: includes/class.gateway.php:57
     47#: includes/class.gateway.php:61
    4748msgid "Not authorized <span class=\"count\">(%s)</span>"
    4849msgstr ""
    4950
    50 #: includes/class.gateway.php:60
    51 #: includes/class.gateway.php:84
     51#: includes/class.gateway.php:64
     52#: includes/class.gateway.php:88
    5253msgid "Not confirmed"
    5354msgstr ""
    5455
    55 #: includes/class.gateway.php:65
     56#: includes/class.gateway.php:69
    5657msgid "Not confirmed <span class=\"count\">(%s)</span>"
    5758msgstr ""
    5859
    59 #: includes/class.gateway.php:68
    60 #: includes/class.gateway.php:85
    61 #: includes/class.gateway.php:384
     60#: includes/class.gateway.php:72
     61#: includes/class.gateway.php:89
     62#: includes/class.gateway.php:411
    6263msgid "Payment on delivery"
    6364msgstr ""
    6465
    65 #: includes/class.gateway.php:73
     66#: includes/class.gateway.php:77
    6667msgid "Payment on delivery <span class=\"count\">(%s)</span>"
    6768msgstr ""
    6869
    69 #: includes/class.gateway.php:93
     70#: includes/class.gateway.php:97
    7071msgid "Call client"
    7172msgstr ""
    7273
    73 #: includes/class.gateway.php:93
     74#: includes/class.gateway.php:97
    7475msgid "Yes"
    7576msgstr ""
    7677
    77 #: includes/class.gateway.php:93
     78#: includes/class.gateway.php:97
    7879msgid "No"
    7980msgstr ""
    8081
    81 #: includes/class.gateway.php:100
     82#: includes/class.gateway.php:104
    8283msgid "Comments"
    8384msgstr ""
    8485
    85 #: includes/class.gateway.php:110
     86#: includes/class.gateway.php:114
    8687msgid "Region"
    8788msgstr ""
    8889
    89 #: includes/class.gateway.php:111
    90 #: includes/class.gateway.php:113
     90#: includes/class.gateway.php:115
     91#: includes/class.gateway.php:117
    9192msgid "copy code"
    9293msgstr ""
    9394
    94 #: includes/class.gateway.php:112
     95#: includes/class.gateway.php:116
    9596msgid "City"
    9697msgstr ""
    9798
    98 #: includes/class.gateway.php:121
    99 #: includes/class.gateway.php:171
     99#: includes/class.gateway.php:125
     100#: includes/class.gateway.php:175
    100101msgid "Update payment status"
    101102msgstr ""
    102103
    103 #: includes/class.gateway.php:139
    104 #: includes/class.gateway.php:659
     104#: includes/class.gateway.php:143
     105#: includes/class.gateway.php:691
    105106msgid "Technical error"
    106107msgstr ""
    107108
    108 #: includes/class.gateway.php:228
     109#: includes/class.gateway.php:255
    109110msgid "Enable module"
    110111msgstr ""
    111112
    112 #: includes/class.gateway.php:234
     113#: includes/class.gateway.php:261
    113114msgid "Token"
    114115msgstr ""
    115116
    116 #: includes/class.gateway.php:236
     117#: includes/class.gateway.php:263
    117118msgid "API token from mono checkout. Get your token at <a href=\"https://web.monobank.ua/\" target=\"_blank\">web.monobank.ua</a>"
    118119msgstr ""
    119120
    120 #: includes/class.gateway.php:241
     121#: includes/class.gateway.php:268
    121122msgid "Order prefix"
    122123msgstr ""
    123124
    124 #: includes/class.gateway.php:243
     125#: includes/class.gateway.php:270
    125126msgid "Prepended to order numbers to distinguish between different stores."
    126127msgstr ""
    127128
    128 #: includes/class.gateway.php:248
     129#: includes/class.gateway.php:275
    129130msgid "Checkout description"
    130131msgstr ""
    131132
    132 #: includes/class.gateway.php:253
     133#: includes/class.gateway.php:280
    133134msgid "Enable on checkout"
    134135msgstr ""
    135136
    136 #: includes/class.gateway.php:259
     137#: includes/class.gateway.php:286
    137138msgid "Checkout button width (px)"
    138139msgstr ""
    139140
    140 #: includes/class.gateway.php:263
     141#: includes/class.gateway.php:290
    141142msgid "Checkout button height (px)"
    142143msgstr ""
    143144
    144 #: includes/class.gateway.php:267
     145#: includes/class.gateway.php:294
    145146msgid "Enable on product details"
    146147msgstr ""
    147148
    148 #: includes/class.gateway.php:273
     149#: includes/class.gateway.php:300
    149150msgid "Product details button width (px)"
    150151msgstr ""
    151152
    152 #: includes/class.gateway.php:277
     153#: includes/class.gateway.php:304
    153154msgid "Product details button height (px)"
    154155msgstr ""
    155156
    156 #: includes/class.gateway.php:281
     157#: includes/class.gateway.php:308
    157158msgid "Enable in cart"
    158159msgstr ""
    159160
    160 #: includes/class.gateway.php:287
     161#: includes/class.gateway.php:314
    161162msgid "Cart button width (px)"
    162163msgstr ""
    163164
    164 #: includes/class.gateway.php:291
     165#: includes/class.gateway.php:318
    165166msgid "Cart button height (px)"
    166167msgstr ""
    167168
    168 #: includes/class.gateway.php:295
     169#: includes/class.gateway.php:322
    169170msgid "Button style"
    170171msgstr ""
    171172
    172 #: includes/class.gateway.php:301
     173#: includes/class.gateway.php:328
    173174msgid "Delivery options"
    174175msgstr ""
    175176
    176 #: includes/class.gateway.php:305
    177 #: includes/class.gateway.php:318
     177#: includes/class.gateway.php:332
     178#: includes/class.gateway.php:345
    178179msgid "Use Ctrl for multiple choices"
    179180msgstr ""
    180181
    181 #: includes/class.gateway.php:308
     182#: includes/class.gateway.php:335
    182183msgid "Free delivery from"
    183184msgstr ""
    184185
    185 #: includes/class.gateway.php:311
     186#: includes/class.gateway.php:338
    186187msgid "Free delivery from this order subtotal. Empty for paid delivery."
    187188msgstr ""
    188189
    189 #: includes/class.gateway.php:314
     190#: includes/class.gateway.php:341
    190191msgid "Payment methods"
    191192msgstr ""
    192193
    193 #: includes/class.gateway.php:321
     194#: includes/class.gateway.php:348
    194195msgid "Number of payments"
    195196msgstr ""
    196197
    197 #: includes/class.gateway.php:324
     198#: includes/class.gateway.php:351
    198199msgid "Number of payments for Purchase in parts."
    199200msgstr ""
    200201
    201 #: includes/class.gateway.php:327
     202#: includes/class.gateway.php:354
    202203msgid "Automatically complete paid monocheckout orders"
    203204msgstr ""
    204205
    205 #: includes/class.gateway.php:331
     206#: includes/class.gateway.php:358
    206207msgid "Paid orders will automatically be transitioned to Completed status. However \"Cash on delivery\" orders will not be closed automatically."
    207208msgstr ""
    208209
    209 #: includes/class.gateway.php:334
     210#: includes/class.gateway.php:361
    210211msgid "Automatically complete \"Cash on delivery\" orders"
    211212msgstr ""
    212213
    213 #: includes/class.gateway.php:338
     214#: includes/class.gateway.php:365
    214215msgid "Orders with payment type \"Cash on delivery\" will automatically be transitioned to Completed status."
    215216msgstr ""
    216217
    217 #: includes/class.gateway.php:341
     218#: includes/class.gateway.php:368
    218219msgid "Automatically fail unpaid orders"
    219220msgstr ""
    220221
    221 #: includes/class.gateway.php:345
     222#: includes/class.gateway.php:372
    222223msgid "mono orders that haven't been paid in 30 minutes will become failed. The check is performed for orders placed in the last hour only."
    223224msgstr ""
    224225
    225 #: includes/class.gateway.php:348
     226#: includes/class.gateway.php:375
    226227msgid "Base URL"
    227228msgstr ""
    228229
    229 #: includes/class.gateway.php:350
     230#: includes/class.gateway.php:377
    230231msgid "Base URL for mono checkout API."
    231232msgstr ""
    232233
    233 #: includes/class.gateway.php:373
     234#: includes/class.gateway.php:400
    234235msgid "Pickup"
    235236msgstr ""
    236237
    237 #: includes/class.gateway.php:374
     238#: includes/class.gateway.php:401
    238239msgid "Courier"
    239240msgstr ""
    240241
    241 #: includes/class.gateway.php:375
     242#: includes/class.gateway.php:402
    242243msgid "Nova Poshta"
    243244msgstr ""
    244245
    245 #: includes/class.gateway.php:376
     246#: includes/class.gateway.php:403
    246247msgid "NP Postbox"
    247248msgstr ""
    248249
    249 #: includes/class.gateway.php:383
     250#: includes/class.gateway.php:410
    250251msgid "Card"
    251252msgstr ""
    252253
    253 #: includes/class.gateway.php:385
     254#: includes/class.gateway.php:412
    254255msgid "Purchase in parts"
    255256msgstr ""
    256257
    257 #: includes/class.gateway.php:401
     258#: includes/class.gateway.php:428
    258259msgid "Pending payment"
    259260msgstr ""
    260261
    261 #: includes/class.gateway.php:425
     262#: includes/class.gateway.php:452
    262263msgid "Need help? Check out our FAQ or contact our support."
    263264msgstr ""
    264265
    265 #: includes/class.gateway.php:428
     266#: includes/class.gateway.php:455
    266267msgid "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>"
    267268msgstr ""
    268269
    269 #: includes/class.gateway.php:429
     270#: includes/class.gateway.php:456
    270271msgid "More details on <a href=\"https://www.monobank.ua/\" target=\"_blank\">monobank.ua</a>"
    271272msgstr ""
    272273
    273 #: includes/class.gateway.php:430
     274#: includes/class.gateway.php:457
    274275msgid "Your callback URL: %s"
    275276msgstr ""
    276277
    277 #: includes/class.gateway.php:431
     278#: includes/class.gateway.php:458
    278279msgid "Your return URL: %s"
    279280msgstr ""
    280281
    281 #: includes/class.gateway.php:434
     282#: includes/class.gateway.php:461
    282283msgid "Get your monobank app now:"
    283284msgstr ""
    284285
    285 #: includes/class.gateway.php:454
     286#: includes/class.gateway.php:481
    286287msgid "Statuses of mono checkout orders:"
    287288msgstr ""
    288289
    289 #: includes/class.gateway.php:469
     290#: includes/class.gateway.php:496
    290291msgid "<strong>Important:</strong> mono checkout does not support orders with coupons."
    291292msgstr ""
    292293
    293 #: includes/class.gateway.php:473
     294#: includes/class.gateway.php:500
    294295msgid "Settings"
    295296msgstr ""
    296297
    297 #: includes/class.gateway.php:484
     298#: includes/class.gateway.php:511
    298299msgid "Frequent errors"
    299300msgstr ""
    300301
    301 #: includes/class.gateway.php:486
    302 #: includes/class.gateway.php:661
     302#: includes/class.gateway.php:513
     303#: includes/class.gateway.php:693
    303304msgid "Fill in your mono checkout Token."
    304305msgstr ""
    305306
    306 #: includes/class.gateway.php:487
     307#: includes/class.gateway.php:514
    307308msgid "Please, get your token at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    308309msgstr ""
    309310
    310 #: includes/class.gateway.php:488
    311 #: includes/class.gateway.php:666
     311#: includes/class.gateway.php:515
     312#: includes/class.gateway.php:698
    312313msgid "Check your mono checkout Token."
    313314msgstr ""
    314315
    315 #: includes/class.gateway.php:489
     316#: includes/class.gateway.php:516
    316317msgid "Please, make sure you used correct token from <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    317318msgstr ""
    318319
    319 #: includes/class.gateway.php:490
     320#: includes/class.gateway.php:517
    320321msgid "Payment method X is not available for your store."
    321322msgstr ""
    322323
    323 #: includes/class.gateway.php:491
     324#: includes/class.gateway.php:518
    324325msgid "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."
    325326msgstr ""
    326327
    327 #: includes/class.gateway.php:492
     328#: includes/class.gateway.php:519
    328329msgid "Delivery method X is not available for your store."
    329330msgstr ""
    330331
    331 #: includes/class.gateway.php:493
     332#: includes/class.gateway.php:520
    332333msgid "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."
    333334msgstr ""
    334335
    335 #: includes/class.gateway.php:494
    336 #: includes/class.gateway.php:689
     336#: includes/class.gateway.php:521
     337#: includes/class.gateway.php:721
    337338msgid "Checkout is disabled in your account."
    338339msgstr ""
    339340
    340 #: includes/class.gateway.php:495
     341#: includes/class.gateway.php:522
    341342msgid "Please, enable your checkout in your account at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    342343msgstr ""
    343344
    344 #: includes/class.gateway.php:663
    345 #: includes/class.gateway.php:668
    346 #: includes/class.gateway.php:677
    347 #: includes/class.gateway.php:686
    348 #: includes/class.gateway.php:691
     345#: includes/class.gateway.php:695
     346#: includes/class.gateway.php:700
     347#: includes/class.gateway.php:709
     348#: includes/class.gateway.php:718
     349#: includes/class.gateway.php:723
    349350msgid "More info"
    350351msgstr ""
    351352
    352 #: includes/class.gateway.php:675
     353#: includes/class.gateway.php:707
    353354msgid "Payment method \"%s\" is not available for your store."
    354355msgstr ""
    355356
    356 #: includes/class.gateway.php:684
     357#: includes/class.gateway.php:716
    357358msgid "Delivery method \"%s\" is not available for your store."
    358359msgstr ""
    359360
    360 #: includes/class.gateway.php:694
    361 #: includes/class.gateway.php:710
    362 #: includes/class.gateway.php:727
     361#: includes/class.gateway.php:726
     362#: includes/class.gateway.php:742
     363#: includes/class.gateway.php:759
    363364msgid "Payment error: %s"
    364365msgstr ""
    365366
    366 #: includes/class.gateway.php:698
     367#: includes/class.gateway.php:730
    367368msgid "Wrong answer from mono checkout.<br/><a class=\"mono-code-toggle\">API answer</a><pre class=\"mono-api-answer\">%s</pre>"
    368369msgstr ""
    369370
    370 #: includes/class.gateway.php:714
     371#: includes/class.gateway.php:746
    371372msgid "mono checkout declined order: %1$s<br/><a class=\"mono-code-toggle\">API answer</a><pre class=\"mono-api-answer\">%2$s</pre>"
    372373msgstr ""
    373374
    374 #: includes/class.gateway.php:731
     375#: includes/class.gateway.php:763
    375376msgid "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>"
    376377msgstr ""
    377378
    378 #: includes/class.gateway.php:749
     379#: includes/class.gateway.php:781
    379380msgid "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>"
    380381msgstr ""
    381382
    382 #: includes/class.gateway.php:826
     383#: includes/class.gateway.php:858
    383384msgid "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>"
    384385msgstr ""
     
    416417msgid "General error"
    417418msgstr ""
     419
     420#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:17
     421msgid "Additional payment methods"
     422msgstr ""
     423
     424#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:19
     425msgid "Select multiple payment methods that are allowed for this specific product in addition to the global ones."
     426msgstr ""
     427
     428#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:29
     429msgid "Additional shipping methods"
     430msgstr ""
     431
     432#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:31
     433msgid "Select multiple shipping methods that are allowed for this specific product in addition to the global ones."
     434msgstr ""
  • mono-checkout/tags/1.10.0/mono.php

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

    r3242725 r3249513  
    44Requires at least: 5.8
    55Tested up to: 6.7.2
    6 Stable tag: 1.9.1
     6Stable tag: 1.10.0
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    5454
    5555== Changelog ==
     56
     57= 1.10.0 =
     58* Індивідуальні методи оплати та доставки для товарів
    5659
    5760= 1.9.1 =
  • mono-checkout/trunk/includes/class.gateway.php

    r3242725 r3249513  
    4343
    4444            add_action( 'admin_enqueue_scripts', [$this, 'admin_scripts'] );
     45
     46            add_filter( 'woocommerce_product_data_tabs', [ $this, 'product_data_tabs' ]);
     47            add_action( 'woocommerce_product_data_panels', [ $this, 'product_data_panels' ]);
     48            add_action( 'woocommerce_process_product_meta', [ $this, 'product_data_save' ]);
    4549        }
    4650    }
     
    221225    }
    222226
     227    public function product_data_tabs( $tabs ) {
     228        $tabs['monocheckout'] = [
     229            'label'    => __( 'mono checkout', 'mono-checkout' ),
     230            'target'   => 'monocheckout_product_data',
     231            'class'    => array(  ),
     232            'priority' => 80,
     233        ];
     234        return $tabs;
     235    }
     236
     237    public function product_data_panels() {
     238        global $post, $thepostid, $product_object;
     239        include __DIR__ . '/../templates/wooommerce/admin/product/html-product-data-monocheckout.php';
     240    }
     241
     242    public function product_data_save($post_id) {
     243        // Custom Product Text Field
     244        $payment_method = $_POST['_monocheckout_payment_method'];
     245        update_post_meta($post_id, '_monocheckout_payment_method', esc_attr(implode(',', $payment_method)));
     246        $shipping_method = $_POST['_monocheckout_shipping_method'];
     247        update_post_meta($post_id, '_monocheckout_shipping_method', esc_attr(implode(',', $shipping_method)));
     248    }
     249
    223250    public function init_form_fields()
    224251    {
     
    368395    }
    369396
    370     protected function getShippingOptions()
     397    public function getShippingOptions()
    371398    {
    372399        return [
     
    378405    }
    379406
    380     protected function getPaymentMethods()
     407    public function getPaymentMethods()
    381408    {
    382409        return [
     
    590617        $products = [];
    591618        $hasShipping = false;
     619        $individualPaymentMethods = array_keys($this->getPaymentMethods());
     620        $individualShippingMethods = array_keys($this->getShippingOptions());
    592621        foreach ($order->get_items() as $item) {
    593622            $count+= $item->get_quantity();
     
    606635                    "product_img_src" => $this->get_product_image($product),
    607636                ];
     637                $parent = wp_get_post_parent_id($product->get_id());
    608638                if (!$product->is_virtual()) {
    609639                    $hasShipping = true;
    610                 }
     640                    $individualShippingMethods = array_intersect($individualShippingMethods, self::get_product_shipping_options($parent?:$product->get_id()));
     641                } else {
     642                    $individualShippingMethods = [];
     643                }
     644                $individualPaymentMethods = array_intersect($individualPaymentMethods, self::get_product_payment_options($parent?:$product->get_id()));
    611645            }
    612646        }
     
    619653        }
    620654
    621         $delivery_methods = $this->get_option('delivery_methods');
     655        $delivery_methods = array_values(array_unique(array_merge($this->get_option('delivery_methods'), $individualShippingMethods)));
    622656        $free_delivery_from = $this->get_option('free_delivery_from');
    623         $payment_methods = $this->get_option('payment_methods');
     657        $payment_methods = array_values(array_unique(array_merge($this->get_option('payment_methods'), $individualPaymentMethods)));
    624658        $payments_number = $this->get_option('payments_number');
    625659
     
    957991        $order->save();
    958992    }
     993
     994    public static function get_product_shipping_options( $product_id ) {
     995        return explode(',', get_post_meta($product_id, '_monocheckout_shipping_method', true) ?: '');
     996    }
     997
     998    public static function get_product_payment_options( $product_id ) {
     999        return explode(',', get_post_meta($product_id, '_monocheckout_payment_method', true) ?: '');
     1000    }
    9591001}
  • mono-checkout/trunk/languages/mono-checkout-uk.po

    r3242725 r3249513  
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"POT-Creation-Date: 2023-10-25T00:58:42+03:00\n"
    13 "PO-Revision-Date: 2025-02-18 07:51+0000\n"
     13"PO-Revision-Date: 2025-02-28 07:55+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:469
     21#: includes/class.gateway.php:496
    2222msgid ""
    2323"<strong>Important:</strong> mono checkout does not support orders with "
     
    2525msgstr ""
    2626"<strong>Важливо:</strong> mono чекаут не підтримує замовлення з купонами."
     27
     28#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:17
     29msgid "Additional payment methods"
     30msgstr "Додаткові методи оплати"
     31
     32#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:29
     33msgid "Additional shipping methods"
     34msgstr "Додаткові методи доставки"
    2735
    2836#: includes/class.mono.php:180 includes/class.mono.php:181
     
    3038msgstr "Відповідь API"
    3139
    32 #: includes/class.gateway.php:236
     40#: includes/class.gateway.php:263
    3341#| msgid ""
    3442#| "API token from monopay. Get your token at <a href=\"https://web.monobank."
     
    4149"monobank.ua/\" target=\"_blank\">web.monobank.ua</a>"
    4250
    43 #: includes/class.gateway.php:334
     51#: includes/class.gateway.php:361
    4452msgid "Automatically complete \"Cash on delivery\" orders"
    4553msgstr "Автоматично закривати замовленням з оплатою при доставці"
    4654
    47 #: includes/class.gateway.php:327
     55#: includes/class.gateway.php:354
    4856msgid "Automatically complete paid monocheckout orders"
    4957msgstr "Автоматично ставити статус \"Виконано\" сплаченим замовленням"
    5058
    51 #: includes/class.gateway.php:341
     59#: includes/class.gateway.php:368
    5260msgid "Automatically fail unpaid orders"
    5361msgstr "Автоматично скасовувати несплачені замовлення"
    5462
    55 #: includes/class.gateway.php:348
     63#: includes/class.gateway.php:375
    5664msgid "Base URL"
    5765msgstr "Базовий URL"
    5866
    59 #: includes/class.gateway.php:350
     67#: includes/class.gateway.php:377
    6068msgid "Base URL for mono checkout API."
    6169msgstr "Базовий URL для API mono checkout"
    6270
    63 #: includes/class.gateway.php:295
     71#: includes/class.gateway.php:322
    6472msgid "Button style"
    6573msgstr "Стиль кнопки"
     
    6977msgstr "Оформити через mono checkout"
    7078
    71 #: includes/class.gateway.php:93
     79#: includes/class.gateway.php:97
    7280msgid "Call client"
    7381msgstr "Передзвонити клієнту"
    7482
    75 #: includes/class.gateway.php:383
     83#: includes/class.gateway.php:410
    7684msgid "Card"
    7785msgstr "Картка"
    7886
    79 #: includes/class.gateway.php:291
     87#: includes/class.gateway.php:318
    8088msgid "Cart button height (px)"
    8189msgstr "Висота кнопки в кошику (px)"
    8290
    83 #: includes/class.gateway.php:287
     91#: includes/class.gateway.php:314
    8492msgid "Cart button width (px)"
    8593msgstr "Ширина кнопки в кошику (px)"
    8694
    87 #: includes/class.gateway.php:488 includes/class.gateway.php:666
     95#: includes/class.gateway.php:515 includes/class.gateway.php:698
    8896msgid "Check your mono checkout Token."
    8997msgstr "Будь-ласка, перевірте Токен чекауту для Вашого магазину."
    9098
    91 #: includes/class.gateway.php:263
     99#: includes/class.gateway.php:290
    92100msgid "Checkout button height (px)"
    93101msgstr "Висота кнопки на чекауті (px)"
    94102
    95 #: includes/class.gateway.php:259
     103#: includes/class.gateway.php:286
    96104msgid "Checkout button width (px)"
    97105msgstr "Ширина кнопки на чекауті (px)"
    98106
    99 #: includes/class.gateway.php:248
     107#: includes/class.gateway.php:275
    100108msgid "Checkout description"
    101109msgstr "Опис"
    102110
    103 #: includes/class.gateway.php:494 includes/class.gateway.php:689
     111#: includes/class.gateway.php:521 includes/class.gateway.php:721
    104112msgid "Checkout is disabled in your account."
    105113msgstr "Чекаут відключений у Вашому аккаунті."
    106114
    107 #: includes/class.gateway.php:112
     115#: includes/class.gateway.php:116
    108116msgid "City"
    109117msgstr "Місто"
    110118
    111 #: includes/class.gateway.php:100
     119#: includes/class.gateway.php:104
    112120msgid "Comments"
    113121msgstr "Коментар"
    114122
    115 #: includes/class.gateway.php:111 includes/class.gateway.php:113
     123#: includes/class.gateway.php:115 includes/class.gateway.php:117
    116124msgid "copy code"
    117125msgstr "скопіювати код"
    118126
    119 #: includes/class.gateway.php:374
     127#: includes/class.gateway.php:401
    120128msgid "Courier"
    121129msgstr "Кур'єр"
    122130
    123 #: includes/class.gateway.php:684
     131#: includes/class.gateway.php:716
    124132msgid "Delivery method \"%s\" is not available for your store."
    125133msgstr "Спосіб доставки \"%s\" недоступний для Вашого магазину."
    126134
    127 #: includes/class.gateway.php:492
     135#: includes/class.gateway.php:519
    128136msgid "Delivery method X is not available for your store."
    129137msgstr "Спосіб доставки X недоступний для Вашого магазину."
    130138
    131 #: includes/class.gateway.php:301
     139#: includes/class.gateway.php:328
    132140msgid "Delivery options"
    133141msgstr "Методи доставки"
    134142
    135 #: includes/class.gateway.php:281
     143#: includes/class.gateway.php:308
    136144msgid "Enable in cart"
    137145msgstr "Відобразити в кошику"
    138146
    139 #: includes/class.gateway.php:228
     147#: includes/class.gateway.php:255
    140148msgid "Enable module"
    141149msgstr "Активувати модуль"
    142150
    143 #: includes/class.gateway.php:253
     151#: includes/class.gateway.php:280
    144152msgid "Enable on checkout"
    145153msgstr "Відобразити на чекауті"
    146154
    147 #: includes/class.gateway.php:267
     155#: includes/class.gateway.php:294
    148156msgid "Enable on product details"
    149157msgstr "Відобразити на деталях продукту"
    150158
    151 #: includes/class.gateway.php:486 includes/class.gateway.php:661
     159#: includes/class.gateway.php:513 includes/class.gateway.php:693
    152160msgid "Fill in your mono checkout Token."
    153161msgstr "Будь-ласка, заповніть Токен чекауту для Вашого магазину."
    154162
    155 #: includes/class.gateway.php:308
     163#: includes/class.gateway.php:335
    156164msgid "Free delivery from"
    157165msgstr "Безкоштовна доставка від"
    158166
    159 #: includes/class.gateway.php:311
     167#: includes/class.gateway.php:338
    160168msgid "Free delivery from this order subtotal. Empty for paid delivery."
    161169msgstr ""
     
    163171"доставки."
    164172
    165 #: includes/class.gateway.php:484
     173#: includes/class.gateway.php:511
    166174msgid "Frequent errors"
    167175msgstr "Часті помилки"
     
    171179msgstr "Загальна помилка"
    172180
    173 #: includes/class.gateway.php:434
     181#: includes/class.gateway.php:461
    174182msgid "Get your monobank app now:"
    175183msgstr "Скачайте додаток monobank"
     
    192200
    193201#. Plugin Name of the plugin
     202#: includes/class.gateway.php:229
    194203#| msgid "monobank checkout"
    195204msgid "mono checkout"
    196205msgstr "Оформлення через mono checkout"
    197206
    198 #: includes/class.gateway.php:731
     207#: includes/class.gateway.php:763
    199208#| msgid ""
    200209#| "monopay declined order: %1$s (code: %2$s)<br/><a class=\"mono-code-"
     
    207216"code-toggle\">Відповідь API</a><pre class=\"mono-api-answer\">%3$s</pre>"
    208217
    209 #: includes/class.gateway.php:714
     218#: includes/class.gateway.php:746
    210219#| msgid ""
    211220#| "monopay declined order: %1$s<br/><a class=\"mono-code-toggle\">API "
     
    222231msgstr "mono чекаут не підтримує замовлення з купонами"
    223232
    224 #: includes/class.gateway.php:826
     233#: includes/class.gateway.php:858
    225234#| msgid ""
    226235#| "monopay status update:<strong>%1$s</strong><br/><a class=\"mono-code-"
     
    244253"cPanel</a>)"
    245254
    246 #: includes/class.gateway.php:749
     255#: includes/class.gateway.php:781
    247256msgid ""
    248257"mono ID: <strong>%1$s</strong><br/><a href=\"%2$s\" target=\"_blank\">"
     
    254263"<pre class=\"mono-api-answer\">%3$s</pre>"
    255264
    256 #: includes/class.gateway.php:345
     265#: includes/class.gateway.php:372
    257266msgid ""
    258267"mono orders that haven't been paid in 30 minutes will become failed. The "
     
    272281msgstr "monobank"
    273282
    274 #: includes/class.gateway.php:429
     283#: includes/class.gateway.php:456
    275284msgid ""
    276285"More details on <a href=\"https://www.monobank.ua/\" target=\"_blank\">"
     
    280289"monobank.ua</a>"
    281290
    282 #: includes/class.gateway.php:663 includes/class.gateway.php:668
    283 #: includes/class.gateway.php:677 includes/class.gateway.php:686
    284 #: includes/class.gateway.php:691
     291#: includes/class.gateway.php:695 includes/class.gateway.php:700
     292#: includes/class.gateway.php:709 includes/class.gateway.php:718
     293#: includes/class.gateway.php:723
    285294msgid "More info"
    286295msgstr "Детальніше"
    287296
    288 #: includes/class.gateway.php:425
     297#: includes/class.gateway.php:452
    289298msgid "Need help? Check out our FAQ or contact our support."
    290299msgstr "Потрібна допомога? Подивіться наші ЧаПи або зверніться до підтримки."
    291300
    292 #: includes/class.gateway.php:93
     301#: includes/class.gateway.php:97
    293302msgid "No"
    294303msgstr "Ні"
    295304
    296 #: includes/class.gateway.php:52 includes/class.gateway.php:83
     305#: includes/class.gateway.php:56 includes/class.gateway.php:87
    297306msgid "Not authorized"
    298307msgstr "Не авторизоване"
    299308
    300 #: includes/class.gateway.php:57
     309#: includes/class.gateway.php:61
    301310msgid "Not authorized <span class=\"count\">(%s)</span>"
    302311msgstr "Не авторизоване <span class=\"count\">(%s)</span>"
    303312
    304 #: includes/class.gateway.php:60 includes/class.gateway.php:84
     313#: includes/class.gateway.php:64 includes/class.gateway.php:88
    305314msgid "Not confirmed"
    306315msgstr "Не підтверджене"
    307316
    308 #: includes/class.gateway.php:65
     317#: includes/class.gateway.php:69
    309318msgid "Not confirmed <span class=\"count\">(%s)</span>"
    310319msgstr "Не підтверджене <span class=\"count\">(%s)</span>"
    311320
    312 #: includes/class.gateway.php:375
     321#: includes/class.gateway.php:402
    313322msgid "Nova Poshta"
    314323msgstr "Нова Пошта"
    315324
    316 #: includes/class.gateway.php:376
     325#: includes/class.gateway.php:403
    317326msgid "NP Postbox"
    318327msgstr "Поштомат НП"
    319328
    320 #: includes/class.gateway.php:321
     329#: includes/class.gateway.php:348
    321330msgid "Number of payments"
    322331msgstr "Кількість платежів"
    323332
    324 #: includes/class.gateway.php:324
     333#: includes/class.gateway.php:351
    325334msgid "Number of payments for Purchase in parts."
    326335msgstr "Кількість платежів в покупці частинами"
    327336
    328 #: includes/class.gateway.php:241
     337#: includes/class.gateway.php:268
    329338msgid "Order prefix"
    330339msgstr "Префікс замовлення"
    331340
    332 #: includes/class.gateway.php:338
     341#: includes/class.gateway.php:365
    333342msgid ""
    334343"Orders with payment type \"Cash on delivery\" will automatically be "
     
    338347"\"Виконано\"."
    339348
    340 #: includes/class.gateway.php:331
     349#: includes/class.gateway.php:358
    341350msgid ""
    342351"Paid orders will automatically be transitioned to Completed status. However "
     
    346355"Однак замовлення з оплатою при доставці не автоматично закриті."
    347356
    348 #: includes/class.gateway.php:694 includes/class.gateway.php:710
    349 #: includes/class.gateway.php:727
     357#: includes/class.gateway.php:726 includes/class.gateway.php:742
     358#: includes/class.gateway.php:759
    350359msgid "Payment error: %s"
    351360msgstr "Помилка платежу: %s"
    352361
    353 #: includes/class.gateway.php:675
     362#: includes/class.gateway.php:707
    354363msgid "Payment method \"%s\" is not available for your store."
    355364msgstr "Платіжний метод \"%s\" недоступний для Вашого магазину."
    356365
    357 #: includes/class.gateway.php:490
     366#: includes/class.gateway.php:517
    358367msgid "Payment method X is not available for your store."
    359368msgstr "Платіжний метод X недоступний для Вашого магазину."
    360369
    361 #: includes/class.gateway.php:314
     370#: includes/class.gateway.php:341
    362371msgid "Payment methods"
    363372msgstr "Платіжні методи"
    364373
    365 #: includes/class.gateway.php:68 includes/class.gateway.php:85
    366 #: includes/class.gateway.php:384
     374#: includes/class.gateway.php:72 includes/class.gateway.php:89
     375#: includes/class.gateway.php:411
    367376msgid "Payment on delivery"
    368377msgstr "Оплата при отриманні"
    369378
    370 #: includes/class.gateway.php:73
     379#: includes/class.gateway.php:77
    371380msgid "Payment on delivery <span class=\"count\">(%s)</span>"
    372381msgstr "Оплата при отриманні <span class=\"count\">(%s)</span>"
    373382
    374 #: includes/class.gateway.php:401
     383#: includes/class.gateway.php:428
    375384msgid "Pending payment"
    376385msgstr "Очікування оплати"
    377386
    378 #: includes/class.gateway.php:373
     387#: includes/class.gateway.php:400
    379388msgid "Pickup"
    380389msgstr "Самовивіз"
    381390
    382 #: includes/class.gateway.php:493
     391#: includes/class.gateway.php:520
    383392msgid ""
    384393"Please, contact our support at <a href=\"https://web.monobank.ua\" "
     
    392401"в налаштуваннях чекауту."
    393402
    394 #: includes/class.gateway.php:491
     403#: includes/class.gateway.php:518
    395404#| msgid ""
    396405#| "Please, contact our support at <a href=\"https://web.monobank.ua\" "
     
    407416"в налаштуваннях чекауту."
    408417
    409 #: includes/class.gateway.php:495
     418#: includes/class.gateway.php:522
    410419msgid ""
    411420"Please, enable your checkout in your account at <a href=\"https://web."
     
    415424"monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    416425
    417 #: includes/class.gateway.php:487
     426#: includes/class.gateway.php:514
    418427msgid ""
    419428"Please, get your token at <a href=\"https://web.monobank.ua\" "
     
    423432"ua\" target=\"_blank\">web.monobank.ua</a>"
    424433
    425 #: includes/class.gateway.php:489
     434#: includes/class.gateway.php:516
    426435msgid ""
    427436"Please, make sure you used correct token from <a href=\"https://web.monobank."
     
    431440"href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    432441
    433 #: includes/class.gateway.php:243
     442#: includes/class.gateway.php:270
    434443msgid "Prepended to order numbers to distinguish between different stores."
    435444msgstr ""
    436445"Додається до номеру замовлення, щоб розрізняти замовлення з різних магазинів"
    437446
    438 #: includes/class.gateway.php:277
     447#: includes/class.gateway.php:304
    439448msgid "Product details button height (px)"
    440449msgstr "Висота кнопки на деталях продукту (px)"
    441450
    442 #: includes/class.gateway.php:273
     451#: includes/class.gateway.php:300
    443452msgid "Product details button width (px)"
    444453msgstr "Ширина кнопки на деталях продукту (px)"
    445454
    446 #: includes/class.gateway.php:385
     455#: includes/class.gateway.php:412
    447456msgid "Purchase in parts"
    448457msgstr "Покупка частинами"
    449458
    450 #: includes/class.gateway.php:110
     459#: includes/class.gateway.php:114
    451460msgid "Region"
    452461msgstr "Область"
    453462
    454 #: includes/class.gateway.php:473
     463#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:19
     464msgid ""
     465"Select multiple payment methods that are allowed for this specific product "
     466"in addition to the global ones."
     467msgstr ""
     468"Оберіть платіжні методи для цього продукту, як доповнення до загальних "
     469"методів."
     470
     471#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:31
     472msgid ""
     473"Select multiple shipping methods that are allowed for this specific product "
     474"in addition to the global ones."
     475msgstr ""
     476"Оберіть методи доставки для цього продукту, як доповнення до загальних "
     477"методів."
     478
     479#: includes/class.gateway.php:500
    455480msgid "Settings"
    456481msgstr "Налаштування"
    457482
    458 #: includes/class.gateway.php:454
     483#: includes/class.gateway.php:481
    459484msgid "Statuses of mono checkout orders:"
    460485msgstr "Статуси замовлень mono checkout:"
    461486
    462 #: includes/class.gateway.php:139 includes/class.gateway.php:659
     487#: includes/class.gateway.php:143 includes/class.gateway.php:691
    463488msgid "Technical error"
    464489msgstr "Технічна помилка"
     
    468493msgstr "Цей платіжний метод не підтримує замовлення з купонами."
    469494
    470 #: includes/class.gateway.php:428
     495#: includes/class.gateway.php:455
    471496msgid ""
    472497"To get token, please, send request in your monobank app and then visit <a "
     
    477502"web.monobank.ua</a>"
    478503
    479 #: includes/class.gateway.php:234
     504#: includes/class.gateway.php:261
    480505msgid "Token"
    481506msgstr "Токен"
    482507
    483 #: includes/class.gateway.php:121 includes/class.gateway.php:171
     508#: includes/class.gateway.php:125 includes/class.gateway.php:175
    484509msgid "Update payment status"
    485510msgstr "Оновити статус платежу"
    486511
    487 #: includes/class.gateway.php:305 includes/class.gateway.php:318
     512#: includes/class.gateway.php:332 includes/class.gateway.php:345
    488513msgid "Use Ctrl for multiple choices"
    489514msgstr "Натисніть Ctrl, щоб обрати декілька варіантів"
    490515
    491 #: includes/class.gateway.php:698
     516#: includes/class.gateway.php:730
    492517#| msgid ""
    493518#| "Wrong answer from monopay.<br/><a class=\"mono-code-toggle\">API "
     
    500525"Відповідь API</a><pre class=\"mono-api-answer\">%s</pre>"
    501526
    502 #: includes/class.gateway.php:93
     527#: includes/class.gateway.php:97
    503528msgid "Yes"
    504529msgstr "Так"
    505530
    506 #: includes/class.gateway.php:430
     531#: includes/class.gateway.php:457
    507532msgid "Your callback URL: %s"
    508533msgstr "Ваш URL колбеку: %s"
    509534
    510 #: includes/class.gateway.php:431
     535#: includes/class.gateway.php:458
    511536msgid "Your return URL: %s"
    512537msgstr "Ваш URL після успішної оплати (return URL): %s"
  • mono-checkout/trunk/languages/mono-checkout.pot

    r3242725 r3249513  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: mono checkout 1.9.0\n"
     5"Project-Id-Version: mono checkout 1.10.0\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: 2025-02-18T07:46:55+00:00\n"
     12"POT-Creation-Date: 2025-02-28T07:53:27+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.8.1\n"
     
    1616
    1717#. Plugin Name of the plugin
     18#: includes/class.gateway.php:229
    1819msgid "mono checkout"
    1920msgstr ""
     
    3940msgstr ""
    4041
    41 #: includes/class.gateway.php:52
    42 #: includes/class.gateway.php:83
     42#: includes/class.gateway.php:56
     43#: includes/class.gateway.php:87
    4344msgid "Not authorized"
    4445msgstr ""
    4546
    46 #: includes/class.gateway.php:57
     47#: includes/class.gateway.php:61
    4748msgid "Not authorized <span class=\"count\">(%s)</span>"
    4849msgstr ""
    4950
    50 #: includes/class.gateway.php:60
    51 #: includes/class.gateway.php:84
     51#: includes/class.gateway.php:64
     52#: includes/class.gateway.php:88
    5253msgid "Not confirmed"
    5354msgstr ""
    5455
    55 #: includes/class.gateway.php:65
     56#: includes/class.gateway.php:69
    5657msgid "Not confirmed <span class=\"count\">(%s)</span>"
    5758msgstr ""
    5859
    59 #: includes/class.gateway.php:68
    60 #: includes/class.gateway.php:85
    61 #: includes/class.gateway.php:384
     60#: includes/class.gateway.php:72
     61#: includes/class.gateway.php:89
     62#: includes/class.gateway.php:411
    6263msgid "Payment on delivery"
    6364msgstr ""
    6465
    65 #: includes/class.gateway.php:73
     66#: includes/class.gateway.php:77
    6667msgid "Payment on delivery <span class=\"count\">(%s)</span>"
    6768msgstr ""
    6869
    69 #: includes/class.gateway.php:93
     70#: includes/class.gateway.php:97
    7071msgid "Call client"
    7172msgstr ""
    7273
    73 #: includes/class.gateway.php:93
     74#: includes/class.gateway.php:97
    7475msgid "Yes"
    7576msgstr ""
    7677
    77 #: includes/class.gateway.php:93
     78#: includes/class.gateway.php:97
    7879msgid "No"
    7980msgstr ""
    8081
    81 #: includes/class.gateway.php:100
     82#: includes/class.gateway.php:104
    8283msgid "Comments"
    8384msgstr ""
    8485
    85 #: includes/class.gateway.php:110
     86#: includes/class.gateway.php:114
    8687msgid "Region"
    8788msgstr ""
    8889
    89 #: includes/class.gateway.php:111
    90 #: includes/class.gateway.php:113
     90#: includes/class.gateway.php:115
     91#: includes/class.gateway.php:117
    9192msgid "copy code"
    9293msgstr ""
    9394
    94 #: includes/class.gateway.php:112
     95#: includes/class.gateway.php:116
    9596msgid "City"
    9697msgstr ""
    9798
    98 #: includes/class.gateway.php:121
    99 #: includes/class.gateway.php:171
     99#: includes/class.gateway.php:125
     100#: includes/class.gateway.php:175
    100101msgid "Update payment status"
    101102msgstr ""
    102103
    103 #: includes/class.gateway.php:139
    104 #: includes/class.gateway.php:659
     104#: includes/class.gateway.php:143
     105#: includes/class.gateway.php:691
    105106msgid "Technical error"
    106107msgstr ""
    107108
    108 #: includes/class.gateway.php:228
     109#: includes/class.gateway.php:255
    109110msgid "Enable module"
    110111msgstr ""
    111112
    112 #: includes/class.gateway.php:234
     113#: includes/class.gateway.php:261
    113114msgid "Token"
    114115msgstr ""
    115116
    116 #: includes/class.gateway.php:236
     117#: includes/class.gateway.php:263
    117118msgid "API token from mono checkout. Get your token at <a href=\"https://web.monobank.ua/\" target=\"_blank\">web.monobank.ua</a>"
    118119msgstr ""
    119120
    120 #: includes/class.gateway.php:241
     121#: includes/class.gateway.php:268
    121122msgid "Order prefix"
    122123msgstr ""
    123124
    124 #: includes/class.gateway.php:243
     125#: includes/class.gateway.php:270
    125126msgid "Prepended to order numbers to distinguish between different stores."
    126127msgstr ""
    127128
    128 #: includes/class.gateway.php:248
     129#: includes/class.gateway.php:275
    129130msgid "Checkout description"
    130131msgstr ""
    131132
    132 #: includes/class.gateway.php:253
     133#: includes/class.gateway.php:280
    133134msgid "Enable on checkout"
    134135msgstr ""
    135136
    136 #: includes/class.gateway.php:259
     137#: includes/class.gateway.php:286
    137138msgid "Checkout button width (px)"
    138139msgstr ""
    139140
    140 #: includes/class.gateway.php:263
     141#: includes/class.gateway.php:290
    141142msgid "Checkout button height (px)"
    142143msgstr ""
    143144
    144 #: includes/class.gateway.php:267
     145#: includes/class.gateway.php:294
    145146msgid "Enable on product details"
    146147msgstr ""
    147148
    148 #: includes/class.gateway.php:273
     149#: includes/class.gateway.php:300
    149150msgid "Product details button width (px)"
    150151msgstr ""
    151152
    152 #: includes/class.gateway.php:277
     153#: includes/class.gateway.php:304
    153154msgid "Product details button height (px)"
    154155msgstr ""
    155156
    156 #: includes/class.gateway.php:281
     157#: includes/class.gateway.php:308
    157158msgid "Enable in cart"
    158159msgstr ""
    159160
    160 #: includes/class.gateway.php:287
     161#: includes/class.gateway.php:314
    161162msgid "Cart button width (px)"
    162163msgstr ""
    163164
    164 #: includes/class.gateway.php:291
     165#: includes/class.gateway.php:318
    165166msgid "Cart button height (px)"
    166167msgstr ""
    167168
    168 #: includes/class.gateway.php:295
     169#: includes/class.gateway.php:322
    169170msgid "Button style"
    170171msgstr ""
    171172
    172 #: includes/class.gateway.php:301
     173#: includes/class.gateway.php:328
    173174msgid "Delivery options"
    174175msgstr ""
    175176
    176 #: includes/class.gateway.php:305
    177 #: includes/class.gateway.php:318
     177#: includes/class.gateway.php:332
     178#: includes/class.gateway.php:345
    178179msgid "Use Ctrl for multiple choices"
    179180msgstr ""
    180181
    181 #: includes/class.gateway.php:308
     182#: includes/class.gateway.php:335
    182183msgid "Free delivery from"
    183184msgstr ""
    184185
    185 #: includes/class.gateway.php:311
     186#: includes/class.gateway.php:338
    186187msgid "Free delivery from this order subtotal. Empty for paid delivery."
    187188msgstr ""
    188189
    189 #: includes/class.gateway.php:314
     190#: includes/class.gateway.php:341
    190191msgid "Payment methods"
    191192msgstr ""
    192193
    193 #: includes/class.gateway.php:321
     194#: includes/class.gateway.php:348
    194195msgid "Number of payments"
    195196msgstr ""
    196197
    197 #: includes/class.gateway.php:324
     198#: includes/class.gateway.php:351
    198199msgid "Number of payments for Purchase in parts."
    199200msgstr ""
    200201
    201 #: includes/class.gateway.php:327
     202#: includes/class.gateway.php:354
    202203msgid "Automatically complete paid monocheckout orders"
    203204msgstr ""
    204205
    205 #: includes/class.gateway.php:331
     206#: includes/class.gateway.php:358
    206207msgid "Paid orders will automatically be transitioned to Completed status. However \"Cash on delivery\" orders will not be closed automatically."
    207208msgstr ""
    208209
    209 #: includes/class.gateway.php:334
     210#: includes/class.gateway.php:361
    210211msgid "Automatically complete \"Cash on delivery\" orders"
    211212msgstr ""
    212213
    213 #: includes/class.gateway.php:338
     214#: includes/class.gateway.php:365
    214215msgid "Orders with payment type \"Cash on delivery\" will automatically be transitioned to Completed status."
    215216msgstr ""
    216217
    217 #: includes/class.gateway.php:341
     218#: includes/class.gateway.php:368
    218219msgid "Automatically fail unpaid orders"
    219220msgstr ""
    220221
    221 #: includes/class.gateway.php:345
     222#: includes/class.gateway.php:372
    222223msgid "mono orders that haven't been paid in 30 minutes will become failed. The check is performed for orders placed in the last hour only."
    223224msgstr ""
    224225
    225 #: includes/class.gateway.php:348
     226#: includes/class.gateway.php:375
    226227msgid "Base URL"
    227228msgstr ""
    228229
    229 #: includes/class.gateway.php:350
     230#: includes/class.gateway.php:377
    230231msgid "Base URL for mono checkout API."
    231232msgstr ""
    232233
    233 #: includes/class.gateway.php:373
     234#: includes/class.gateway.php:400
    234235msgid "Pickup"
    235236msgstr ""
    236237
    237 #: includes/class.gateway.php:374
     238#: includes/class.gateway.php:401
    238239msgid "Courier"
    239240msgstr ""
    240241
    241 #: includes/class.gateway.php:375
     242#: includes/class.gateway.php:402
    242243msgid "Nova Poshta"
    243244msgstr ""
    244245
    245 #: includes/class.gateway.php:376
     246#: includes/class.gateway.php:403
    246247msgid "NP Postbox"
    247248msgstr ""
    248249
    249 #: includes/class.gateway.php:383
     250#: includes/class.gateway.php:410
    250251msgid "Card"
    251252msgstr ""
    252253
    253 #: includes/class.gateway.php:385
     254#: includes/class.gateway.php:412
    254255msgid "Purchase in parts"
    255256msgstr ""
    256257
    257 #: includes/class.gateway.php:401
     258#: includes/class.gateway.php:428
    258259msgid "Pending payment"
    259260msgstr ""
    260261
    261 #: includes/class.gateway.php:425
     262#: includes/class.gateway.php:452
    262263msgid "Need help? Check out our FAQ or contact our support."
    263264msgstr ""
    264265
    265 #: includes/class.gateway.php:428
     266#: includes/class.gateway.php:455
    266267msgid "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>"
    267268msgstr ""
    268269
    269 #: includes/class.gateway.php:429
     270#: includes/class.gateway.php:456
    270271msgid "More details on <a href=\"https://www.monobank.ua/\" target=\"_blank\">monobank.ua</a>"
    271272msgstr ""
    272273
    273 #: includes/class.gateway.php:430
     274#: includes/class.gateway.php:457
    274275msgid "Your callback URL: %s"
    275276msgstr ""
    276277
    277 #: includes/class.gateway.php:431
     278#: includes/class.gateway.php:458
    278279msgid "Your return URL: %s"
    279280msgstr ""
    280281
    281 #: includes/class.gateway.php:434
     282#: includes/class.gateway.php:461
    282283msgid "Get your monobank app now:"
    283284msgstr ""
    284285
    285 #: includes/class.gateway.php:454
     286#: includes/class.gateway.php:481
    286287msgid "Statuses of mono checkout orders:"
    287288msgstr ""
    288289
    289 #: includes/class.gateway.php:469
     290#: includes/class.gateway.php:496
    290291msgid "<strong>Important:</strong> mono checkout does not support orders with coupons."
    291292msgstr ""
    292293
    293 #: includes/class.gateway.php:473
     294#: includes/class.gateway.php:500
    294295msgid "Settings"
    295296msgstr ""
    296297
    297 #: includes/class.gateway.php:484
     298#: includes/class.gateway.php:511
    298299msgid "Frequent errors"
    299300msgstr ""
    300301
    301 #: includes/class.gateway.php:486
    302 #: includes/class.gateway.php:661
     302#: includes/class.gateway.php:513
     303#: includes/class.gateway.php:693
    303304msgid "Fill in your mono checkout Token."
    304305msgstr ""
    305306
    306 #: includes/class.gateway.php:487
     307#: includes/class.gateway.php:514
    307308msgid "Please, get your token at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    308309msgstr ""
    309310
    310 #: includes/class.gateway.php:488
    311 #: includes/class.gateway.php:666
     311#: includes/class.gateway.php:515
     312#: includes/class.gateway.php:698
    312313msgid "Check your mono checkout Token."
    313314msgstr ""
    314315
    315 #: includes/class.gateway.php:489
     316#: includes/class.gateway.php:516
    316317msgid "Please, make sure you used correct token from <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    317318msgstr ""
    318319
    319 #: includes/class.gateway.php:490
     320#: includes/class.gateway.php:517
    320321msgid "Payment method X is not available for your store."
    321322msgstr ""
    322323
    323 #: includes/class.gateway.php:491
     324#: includes/class.gateway.php:518
    324325msgid "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."
    325326msgstr ""
    326327
    327 #: includes/class.gateway.php:492
     328#: includes/class.gateway.php:519
    328329msgid "Delivery method X is not available for your store."
    329330msgstr ""
    330331
    331 #: includes/class.gateway.php:493
     332#: includes/class.gateway.php:520
    332333msgid "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."
    333334msgstr ""
    334335
    335 #: includes/class.gateway.php:494
    336 #: includes/class.gateway.php:689
     336#: includes/class.gateway.php:521
     337#: includes/class.gateway.php:721
    337338msgid "Checkout is disabled in your account."
    338339msgstr ""
    339340
    340 #: includes/class.gateway.php:495
     341#: includes/class.gateway.php:522
    341342msgid "Please, enable your checkout in your account at <a href=\"https://web.monobank.ua\" target=\"_blank\">web.monobank.ua</a>"
    342343msgstr ""
    343344
    344 #: includes/class.gateway.php:663
    345 #: includes/class.gateway.php:668
    346 #: includes/class.gateway.php:677
    347 #: includes/class.gateway.php:686
    348 #: includes/class.gateway.php:691
     345#: includes/class.gateway.php:695
     346#: includes/class.gateway.php:700
     347#: includes/class.gateway.php:709
     348#: includes/class.gateway.php:718
     349#: includes/class.gateway.php:723
    349350msgid "More info"
    350351msgstr ""
    351352
    352 #: includes/class.gateway.php:675
     353#: includes/class.gateway.php:707
    353354msgid "Payment method \"%s\" is not available for your store."
    354355msgstr ""
    355356
    356 #: includes/class.gateway.php:684
     357#: includes/class.gateway.php:716
    357358msgid "Delivery method \"%s\" is not available for your store."
    358359msgstr ""
    359360
    360 #: includes/class.gateway.php:694
    361 #: includes/class.gateway.php:710
    362 #: includes/class.gateway.php:727
     361#: includes/class.gateway.php:726
     362#: includes/class.gateway.php:742
     363#: includes/class.gateway.php:759
    363364msgid "Payment error: %s"
    364365msgstr ""
    365366
    366 #: includes/class.gateway.php:698
     367#: includes/class.gateway.php:730
    367368msgid "Wrong answer from mono checkout.<br/><a class=\"mono-code-toggle\">API answer</a><pre class=\"mono-api-answer\">%s</pre>"
    368369msgstr ""
    369370
    370 #: includes/class.gateway.php:714
     371#: includes/class.gateway.php:746
    371372msgid "mono checkout declined order: %1$s<br/><a class=\"mono-code-toggle\">API answer</a><pre class=\"mono-api-answer\">%2$s</pre>"
    372373msgstr ""
    373374
    374 #: includes/class.gateway.php:731
     375#: includes/class.gateway.php:763
    375376msgid "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>"
    376377msgstr ""
    377378
    378 #: includes/class.gateway.php:749
     379#: includes/class.gateway.php:781
    379380msgid "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>"
    380381msgstr ""
    381382
    382 #: includes/class.gateway.php:826
     383#: includes/class.gateway.php:858
    383384msgid "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>"
    384385msgstr ""
     
    416417msgid "General error"
    417418msgstr ""
     419
     420#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:17
     421msgid "Additional payment methods"
     422msgstr ""
     423
     424#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:19
     425msgid "Select multiple payment methods that are allowed for this specific product in addition to the global ones."
     426msgstr ""
     427
     428#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:29
     429msgid "Additional shipping methods"
     430msgstr ""
     431
     432#: templates/wooommerce/admin/product/html-product-data-monocheckout.php:31
     433msgid "Select multiple shipping methods that are allowed for this specific product in addition to the global ones."
     434msgstr ""
  • mono-checkout/trunk/mono.php

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

    r3242725 r3249513  
    44Requires at least: 5.8
    55Tested up to: 6.7.2
    6 Stable tag: 1.9.1
     6Stable tag: 1.10.0
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    5454
    5555== Changelog ==
     56
     57= 1.10.0 =
     58* Індивідуальні методи оплати та доставки для товарів
    5659
    5760= 1.9.1 =
Note: See TracChangeset for help on using the changeset viewer.