Changeset 3107349
- Timestamp:
- 06/25/2024 10:10:22 AM (20 months ago)
- Location:
- makecommerce/trunk
- Files:
-
- 12 edited
-
README.txt (modified) (2 diffs)
-
includes/vendor/nategood/httpful/src/Httpful/Response/Headers.php (modified) (5 diffs)
-
languages/wc_makecommerce_domain.pot (modified) (10 diffs)
-
makecommerce.php (modified) (2 diffs)
-
payment/gateway/woocommerce/creditcard.php (modified) (2 diffs)
-
payment/gateway/woocommerce/js/mc_cc_init.js (modified) (1 diff)
-
payment/gateway/woocommerce/methods.php (modified) (1 diff)
-
payment/gateway/woocommerce/woocommerce.php (modified) (3 diffs)
-
payment/payment.php (modified) (1 diff)
-
shipping/method/method.php (modified) (1 diff)
-
shipping/method/parcelmachine/parcelmachine.php (modified) (2 diffs)
-
shipping/shipping.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
makecommerce/trunk/README.txt
r3093808 r3107349 4 4 Requires at least: 5.6.1 5 5 Tested up to: 6.5.3 6 Stable tag: 3.5. 16 Stable tag: 3.5.2 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later … … 80 80 81 81 == Changelog == 82 83 = 3.5.2 2024-06-25 = 84 * Tweak - Payment method preselection support in iframe 85 * Tweak - PHP 8.3 support 86 * Tweak - Ordering of card payment methods 87 * Fix - Incorrect WPML endpoint when redirecting from payment 88 * Fix - XSS vulnerability 82 89 83 90 = 3.5.1 2024-05-28 = -
makecommerce/trunk/includes/vendor/nategood/httpful/src/Httpful/Response/Headers.php
r1453456 r3107349 35 35 * @return bool 36 36 */ 37 #[\ReturnTypeWillChange] 37 38 public function offsetExists($offset) 38 39 { … … 44 45 * @return mixed 45 46 */ 47 #[\ReturnTypeWillChange] 46 48 public function offsetGet($offset) 47 49 { … … 56 58 * @throws \Exception 57 59 */ 60 #[\ReturnTypeWillChange] 58 61 public function offsetSet($offset, $value) 59 62 { … … 65 68 * @throws \Exception 66 69 */ 70 #[\ReturnTypeWillChange] 67 71 public function offsetUnset($offset) 68 72 { … … 73 77 * @return int 74 78 */ 79 #[\ReturnTypeWillChange] 75 80 public function count() 76 81 { -
makecommerce/trunk/languages/wc_makecommerce_domain.pot
r3090713 r3107349 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: MakeCommerce 3. 4.2\n"5 "Project-Id-Version: MakeCommerce 3.5.2\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: 2024-0 3-20T21:48:07+00:00\n"12 "POT-Creation-Date: 2024-06-25T07:12:51+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 9.0\n"14 "X-Generator: WP-CLI 2.10.0\n" 15 15 "X-Domain: wc_makecommerce_domain\n" 16 16 17 17 #. Plugin Name of the plugin 18 #: makecommerce.php 18 19 msgid "MakeCommerce" 19 20 msgstr "" … … 21 22 #. Plugin URI of the plugin 22 23 #. Author URI of the plugin 24 #: makecommerce.php 23 25 msgid "https://makecommerce.net/" 24 26 msgstr "" 25 27 26 28 #. Description of the plugin 29 #: makecommerce.php 27 30 msgid "Adds MakeCommerce payment gateway and Itella/Omniva/DPD parcel machine shipping methods to WooCommerce checkout" 28 31 msgstr "" 29 32 30 33 #. Author of the plugin 34 #: makecommerce.php 31 35 msgid "Maksekeskus AS" 32 36 msgstr "" … … 281 285 msgstr "" 282 286 283 #: makecommerce.php:9 6287 #: makecommerce.php:99 284 288 msgid "Cannot initiate MakeCommerce, a class and/or namespace called \"MakeCommerce\" is already in use somewhere else..." 285 289 msgstr "" 286 290 287 #: makecommerce.php:14 2291 #: makecommerce.php:145 288 292 msgid "Cannot initiate MakeCommerce, there seems to be no WooCommerce present or active..." 289 293 msgstr "" … … 310 314 311 315 #: payment/gateway/subscription.php:82 312 #: payment/payment.php:31 1316 #: payment/payment.php:319 313 317 msgid "Transaction ID" 314 318 msgstr "" 315 319 316 320 #: payment/gateway/subscription.php:83 317 #: payment/payment.php:3 12321 #: payment/payment.php:320 318 322 msgid "Payment option" 319 323 msgstr "" … … 332 336 msgstr "" 333 337 338 #: payment/gateway/woocommerce/blocks/woocommerceblocks.php:112 339 #: payment/gateway/woocommerce/woocommerce.php:181 340 msgid "Pay with bank-links or credit card" 341 msgstr "" 342 343 #: payment/gateway/woocommerce/blocks/woocommerceblocks.php:115 344 #: payment/gateway/woocommerce/woocommerce.php:411 345 msgid "Please select suitable payment option!" 346 msgstr "" 347 334 348 #: payment/gateway/woocommerce/creditcard.php:17 335 349 msgid "The order is still awaiting your payment" 336 350 msgstr "" 337 351 338 #: payment/gateway/woocommerce/creditcard.php: 54352 #: payment/gateway/woocommerce/creditcard.php:64 339 353 msgid "Pay for subscription" 340 354 msgstr "" 341 355 342 #: payment/gateway/woocommerce/creditcard.php: 55356 #: payment/gateway/woocommerce/creditcard.php:65 343 357 msgid "This order contains subscriptions" 344 358 msgstr "" 345 359 346 #: payment/gateway/woocommerce/creditcard.php: 56360 #: payment/gateway/woocommerce/creditcard.php:66 347 361 msgid "I agree that my card will be recurringly billed by this store" 348 362 msgstr "" 349 363 350 #: payment/gateway/woocommerce/creditcard.php: 83364 #: payment/gateway/woocommerce/creditcard.php:93 351 365 msgid "Pay with credit card" 352 366 msgstr "" 353 367 354 #: payment/gateway/woocommerce/creditcard.php: 84368 #: payment/gateway/woocommerce/creditcard.php:94 355 369 msgid "Please wait, processing payment..." 356 370 msgstr "" 357 371 358 #: payment/gateway/woocommerce/methods.php:1 61372 #: payment/gateway/woocommerce/methods.php:172 359 373 msgid "The payment methods list for MakeCommerce payment module is empty." 360 374 msgstr "" 361 375 362 #: payment/gateway/woocommerce/methods.php:1 62363 #: payment/gateway/woocommerce/methods.php:1 78376 #: payment/gateway/woocommerce/methods.php:173 377 #: payment/gateway/woocommerce/methods.php:189 364 378 msgid "Go to the settings to update them" 365 379 msgstr "" 366 380 367 #: payment/gateway/woocommerce/methods.php:1 77381 #: payment/gateway/woocommerce/methods.php:188 368 382 msgid "You have changed the environment for MakeCommerce payment module. The payment methods list has been loaded for a different environment." 369 383 msgstr "" 370 384 371 #: payment/gateway/woocommerce/methods.php: 493372 #: payment/gateway/woocommerce/methods.php:5 21385 #: payment/gateway/woocommerce/methods.php:504 386 #: payment/gateway/woocommerce/methods.php:532 373 387 msgid "No payment methods for selected country" 374 388 msgstr "" 375 389 376 #: payment/gateway/woocommerce/woocommerce.php:1 24390 #: payment/gateway/woocommerce/woocommerce.php:131 377 391 msgid "Enable/Disable" 378 392 msgstr "" 379 393 380 #: payment/gateway/woocommerce/woocommerce.php:1 26394 #: payment/gateway/woocommerce/woocommerce.php:133 381 395 msgid "Enable MakeCommerce payments" 382 396 msgstr "" 383 397 384 #: payment/gateway/woocommerce/woocommerce.php:1 36398 #: payment/gateway/woocommerce/woocommerce.php:143 385 399 msgid "MakeCommerce API" 386 400 msgstr "" 387 401 388 #: payment/gateway/woocommerce/woocommerce.php:1 37402 #: payment/gateway/woocommerce/woocommerce.php:144 389 403 msgid "Go to <a href=\"%s\">API settings</a> to fill in the credentials" 390 404 msgstr "" 391 405 392 #: payment/gateway/woocommerce/woocommerce.php:14 2406 #: payment/gateway/woocommerce/woocommerce.php:149 393 407 msgid "User Interface" 394 408 msgstr "" 395 409 396 #: payment/gateway/woocommerce/woocommerce.php:1 48410 #: payment/gateway/woocommerce/woocommerce.php:155 397 411 msgid "Set as default selection" 398 412 msgstr "" 399 413 400 #: payment/gateway/woocommerce/woocommerce.php:1 49414 #: payment/gateway/woocommerce/woocommerce.php:156 401 415 msgid "MakeCommerce payments widget will be selected by default" 402 416 msgstr "" 403 417 404 #: payment/gateway/woocommerce/woocommerce.php:1 56418 #: payment/gateway/woocommerce/woocommerce.php:163 405 419 msgid "Display MC payment channels as" 406 420 msgstr "" 407 421 408 #: payment/gateway/woocommerce/woocommerce.php:16 0422 #: payment/gateway/woocommerce/woocommerce.php:167 409 423 msgid "List" 410 424 msgstr "" 411 425 412 #: payment/gateway/woocommerce/woocommerce.php:16 1426 #: payment/gateway/woocommerce/woocommerce.php:168 413 427 msgid "Grouped to widget" 414 428 msgstr "" 415 429 416 #: payment/gateway/woocommerce/woocommerce.php:17 1417 #: payment/gateway/woocommerce/woocommerce.php:18 1430 #: payment/gateway/woocommerce/woocommerce.php:178 431 #: payment/gateway/woocommerce/woocommerce.php:188 418 432 msgid "Payments widget title" 419 433 msgstr "" 420 434 421 #: payment/gateway/woocommerce/woocommerce.php:1 73422 #: payment/gateway/woocommerce/woocommerce.php:1 83435 #: payment/gateway/woocommerce/woocommerce.php:180 436 #: payment/gateway/woocommerce/woocommerce.php:190 423 437 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'" 424 438 msgstr "" 425 439 426 #: payment/gateway/woocommerce/woocommerce.php:174 427 msgid "Pay with bank-links or credit card" 428 msgstr "" 429 430 #: payment/gateway/woocommerce/woocommerce.php:191 440 #: payment/gateway/woocommerce/woocommerce.php:198 431 441 msgid "MC payment channels display style" 432 442 msgstr "" 433 443 434 #: payment/gateway/woocommerce/woocommerce.php: 195444 #: payment/gateway/woocommerce/woocommerce.php:202 435 445 msgid "Logo" 436 446 msgstr "" 437 447 438 #: payment/gateway/woocommerce/woocommerce.php: 196448 #: payment/gateway/woocommerce/woocommerce.php:203 439 449 msgid "Text & logo" 440 450 msgstr "" 441 451 442 #: payment/gateway/woocommerce/woocommerce.php: 197452 #: payment/gateway/woocommerce/woocommerce.php:204 443 453 msgid "Text" 444 454 msgstr "" 445 455 446 #: payment/gateway/woocommerce/woocommerce.php:2 03456 #: payment/gateway/woocommerce/woocommerce.php:210 447 457 msgid "Size of payment channel logos" 448 458 msgstr "" 449 459 450 #: payment/gateway/woocommerce/woocommerce.php:2 07460 #: payment/gateway/woocommerce/woocommerce.php:214 451 461 msgid "Small" 452 462 msgstr "" 453 463 454 #: payment/gateway/woocommerce/woocommerce.php:2 08464 #: payment/gateway/woocommerce/woocommerce.php:215 455 465 msgid "Medium" 456 466 msgstr "" 457 467 458 #: payment/gateway/woocommerce/woocommerce.php:2 09468 #: payment/gateway/woocommerce/woocommerce.php:216 459 469 msgid "Large" 460 470 msgstr "" 461 471 462 #: payment/gateway/woocommerce/woocommerce.php:2 15472 #: payment/gateway/woocommerce/woocommerce.php:222 463 473 msgid "Group bank-links by countries" 464 474 msgstr "" 465 475 466 #: payment/gateway/woocommerce/woocommerce.php:22 2476 #: payment/gateway/woocommerce/woocommerce.php:229 467 477 msgid "Hide country selector" 468 478 msgstr "" 469 479 470 #: payment/gateway/woocommerce/woocommerce.php:2 23480 #: payment/gateway/woocommerce/woocommerce.php:230 471 481 msgid "Do not display country selector (flags) at payment methods" 472 482 msgstr "" 473 483 474 #: payment/gateway/woocommerce/woocommerce.php:2 29484 #: payment/gateway/woocommerce/woocommerce.php:236 475 485 msgid "Country selector style" 476 486 msgstr "" 477 487 478 #: payment/gateway/woocommerce/woocommerce.php:2 33488 #: payment/gateway/woocommerce/woocommerce.php:240 479 489 msgid "Flag" 480 490 msgstr "" 481 491 482 #: payment/gateway/woocommerce/woocommerce.php:2 34492 #: payment/gateway/woocommerce/woocommerce.php:241 483 493 msgid "Dropdown" 484 494 msgstr "" 485 495 486 #: payment/gateway/woocommerce/woocommerce.php:24 0496 #: payment/gateway/woocommerce/woocommerce.php:247 487 497 msgid "Define custom order of payment countries" 488 498 msgstr "" 489 499 490 #: payment/gateway/woocommerce/woocommerce.php:24 2500 #: payment/gateway/woocommerce/woocommerce.php:249 491 501 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)" 492 502 msgstr "" 493 503 494 #: payment/gateway/woocommerce/woocommerce.php:2 47504 #: payment/gateway/woocommerce/woocommerce.php:254 495 505 msgid "Define custom order of payment channels" 496 506 msgstr "" 497 507 498 #: payment/gateway/woocommerce/woocommerce.php:2 49508 #: payment/gateway/woocommerce/woocommerce.php:256 499 509 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)" 500 510 msgstr "" 501 511 502 #: payment/gateway/woocommerce/woocommerce.php:2 58512 #: payment/gateway/woocommerce/woocommerce.php:265 503 513 msgid "Credit Card Settings" 504 514 msgstr "" 505 515 506 #: payment/gateway/woocommerce/woocommerce.php:2 63516 #: payment/gateway/woocommerce/woocommerce.php:270 507 517 msgid "Prefill Credit Card form with customer data" 508 518 msgstr "" 509 519 510 #: payment/gateway/woocommerce/woocommerce.php:2 66520 #: payment/gateway/woocommerce/woocommerce.php:273 511 521 msgid "It will pass user Name and e-mail address to the Credit Card dialog to make the form filling easier" 512 522 msgstr "" 513 523 514 #: payment/gateway/woocommerce/woocommerce.php:27 0524 #: payment/gateway/woocommerce/woocommerce.php:277 515 525 msgid "Advanced Settings" 516 526 msgstr "" 517 527 518 #: payment/gateway/woocommerce/woocommerce.php:2 75528 #: payment/gateway/woocommerce/woocommerce.php:282 519 529 msgid "Disable automatic cancelled payment status update" 520 530 msgstr "" 521 531 522 #: payment/gateway/woocommerce/woocommerce.php:2 76532 #: payment/gateway/woocommerce/woocommerce.php:283 523 533 msgid "Disable automatic order status updates for cancelled payments by MakeCommerce" 524 534 msgstr "" 525 535 526 #: payment/gateway/woocommerce/woocommerce.php:2 79536 #: payment/gateway/woocommerce/woocommerce.php:286 527 537 msgid "Disable MakeCommerce from updating order statuses for cancelled payments and let WooCommerce handle the status change" 528 538 msgstr "" 529 539 530 #: payment/gateway/woocommerce/woocommerce.php:2 83540 #: payment/gateway/woocommerce/woocommerce.php:290 531 541 msgid "Disable automatic expired payment status update" 532 542 msgstr "" 533 543 534 #: payment/gateway/woocommerce/woocommerce.php:2 84544 #: payment/gateway/woocommerce/woocommerce.php:291 535 545 msgid "Disable automatic order status updates for expired payments by MakeCommerce" 536 546 msgstr "" 537 547 538 #: payment/gateway/woocommerce/woocommerce.php:2 87548 #: payment/gateway/woocommerce/woocommerce.php:294 539 549 msgid "Disable MakeCommerce from updating order statuses for expired payments and let WooCommerce handle the status change" 540 550 msgstr "" 541 551 542 #: payment/gateway/woocommerce/woocommerce.php:29 2552 #: payment/gateway/woocommerce/woocommerce.php:299 543 553 msgid "Update payment methods" 544 554 msgstr "" 545 555 546 #: payment/gateway/woocommerce/woocommerce.php: 293556 #: payment/gateway/woocommerce/woocommerce.php:300 547 557 msgid "Update" 548 558 msgstr "" 549 559 550 #: payment/gateway/woocommerce/woocommerce.php: 294560 #: payment/gateway/woocommerce/woocommerce.php:301 551 561 msgid "This will update shop configuration from MakeCommerce servers." 552 562 msgstr "" 553 563 554 #: payment/gateway/woocommerce/woocommerce.php:393 555 msgid "Please select suitable payment option!" 556 msgstr "" 557 558 #: payment/gateway/woocommerce/woocommerce.php:476 564 #: payment/gateway/woocommerce/woocommerce.php:500 559 565 msgid "An error occured when trying to process payment!" 560 566 msgstr "" … … 572 578 msgstr "" 573 579 574 #: payment/payment.php:23 1580 #: payment/payment.php:234 575 581 msgid "Order total and transaction amount did not match! Please contact us at" 576 582 msgstr "" 577 583 578 #: payment/payment.php:23 2584 #: payment/payment.php:235 579 585 msgid "[email protected]" 580 586 msgstr "" 581 587 582 #: payment/payment.php:23 5588 #: payment/payment.php:238 583 589 msgid "Transaction ID that was assigned to this order" 584 590 msgstr "" 585 591 586 #: payment/payment.php:2 39592 #: payment/payment.php:242 587 593 msgid "Amount that was paid" 588 594 msgstr "" … … 689 695 msgstr "" 690 696 691 #: shipping/method/courier/smartpost.php:65 697 #: shipping/method/courier/smartpost.php:71 698 #: shipping/method/courier/smartpost.php:84 692 699 msgid "Pick courier arrival time window" 693 700 msgstr "" 694 701 695 #: shipping/method/courier/smartpost.php:69 702 #: shipping/method/courier/smartpost.php:74 703 #: shipping/method/courier/smartpost.php:88 696 704 #: shipping/order.php:192 697 705 #: shipping/order.php:428 … … 699 707 msgstr "" 700 708 701 #: shipping/method/courier/smartpost.php:70 709 #: shipping/method/courier/smartpost.php:75 710 #: shipping/method/courier/smartpost.php:89 702 711 msgid "Worktime (09:00..17:00)" 703 712 msgstr "" 704 713 705 #: shipping/method/courier/smartpost.php:71 714 #: shipping/method/courier/smartpost.php:76 715 #: shipping/method/courier/smartpost.php:90 706 716 msgid "After worktime (17:00..21:00)" 707 717 msgstr "" 708 718 709 #: shipping/method/method.php:1 38719 #: shipping/method/method.php:148 710 720 msgid "Update here" 711 721 msgstr "" 712 722 713 #: shipping/method/method.php:1 39723 #: shipping/method/method.php:149 714 724 #: shipping/shipping.php:1079 715 725 msgid "Dismiss" 716 726 msgstr "" 717 727 718 #: shipping/method/method.php:1 64728 #: shipping/method/method.php:174 719 729 msgid "<strong>Parcel machine</strong> is a required field." 720 730 msgstr "" 721 731 722 #: shipping/method/method.php:4 82732 #: shipping/method/method.php:492 723 733 msgid "Generic and pricing options" 724 734 msgstr "" 725 735 726 #: shipping/method/method.php:4 86736 #: shipping/method/method.php:496 727 737 msgid "Enable" 728 738 msgstr "" 729 739 730 #: shipping/method/method.php:4 88740 #: shipping/method/method.php:498 731 741 msgid "enabled" 732 742 msgstr "" 733 743 734 #: shipping/method/method.php: 493744 #: shipping/method/method.php:503 735 745 msgid "Maximum weight allowed for shipping (%s)" 736 746 msgstr "" 737 747 738 #: shipping/method/method.php:5 00748 #: shipping/method/method.php:510 739 749 msgid "Look and feel options" 740 750 msgstr "" 741 751 742 #: shipping/method/method.php:5 01752 #: shipping/method/method.php:511 743 753 msgid "Options for presentation on check-out page" 744 754 msgstr "" 745 755 746 #: shipping/method/method.php:5 10747 #: shipping/method/method.php:5 17756 #: shipping/method/method.php:520 757 #: shipping/method/method.php:527 748 758 msgid "Shipping Method Title" 749 759 msgstr "" 750 760 751 #: shipping/method/method.php:5 34761 #: shipping/method/method.php:544 752 762 msgid "API access for" 753 763 msgstr "" 754 764 755 #: shipping/method/method.php:5 35765 #: shipping/method/method.php:545 756 766 msgid "You can automatically create shipments into %s system and print the out the package labels right here, at the shop orders view. <br> Please set your %s web services account credentials below here. <br>(see more on <a href=\"https://makecommerce.net/en/integration-modules/makecommerce-woocommerce-payment-plugin/#carriers-integration\">MakeCommerce plugin page</a>. Don't forget to enable also <a href=\"%s\">MC API keys</a>!)" 757 767 msgstr "" 758 768 759 #: shipping/method/method.php:5 55769 #: shipping/method/method.php:565 760 770 msgid "Shipping price" 761 771 msgstr "" 762 772 763 #: shipping/method/method.php:5 61773 #: shipping/method/method.php:571 764 774 msgid "Free shipping amount" 765 775 msgstr "" 766 776 767 #: shipping/method/method.php:5 64777 #: shipping/method/method.php:574 768 778 msgid "(0 means no free shipping)" 769 779 msgstr "" 770 780 771 #: shipping/method/method.php:5 68781 #: shipping/method/method.php:578 772 782 msgid "Free shipping coupons" 773 783 msgstr "" 774 784 775 #: shipping/method/method.php:5 71785 #: shipping/method/method.php:581 776 786 msgid "Allow using free shipping coupons to be used with this method" 777 787 msgstr "" 778 788 779 #: shipping/method/method.php:5 87789 #: shipping/method/method.php:597 780 790 msgid "Return address" 781 791 msgstr "" 782 792 783 #: shipping/method/method.php:5 88793 #: shipping/method/method.php:598 784 794 msgid "Please define return address for %s shipments.<br><b>All fields are required.</b>" 785 795 msgstr "" 786 796 787 #: shipping/method/method.php: 593797 #: shipping/method/method.php:603 788 798 msgid "Shop name" 789 799 msgstr "" 790 800 791 #: shipping/method/method.php: 599801 #: shipping/method/method.php:609 792 802 msgid "Shop phone (mobile)" 793 803 msgstr "" 794 804 795 #: shipping/method/method.php:6 05805 #: shipping/method/method.php:615 796 806 msgid "Shop email" 797 807 msgstr "" 798 808 799 #: shipping/method/method.php:6 11809 #: shipping/method/method.php:621 800 810 #: shipping/method/parcelmachine/lpexpress.php:64 801 811 msgid "Shop address country" 802 812 msgstr "" 803 813 804 #: shipping/method/method.php:6 22814 #: shipping/method/method.php:632 805 815 msgid "Shop address city" 806 816 msgstr "" 807 817 808 #: shipping/method/method.php:6 28818 #: shipping/method/method.php:638 809 819 msgid "Shop postal code" 810 820 msgstr "" 811 821 812 #: shipping/method/method.php:6 34822 #: shipping/method/method.php:644 813 823 msgid "Shop address street" 814 824 msgstr "" 815 825 816 #: shipping/method/method.php:6 51826 #: shipping/method/method.php:661 817 827 msgid "%s web services username" 818 828 msgstr "" 819 829 820 #: shipping/method/method.php:6 57830 #: shipping/method/method.php:667 821 831 msgid "%s web services password" 822 832 msgstr "" … … 936 946 msgstr "" 937 947 938 #: shipping/method/parcelmachine/parcelmachine.php:1 44948 #: shipping/method/parcelmachine/parcelmachine.php:159 939 949 #: shipping/shipping.php:789 940 950 msgid "-- select parcel machine --" 941 951 msgstr "" 942 952 943 #: shipping/method/parcelmachine/parcelmachine.php:1 69953 #: shipping/method/parcelmachine/parcelmachine.php:191 944 954 msgid "Choose machine from map" 945 955 msgstr "" 946 956 947 #: shipping/method/parcelmachine/parcelmachine.php:4 51957 #: shipping/method/parcelmachine/parcelmachine.php:475 948 958 msgid "The transport mediation service is already enabled for your shop. You are good to go!" 949 959 msgstr "" 950 960 951 #: shipping/method/parcelmachine/parcelmachine.php:4 52961 #: shipping/method/parcelmachine/parcelmachine.php:476 952 962 msgid "The transport mediation service is NOT ENABLED enabled for your shop. Please go to merchant portal to activate it!" 953 963 msgstr "" 954 964 955 #: shipping/method/parcelmachine/parcelmachine.php:4 53965 #: shipping/method/parcelmachine/parcelmachine.php:477 956 966 msgid "There was an error with your request. Please try again." 957 967 msgstr "" -
makecommerce/trunk/makecommerce.php
r3093808 r3107349 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.5. 112 * Version: 3.5.2 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.5. 1' );34 define( 'MAKECOMMERCE_VERSION', '3.5.2' ); 35 35 define( 'MAKECOMMERCE_PLUGIN_ID', 'makecommerce' ); 36 36 -
makecommerce/trunk/payment/gateway/woocommerce/creditcard.php
r3012381 r3107349 34 34 $idReference = $order->get_order_number(); 35 35 36 $selectedMethod = $order->get_meta( '_makecommerce_preselected_method'); 37 $preselect = 'CC'; 38 39 if ( stristr( $selectedMethod, 'apple_pay' ) ) { 40 $preselect = 'AP'; 41 } elseif ( stristr( $selectedMethod, 'google_pay' ) ) { 42 $preselect = 'GP'; 43 } 44 36 45 $jsParams = array( 37 46 'key' => $this->MK->getPublishableKey(), … … 47 56 'currency' => method_exists( $order, 'get_currency' ) ? $order->get_currency() : $order->currency, 48 57 'backdropclose' => 'false', 58 'preselect' => $preselect 49 59 ); 50 60 -
makecommerce/trunk/payment/gateway/woocommerce/js/mc_cc_init.js
r2684982 r3107349 14 14 'openOnLoad': MC_CC_INIT.openonload, 15 15 'currency': MC_CC_INIT.currency, 16 'backdropClose': MC_CC_INIT.backdropclose 16 'backdropClose': MC_CC_INIT.backdropclose, 17 'preselect': MC_CC_INIT.preselect 17 18 } 18 19 -
makecommerce/trunk/payment/gateway/woocommerce/methods.php
r3090713 r3107349 121 121 122 122 if ( isset( $cards ) ) { 123 $this->cards = array_reverse( $cards );123 $this->cards = $cards; 124 124 } 125 125 -
makecommerce/trunk/payment/gateway/woocommerce/woocommerce.php
r3093808 r3107349 12 12 13 13 public $id = MAKECOMMERCE_PLUGIN_ID; 14 public $version = '3.5. 1';14 public $version = '3.5.2'; 15 15 16 16 public $payment_return_url; … … 316 316 add_action( 'woocommerce_scheduled_subscription_payment_' . $this->id, array( $this, 'process_subscription_payment_start' ), 10, 2 ); 317 317 add_action( 'scheduled_subscription_payment_' . $this->id, array( $this, 'process_subscription_payment_start' ), 10, 2 ); 318 319 add_action( 'woocommerce_checkout_update_order_meta', [$this, 'set_received_order_url'] ); 318 320 319 321 if ( $this->init == false ) { … … 625 627 } 626 628 627 public function woocommerce_blocks_support() { 628 if ( class_exists( \Automattic\WooCommerce\Blocks\Payments\Integrations\AbstractPaymentMethodType::class ) ) { 629 require_once plugin_dir_path(__FILE__) . 'blocks/woocommerceblocks.php'; 630 add_action( 631 'woocommerce_blocks_payment_method_type_registration', 632 function( \Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry $payment_method_registry ) { 633 $payment_method_registry->register( new WooCommerceBlocks ); 634 } 635 ); 636 } 637 } 629 /** 630 * Adds correct order received url to an order based on wpml language 631 * 632 * @since 3.5.0 633 */ 634 public function set_received_order_url( $order_id ) { 635 $order = wc_get_order( $order_id ); 636 if ( !$order ) { 637 return; 638 } 639 $order->update_meta_data( '_makecommerce_order_received_url', $order->get_checkout_order_received_url() ); 640 $order->save(); 641 } 642 643 public function woocommerce_blocks_support() { 644 if ( class_exists( \Automattic\WooCommerce\Blocks\Payments\Integrations\AbstractPaymentMethodType::class ) ) { 645 require_once plugin_dir_path(__FILE__) . 'blocks/woocommerceblocks.php'; 646 add_action( 647 'woocommerce_blocks_payment_method_type_registration', 648 function( \Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry $payment_method_registry ) { 649 $payment_method_registry->register( new WooCommerceBlocks ); 650 } 651 ); 652 } 653 } 638 654 } -
makecommerce/trunk/payment/payment.php
r3093808 r3107349 221 221 } 222 222 223 $returnUrl = $order->get_checkout_order_received_url(); 223 $returnUrl = $order->get_meta( '_makecommerce_order_received_url', true ); 224 if ( !$returnUrl ) { 225 $returnUrl = $order->get_checkout_order_received_url(); 226 } 224 227 225 228 // Only check sums if $totalAmount is set -
makecommerce/trunk/shipping/method/method.php
r3093808 r3107349 17 17 public $id; 18 18 public $instance_id; 19 public $availability; 20 public $countries; 21 22 protected $ext; 23 protected $order_country; 24 25 private $enable; 26 private $free_shipping_min_amount; 27 private $maximum_weight; 28 private $name_ext; 19 29 20 30 public $supports = array( -
makecommerce/trunk/shipping/method/parcelmachine/parcelmachine.php
r3090713 r3107349 20 20 public $identifierString; 21 21 22 private $mk_lpexpress_template; 23 private $prioritization; 24 private $searchable_parcelmachines; 25 private $short_office_names; 26 private $use_white_apts; 22 27 23 28 /** … … 34 39 35 40 //set parcelmachine specific properties 36 $this->prioritization = null;37 41 if ( isset( $this->settings['prioritization'] ) ) { 38 42 $this->prioritization = $this->settings['prioritization']; 39 43 } 40 44 41 $this->short_office_names = null;42 45 if ( isset( $this->settings['short_office_names'] ) ) { 43 46 $this->short_office_names = $this->settings['short_office_names']; 44 47 } 45 48 46 $this->use_white_apts = null;47 49 if ( isset( $this->settings['use_white_apts'] ) ) { 48 50 $this->use_white_apts = $this->settings['use_white_apts']; 49 51 } 50 52 51 $this->searchable_parcelmachines = null;52 53 if ( isset( $this->settings['searchable_parcelmachines'] ) ) { 53 54 $this->searchable_parcelmachines = $this->settings['searchable_parcelmachines']; 54 55 } 55 56 56 $this->mk_lpexpress_template = null;57 57 if ( isset( $this->settings['mk_lpexpress_template'] ) ) { 58 58 $this->mk_lpexpress_template = $this->settings['mk_lpexpress_template']; -
makecommerce/trunk/shipping/shipping.php
r3090713 r3107349 1071 1071 $_GET['dismiss_mc_invalid_google_api_key'] = '1'; 1072 1072 1073 $dismiss_href = add_query_arg( $_GET);1073 $dismiss_href = esc_url( add_query_arg( $_GET ) ); 1074 1074 1075 1075 // Display error
Note: See TracChangeset
for help on using the changeset viewer.