Changeset 2884268
- Timestamp:
- 03/21/2023 01:07:04 PM (3 years ago)
- Location:
- makecommerce/trunk
- Files:
-
- 23 edited
-
README.txt (modified) (2 diffs)
-
api/api.php (modified) (1 diff)
-
includes/makecommerce.php (modified) (1 diff)
-
languages/wc_makecommerce_domain-et.mo (modified) (previous)
-
languages/wc_makecommerce_domain-et.po (modified) (3 diffs)
-
languages/wc_makecommerce_domain-lt.po (modified) (1 diff)
-
languages/wc_makecommerce_domain-lt_LT.mo (modified) (previous)
-
languages/wc_makecommerce_domain-lv.mo (modified) (previous)
-
languages/wc_makecommerce_domain-lv.po (modified) (1 diff)
-
languages/wc_makecommerce_domain-lv_LV.mo (modified) (previous)
-
languages/wc_makecommerce_domain-ru.po (modified) (2 diffs)
-
languages/wc_makecommerce_domain-ru_RU.mo (modified) (previous)
-
languages/wc_makecommerce_domain.pot (modified) (11 diffs)
-
makecommerce.php (modified) (2 diffs)
-
payment/gateway/subscription.php (modified) (1 diff)
-
payment/gateway/woocommerce/paylater.php (modified) (1 diff)
-
payment/gateway/woocommerce/woocommerce.php (modified) (2 diffs)
-
shipping/label.php (modified) (1 diff)
-
shipping/method/common/smartpost.php (modified) (1 diff)
-
shipping/method/courier/smartpost.php (modified) (1 diff)
-
shipping/method/parcelmachine/smartpost.php (modified) (1 diff)
-
shipping/order.php (modified) (1 diff)
-
shipping/shipping.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
makecommerce/trunk/README.txt
r2830541 r2884268 4 4 Requires at least: 5.6.1 5 5 Tested up to: 6.1 6 Stable tag: 3.2. 06 Stable tag: 3.2.1 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later … … 71 71 72 72 == Changelog == 73 74 = 3.2.1 2023-03-21 = 75 * Feature - Added API key field for Smartpost 76 * Tweak - Updated Indivy description 77 * Fix - Wrong function call for shipping method titles 78 * Fix - Resetting API cache when switching environments 79 * Fix - Displaying payment methods for Polylang Russian checkout 73 80 74 81 = 3.2.0 2022-12-08 = -
makecommerce/trunk/api/api.php
r2830541 r2884268 356 356 357 357 /** 358 * Function for resetting machines and payment methods when API type is changed 359 * 360 * @since 3.2.1 361 */ 362 public function mk_delete_api_cache() { 363 364 global $wpdb; 365 $tableName = $wpdb->prefix . MAKECOMMERCE_TABLENAME; 366 367 // Delete machines' cache and timer 368 delete_option( 'mk_machines_expires' ); 369 delete_option( 'mk_machines_cache' ); 370 371 // Delete payment methods 372 $wpdb->query( 'TRUNCATE TABLE `'.$tableName.'`' ); 373 } 374 375 /** 358 376 * Notice for missing API information 359 377 * -
makecommerce/trunk/includes/makecommerce.php
r2830541 r2884268 152 152 $this->loader->add_action( 'admin_notices', $api, 'api_info_missing' ); 153 153 } 154 155 //if API type is updated then refresh the cache 156 $this->loader->add_action( 'update_option_mk_api_type', $api, 'mk_delete_api_cache' ); 154 157 155 158 //add API access menu in woocommerce->settings->advanced (_api version is for WC <= 3.4.0) -
makecommerce/trunk/languages/wc_makecommerce_domain-et.po
r2830541 r2884268 63 63 msgstr "Erinevate seadete korral sobib vast kasutada erinevat pealkirja, nt. 'Maksa panaglingi või kaardiga' või 'maksa pangalingiga' või 'makseviisid'" 64 64 65 #, fuzzy66 65 msgid "Estonia" 67 66 msgstr "Eesti" 68 67 69 #, fuzzy70 68 msgid "Latvia" 71 69 msgstr "Läti" 72 70 73 #, fuzzy74 71 msgid "Lithuania" 75 72 msgstr "Leedu" 76 73 77 #, fuzzy78 74 msgid "Finland" 79 75 msgstr "Soome" 80 76 81 #, fuzzy82 77 msgid "Logo" 83 78 msgstr "Logo" … … 791 786 msgstr "Kui see on märgitud, on pakiautomaat selle toote jaoks tasuta" 792 787 793 #, fuzzy794 788 msgid "This is a test" 795 789 msgstr "See on test" … … 836 830 msgid "LP Express template" 837 831 msgstr "LP Expressi mall" 832 833 msgid " can be used with an international phone number only. Please specify your phone number with international country code (e.g. +372xxxxxxx)" 834 msgstr "tuleb sisestada rahvusvaheline telefoninumber. Palun sisesta see koos riigi koodiga (näiteks +372xxxxxxx)" 835 836 msgid " can be used with a Lithuanian phone number only. Please specify your phone number with Lithuanian country code (e.g. +370xxxxxxxx)" 837 msgstr "Saab kasutada ainult Leedu telefoninumbriga. Sisesta koos riigi koodiga (+370xxxxxxxx)" 838 839 msgid "Please define return address for %s shipments.<br><b>All fields are required.</b>" 840 msgstr "Palun määra tagastusaadress %s saadetisele.<br><b>Kõik väljad on nõutud.</b>" 841 842 msgid "To further configure the Payment methods please go to <a href=\"%s\">MakeCommerce Checkout Options</a>, links to settings of our Shipment methods are listed below" 843 msgstr "Makseviiside täiendavaks seadistamiseks palun mine <a href=\"%s\">MakeCommerce Checkout valikutesse</a>. Viited tarneviiside osas on loetletud all." 844 845 msgid "Buy now, <b>pay on the 25th of the next month</b>" 846 msgstr "Osta kohe, <b>maksa järgmise kuu 25ndal</b>" 847 848 msgid "SmartPost API Key" 849 msgstr "SmartPost API võti" -
makecommerce/trunk/languages/wc_makecommerce_domain-lt.po
r2830541 r2884268 830 830 msgid "LP Express template" 831 831 msgstr "LP Express šablonas" 832 833 msgid " can be used with an international phone number only. Please specify your phone number with international country code (e.g. +372xxxxxxx)" 834 msgstr "galima naudoti tik su tarptautiniu telefono numeriu. Nurodykite savo telefono numerį su tarptautiniu šalies kodu (pvz., +372xxxxxxxx)" 835 836 msgid " can be used with a Lithuanian phone number only. Please specify your phone number with Lithuanian country code (e.g. +370xxxxxxxx)" 837 msgstr "galima naudoti tik su Lietuvišku telefono numeriu. Nurodykite savo telefono numerį su Lietuvos šalies kodu (pvz., +370xxxxxxxxx)" 838 839 msgid "Please define return address for %s shipments.<br><b>All fields are required.</b>" 840 msgstr "Nurodykite %s siuntų grąžinimo adresą.<br><b>Visi laukeliai yra privalomi.</b>" 841 842 msgid "To further configure the Payment methods please go to <a href=\"%s\">MakeCommerce Checkout Options</a>, links to settings of our Shipment methods are listed below" 843 msgstr "Norėdami toliau konfigūruoti mokėjimo būdus, eikite į <a href=\"%s\">MakeCommerce</a> nustatymus. Pristatymo būdų parinkčių nustatymai pateikiami žemiau" 844 845 msgid "Buy now, <b>pay on the 25th of the next month</b>" 846 msgstr "Pirkite dabar, <b>mokėkite kito mėnesio 25 dieną</b>" 847 848 msgid "SmartPost API Key" 849 msgstr "SmartPost API raktas" -
makecommerce/trunk/languages/wc_makecommerce_domain-lv.po
r2830541 r2884268 830 830 msgid "LP Express template" 831 831 msgstr "LP Express veidne" 832 833 msgid " can be used with an international phone number only. Please specify your phone number with international country code (e.g. +372xxxxxxx)" 834 msgstr "var izmantot tikai ar starptautisku tālruņa numuru. Lūdzu, norādiet savu tālruņa numuru ar starptautisko valsts kodu (piem., +371xxxxxxxx)" 835 836 msgid " can be used with a Lithuanian phone number only. Please specify your phone number with Lithuanian country code (e.g. +370xxxxxxxx)" 837 msgstr "var izmantot tikai ar Latvijas tālruņa numuru. Lūdzu, norādiet savu tālruņa numuru ar Latvijas valsts kodu (piem., +371xxxxxxxxx)" 838 839 msgid "Please define return address for %s shipments.<br><b>All fields are required.</b>" 840 msgstr "Lūdzu, norādiet atgriešanas adresi %s sūtījumam.<br><b>Visi lauki ir obligāti.</b>" 841 842 msgid "To further configure the Payment methods please go to <a href=\"%s\">MakeCommerce Checkout Options</a>, links to settings of our Shipment methods are listed below" 843 msgstr "Lai tālāk pārvaldītu maksājumu veidus, lūdzu, dodieties uz <a href=\"%s\">MakeCommerce maksājumu konfigurāciju</a>, bet saites uz mūsu piegādes metožu iestatījumiem ir norādītas zemāk" 844 845 msgid "Buy now, <b>pay on the 25th of the next month</b>" 846 msgstr "Pērc tagad, <b>maksā nākamā mēneša 25. datumā</b>" 847 848 msgid "SmartPost API Key" 849 msgstr "SmartPost API pieeja" -
makecommerce/trunk/languages/wc_makecommerce_domain-ru.po
r2830541 r2884268 788 788 msgstr "Когда это отмечено, транспортировка этого продукта в посылочном автомате бесплатна" 789 789 790 #, fuzzy791 790 msgid "This is a test" 792 791 msgstr "Это тест" … … 833 832 msgid "LP Express template" 834 833 msgstr "Шаблон LP Express" 834 835 msgid " can be used with an international phone number only. Please specify your phone number with international country code (e.g. +372xxxxxxx)" 836 msgstr "можно использовать только с международным номером телефона. Укажите свой номер телефона с международным кодом страны (например, +372xxxxxxx)" 837 838 msgid " can be used with a Lithuanian phone number only. Please specify your phone number with Lithuanian country code (e.g. +370xxxxxxxx)" 839 msgstr "можно использовать только с Литовским номером телефона. Пожалуйста, укажите свой номер телефона с кодом страны Литвы (например, +370xxxxxxxxx)" 840 841 msgid "Please define return address for %s shipments.<br><b>All fields are required.</b>" 842 msgstr "Пожалуйста, укажите обратный адрес для %s посылок.<br><b>Все поля обязательны для заполнения.</b>" 843 844 msgid "To further configure the Payment methods please go to <a href=\"%s\">MakeCommerce Checkout Options</a>, links to settings of our Shipment methods are listed below" 845 msgstr "Для дальнейшей настройки способов оплаты перейдите в раздел <a href=\"%s\">Параметры оплаты MakeCommerce</a>, ссылки на настройки наших способов доставки указаны ниже" 846 847 msgid "Buy now, <b>pay on the 25th of the next month</b>" 848 msgstr "Купите сейчас, <b>оплатите 25-го числа следующего месяца</b>" 849 850 msgid "SmartPost API Key" 851 msgstr "SmartPost API ключ" -
makecommerce/trunk/languages/wc_makecommerce_domain.pot
r2830541 r2884268 1 # Copyright (C) 202 2Maksekeskus AS1 # Copyright (C) 2023 Maksekeskus AS 2 2 # This file is distributed under the GPL-2.0+. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: MakeCommerce 3.2. 0\n"5 "Project-Id-Version: MakeCommerce 3.2.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/makecommerce\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 2-12-01T12:34:07+00:00\n"12 "POT-Creation-Date: 2023-03-20T16:56:05+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.7.1\n" … … 49 49 50 50 #: api/api.php:226 51 msgid "To further configure the Payment methods please go to <a href= .\"%s\">MakeCommerce Checkout Options</a>, links to settings of our Shipment methods are listed below"51 msgid "To further configure the Payment methods please go to <a href=\"%s\">MakeCommerce Checkout Options</a>, links to settings of our Shipment methods are listed below" 52 52 msgstr "" 53 53 … … 178 178 msgstr "" 179 179 180 #: api/api.php:3 67180 #: api/api.php:385 181 181 msgid "You have not entered the Shop ID and keys for the MakeCommerce payment module. The module will not work without them." 182 182 msgstr "" 183 183 184 #: api/api.php:3 69185 #: api/api.php:3 71184 #: api/api.php:387 185 #: api/api.php:389 186 186 msgid "Click here to enter them" 187 187 msgstr "" … … 217 217 msgstr "" 218 218 219 #: includes/makecommerce.php:31 2219 #: includes/makecommerce.php:315 220 220 msgid "Please check that you have configured correctly MakeCommerce API accesses" 221 221 msgstr "" … … 327 327 328 328 #: payment/gateway/woocommerce/paylater.php:45 329 msgid "Buy now, <b>pay on the 15th of the next month</b>"329 msgid "Buy now, <b>pay on the 25th of the next month</b>" 330 330 msgstr "" 331 331 … … 548 548 msgstr "" 549 549 550 #: payment/gateway/woocommerce/woocommerce.php:12 0550 #: payment/gateway/woocommerce/woocommerce.php:123 551 551 msgid "Enable/Disable" 552 552 msgstr "" 553 553 554 #: payment/gateway/woocommerce/woocommerce.php:12 2554 #: payment/gateway/woocommerce/woocommerce.php:125 555 555 msgid "Enable MakeCommerce payments" 556 556 msgstr "" 557 557 558 #: payment/gateway/woocommerce/woocommerce.php:13 2558 #: payment/gateway/woocommerce/woocommerce.php:135 559 559 msgid "MakeCommerce API" 560 560 msgstr "" 561 561 562 #: payment/gateway/woocommerce/woocommerce.php:13 3562 #: payment/gateway/woocommerce/woocommerce.php:136 563 563 msgid "Go to <a href=\"%s\">API settings</a> to fill in the credentials" 564 564 msgstr "" 565 565 566 #: payment/gateway/woocommerce/woocommerce.php:1 38566 #: payment/gateway/woocommerce/woocommerce.php:141 567 567 msgid "User Interface" 568 568 msgstr "" 569 569 570 #: payment/gateway/woocommerce/woocommerce.php:14 4570 #: payment/gateway/woocommerce/woocommerce.php:147 571 571 msgid "Set as default selection" 572 572 msgstr "" 573 573 574 #: payment/gateway/woocommerce/woocommerce.php:14 5574 #: payment/gateway/woocommerce/woocommerce.php:148 575 575 msgid "MakeCommerce payments widget will be selected by default" 576 576 msgstr "" 577 577 578 #: payment/gateway/woocommerce/woocommerce.php:15 2578 #: payment/gateway/woocommerce/woocommerce.php:155 579 579 msgid "Display MC payment channels as" 580 580 msgstr "" 581 581 582 #: payment/gateway/woocommerce/woocommerce.php:15 6582 #: payment/gateway/woocommerce/woocommerce.php:159 583 583 msgid "List" 584 584 msgstr "" 585 585 586 #: payment/gateway/woocommerce/woocommerce.php:1 57586 #: payment/gateway/woocommerce/woocommerce.php:160 587 587 msgid "Grouped to widget" 588 588 msgstr "" 589 589 590 #: payment/gateway/woocommerce/woocommerce.php:1 67591 #: payment/gateway/woocommerce/woocommerce.php:1 77590 #: payment/gateway/woocommerce/woocommerce.php:170 591 #: payment/gateway/woocommerce/woocommerce.php:180 592 592 msgid "Payments widget title" 593 593 msgstr "" 594 594 595 #: payment/gateway/woocommerce/woocommerce.php:1 69596 #: payment/gateway/woocommerce/woocommerce.php:1 79595 #: payment/gateway/woocommerce/woocommerce.php:172 596 #: payment/gateway/woocommerce/woocommerce.php:182 597 597 msgid "Appropriate title may depend on the configuration you have made, i.e. 'pay with bank-link or credit card', 'pay with bank-links' or 'payment methods'" 598 598 msgstr "" 599 599 600 #: payment/gateway/woocommerce/woocommerce.php:17 0600 #: payment/gateway/woocommerce/woocommerce.php:173 601 601 msgid "Pay with bank-links or credit card" 602 602 msgstr "" 603 603 604 #: payment/gateway/woocommerce/woocommerce.php:1 87604 #: payment/gateway/woocommerce/woocommerce.php:190 605 605 msgid "MC payment channels display style" 606 606 msgstr "" 607 607 608 #: payment/gateway/woocommerce/woocommerce.php:19 1608 #: payment/gateway/woocommerce/woocommerce.php:194 609 609 msgid "Logo" 610 610 msgstr "" 611 611 612 #: payment/gateway/woocommerce/woocommerce.php:19 2612 #: payment/gateway/woocommerce/woocommerce.php:195 613 613 msgid "Text & logo" 614 614 msgstr "" 615 615 616 #: payment/gateway/woocommerce/woocommerce.php:19 3616 #: payment/gateway/woocommerce/woocommerce.php:196 617 617 msgid "Text" 618 618 msgstr "" 619 619 620 #: payment/gateway/woocommerce/woocommerce.php: 199620 #: payment/gateway/woocommerce/woocommerce.php:202 621 621 msgid "Size of payment channel logos" 622 622 msgstr "" 623 623 624 #: payment/gateway/woocommerce/woocommerce.php:20 3624 #: payment/gateway/woocommerce/woocommerce.php:206 625 625 msgid "Small" 626 626 msgstr "" 627 627 628 #: payment/gateway/woocommerce/woocommerce.php:20 4628 #: payment/gateway/woocommerce/woocommerce.php:207 629 629 msgid "Medium" 630 630 msgstr "" 631 631 632 #: payment/gateway/woocommerce/woocommerce.php:20 5632 #: payment/gateway/woocommerce/woocommerce.php:208 633 633 msgid "Large" 634 634 msgstr "" 635 635 636 #: payment/gateway/woocommerce/woocommerce.php:21 1636 #: payment/gateway/woocommerce/woocommerce.php:214 637 637 msgid "Group bank-links by countries" 638 638 msgstr "" 639 639 640 #: payment/gateway/woocommerce/woocommerce.php:2 18640 #: payment/gateway/woocommerce/woocommerce.php:221 641 641 msgid "Hide country selector" 642 642 msgstr "" 643 643 644 #: payment/gateway/woocommerce/woocommerce.php:2 19644 #: payment/gateway/woocommerce/woocommerce.php:222 645 645 msgid "Do not display country selector (flags) at payment methods" 646 646 msgstr "" 647 647 648 #: payment/gateway/woocommerce/woocommerce.php:22 5648 #: payment/gateway/woocommerce/woocommerce.php:228 649 649 msgid "Country selector style" 650 650 msgstr "" 651 651 652 #: payment/gateway/woocommerce/woocommerce.php:2 29652 #: payment/gateway/woocommerce/woocommerce.php:232 653 653 msgid "Flag" 654 654 msgstr "" 655 655 656 #: payment/gateway/woocommerce/woocommerce.php:23 0656 #: payment/gateway/woocommerce/woocommerce.php:233 657 657 msgid "Dropdown" 658 658 msgstr "" 659 659 660 #: payment/gateway/woocommerce/woocommerce.php:23 6660 #: payment/gateway/woocommerce/woocommerce.php:239 661 661 msgid "Define custom order of payment countries" 662 662 msgstr "" 663 663 664 #: payment/gateway/woocommerce/woocommerce.php:2 38664 #: payment/gateway/woocommerce/woocommerce.php:241 665 665 msgid "If you want to change default order, insert a comma separated list of 2 char country codes. i.e. - ee, lv, lt, fi (international = other)" 666 666 msgstr "" 667 667 668 #: payment/gateway/woocommerce/woocommerce.php:24 3668 #: payment/gateway/woocommerce/woocommerce.php:246 669 669 msgid "Define custom order of payment channels" 670 670 msgstr "" 671 671 672 #: payment/gateway/woocommerce/woocommerce.php:24 5672 #: payment/gateway/woocommerce/woocommerce.php:248 673 673 msgid "If you want to change default order, put here comma separated list of channels. i,e, - seb,lhv,swedbank. see more on the module home page (link above)" 674 674 msgstr "" 675 675 676 #: payment/gateway/woocommerce/woocommerce.php:25 4676 #: payment/gateway/woocommerce/woocommerce.php:257 677 677 msgid "Credit Card Settings" 678 678 msgstr "" 679 679 680 #: payment/gateway/woocommerce/woocommerce.php:2 59680 #: payment/gateway/woocommerce/woocommerce.php:262 681 681 msgid "Prefill Credit Card form with customer data" 682 682 msgstr "" 683 683 684 #: payment/gateway/woocommerce/woocommerce.php:26 2684 #: payment/gateway/woocommerce/woocommerce.php:265 685 685 msgid "It will pass user Name and e-mail address to the Credit Card dialog to make the form filling easier" 686 686 msgstr "" 687 687 688 #: payment/gateway/woocommerce/woocommerce.php:2 68688 #: payment/gateway/woocommerce/woocommerce.php:271 689 689 msgid "Advanced Settings" 690 690 msgstr "" 691 691 692 #: payment/gateway/woocommerce/woocommerce.php:27 4692 #: payment/gateway/woocommerce/woocommerce.php:277 693 693 msgid "Update payment methods" 694 694 msgstr "" 695 695 696 #: payment/gateway/woocommerce/woocommerce.php:27 5696 #: payment/gateway/woocommerce/woocommerce.php:278 697 697 msgid "Update" 698 698 msgstr "" 699 699 700 #: payment/gateway/woocommerce/woocommerce.php:27 6700 #: payment/gateway/woocommerce/woocommerce.php:279 701 701 msgid "This will update shop configuration from MakeCommerce servers." 702 702 msgstr "" 703 703 704 #: payment/gateway/woocommerce/woocommerce.php:38 5704 #: payment/gateway/woocommerce/woocommerce.php:388 705 705 msgid "Please select suitable payment option!" 706 706 msgstr "" 707 707 708 #: payment/gateway/woocommerce/woocommerce.php:46 6708 #: payment/gateway/woocommerce/woocommerce.php:469 709 709 msgid "An error occured when trying to process payment!" 710 710 msgstr "" 711 711 712 #: shipping/label.php:2 45712 #: shipping/label.php:254 713 713 msgid "Orders %s did not have shipment ID attached so no labels was printed! Please register those packages if you think this is an error!" 714 714 msgstr "" 715 715 716 #: shipping/label.php: 296716 #: shipping/label.php:305 717 717 msgid "Register parcel machine shipments" 718 718 msgstr "" 719 719 720 #: shipping/label.php: 297720 #: shipping/label.php:306 721 721 msgid "Print parcel machine labels" 722 722 msgstr "" 723 723 724 #: shipping/label.php:3 44724 #: shipping/label.php:353 725 725 msgid "Print parcel label" 726 726 msgstr "" 727 727 728 #: shipping/label.php:3 53728 #: shipping/label.php:362 729 729 msgid "Something went wrong generating a label for this order. Please try again! Contact us, if the problem persists." 730 730 msgstr "" … … 741 741 #: shipping/method/common/omniva.php:56 742 742 msgid " can only be used with Estonian, Latvian and Lithuanian numbers that are able to receive SMS (mobile phone)." 743 msgstr "" 744 745 #: shipping/method/common/smartpost.php:47 746 msgid "SmartPost API Key" 743 747 msgstr "" 744 748 … … 889 893 890 894 #: shipping/method/method.php:596 891 #: shipping/method/ method.php:605895 #: shipping/method/parcelmachine/lpexpress.php:64 892 896 msgid "Shop address country" 893 897 msgstr "" 894 898 895 #: shipping/method/method.php:6 17899 #: shipping/method/method.php:607 896 900 msgid "Shop address city" 897 901 msgstr "" 898 902 899 #: shipping/method/method.php:6 23903 #: shipping/method/method.php:613 900 904 msgid "Shop postal code" 901 905 msgstr "" 902 906 903 #: shipping/method/method.php:6 29907 #: shipping/method/method.php:619 904 908 msgid "Shop address street" 905 909 msgstr "" 906 910 907 #: shipping/method/method.php:6 46911 #: shipping/method/method.php:636 908 912 msgid "%s web services username" 909 913 msgstr "" 910 914 911 #: shipping/method/method.php:6 52915 #: shipping/method/method.php:642 912 916 msgid "%s web services password" 913 917 msgstr "" … … 921 925 msgstr "" 922 926 923 #: shipping/method/parcelmachine/lpexpress.php: 63927 #: shipping/method/parcelmachine/lpexpress.php:73 924 928 msgid "Shop building" 925 929 msgstr "" 926 930 927 #: shipping/method/parcelmachine/lpexpress.php: 69931 #: shipping/method/parcelmachine/lpexpress.php:79 928 932 msgid "Shop apartment" 929 933 msgstr "" 930 934 931 #: shipping/method/parcelmachine/lpexpress.php: 85935 #: shipping/method/parcelmachine/lpexpress.php:95 932 936 msgid "Parcel to Parcel size XL" 933 937 msgstr "" … … 1006 1010 1007 1011 #: shipping/method/parcelmachine/parcelmachine.php:134 1008 #: shipping/shipping.php:8 481012 #: shipping/shipping.php:857 1009 1013 msgid "-- select parcel machine --" 1010 1014 msgstr "" 1011 1015 1012 #: shipping/method/parcelmachine/smartpost.php:3 01016 #: shipping/method/parcelmachine/smartpost.php:32 1013 1017 msgid "Use authenticable APTs" 1014 1018 msgstr "" 1015 1019 1016 #: shipping/method/parcelmachine/smartpost.php:3 21020 #: shipping/method/parcelmachine/smartpost.php:34 1017 1021 msgid "use all APTs" 1018 1022 msgstr "" 1019 1023 1020 #: shipping/method/parcelmachine/smartpost.php:3 31024 #: shipping/method/parcelmachine/smartpost.php:35 1021 1025 msgid "use only non-white auth-capable APTs" 1022 1026 msgstr "" -
makecommerce/trunk/makecommerce.php
r2830541 r2884268 10 10 * Plugin URI: https://makecommerce.net/ 11 11 * Description: Adds MakeCommerce payment gateway and Itella/Omniva/DPD parcel machine shipping methods to WooCommerce checkout 12 * Version: 3.2. 012 * Version: 3.2.1 13 13 * Author: Maksekeskus AS 14 14 * Author URI: https://makecommerce.net/ … … 32 32 * Start at version 3.0.0 and use SemVer - https://semver.org 33 33 */ 34 define( 'MAKECOMMERCE_VERSION', '3.2. 0' );34 define( 'MAKECOMMERCE_VERSION', '3.2.1' ); 35 35 define( 'MAKECOMMERCE_PLUGIN_ID', 'makecommerce' ); 36 36 -
makecommerce/trunk/payment/gateway/subscription.php
r2549548 r2884268 87 87 return true; 88 88 } 89 89 90 } -
makecommerce/trunk/payment/gateway/woocommerce/paylater.php
r2830541 r2884268 43 43 case 'indivy-go': 44 44 45 return __( 'Buy now, <b>pay on the 15th of the next month</b>', 'wc_makecommerce_domain' );45 return __( 'Buy now, <b>pay on the 25th of the next month</b>', 'wc_makecommerce_domain' ); 46 46 case 'liisi_ee': 47 47 -
makecommerce/trunk/payment/gateway/woocommerce/woocommerce.php
r2830541 r2884268 8 8 9 9 public $id = MAKECOMMERCE_PLUGIN_ID; 10 public $version = '3.2. 0';10 public $version = '3.2.1'; 11 11 12 12 public $payment_return_url; … … 45 45 46 46 $this->set_title_by_language(); 47 48 //has_fields enables our methods for WooCommerce 49 $this->has_fields = true; 47 50 48 51 //add paylater first time notice -
makecommerce/trunk/shipping/label.php
r2830541 r2884268 145 145 $shipping_request['credentials'][$carrier_uc] = array( 'carrier' => $carrier_uc, 'username' => $api_user, 'password' => $api_password ); 146 146 } 147 148 // Add Smartpost API key to the request 149 if ( $carrier_uc === "SMARTPOST" ) { 150 151 // Replace null with empty String 152 isset( $transport_class->settings['api_key'] ) ? $api_key = $transport_class->settings['api_key'] : $api_key = ""; 153 154 $shipping_request['credentials'][$carrier_uc]['apiKey'] = $api_key; 155 } 147 156 } 148 157 -
makecommerce/trunk/shipping/method/common/smartpost.php
r2830541 r2884268 36 36 return '<strong>' . $this->carrier_title . '</strong> ' . __(' can be used with an international phone number only. Please specify your phone number with international country code (e.g. +372xxxxxxx)', 'wc_makecommerce_domain' ); 37 37 } 38 39 /** 40 * Loads API key field for SmartPost 41 * 42 * @since 3.2.1 43 */ 44 public function initialize_smartpost_api_field() { 45 46 $this->form_fields['api_key'] = array( 47 'title' => __( 'SmartPost API Key', 'wc_makecommerce_domain' ), 48 'type' => 'text', 49 'default' => '' 50 ); 51 } 52 38 53 } -
makecommerce/trunk/shipping/method/courier/smartpost.php
r2622774 r2884268 23 23 public function initialize_method_form_fields() { 24 24 25 //Nothing to see here, move along25 $this->initialize_smartpost_api_field(); 26 26 } 27 27 -
makecommerce/trunk/shipping/method/parcelmachine/smartpost.php
r2701810 r2884268 24 24 25 25 public function initialize_method_form_fields() { 26 // nothing here. 26 27 $this->initialize_smartpost_api_field(); 28 27 29 //option to disable white parcel machines, if only machines capable of recipient authentication are required. 28 30 $this->form_fields['use_white_apts'] = array( -
makecommerce/trunk/shipping/order.php
r2830541 r2884268 284 284 foreach ( $methods as $method ) { 285 285 286 echo '<option value="'.$method->id.'"'.($selected_method === $method->id ? ' selected="selected"' : '').'>'.$method-> title.'</option>';286 echo '<option value="'.$method->id.'"'.($selected_method === $method->id ? ' selected="selected"' : '').'>'.$method->get_method_title().'</option>'; 287 287 } 288 288 -
makecommerce/trunk/shipping/shipping.php
r2830541 r2884268 474 474 $shipping_request['credentials'][$carrier_uc] = array( 'carrier' => $carrier_uc, 'username' => $api_user, 'password' => $api_password ); 475 475 } 476 477 // Add Smartpost API key to the request 478 if ( $carrier_uc === "SMARTPOST" ) { 479 480 // Replace null with empty String 481 isset( $transport_class->settings['api_key'] ) ? $api_key = $transport_class->settings['api_key'] : $api_key = ""; 482 483 $shipping_request['credentials'][$carrier_uc]['apiKey'] = $api_key; 484 } 476 485 } 477 486
Note: See TracChangeset
for help on using the changeset viewer.