Changeset 3740539
- Timestamp:
- 10/12/2026 05:32:02 AM (6 weeks ago)
- Location:
- paylexer
- Files:
-
- 2 added
- 24 edited
- 1 copied
-
tags/2.0.4 (copied) (copied from paylexer/trunk )
-
tags/2.0.4/composer.json (modified) (1 diff)
-
tags/2.0.4/languages/paylexer.pot (modified) (21 diffs)
-
tags/2.0.4/paylexer.php (modified) (2 diffs)
-
tags/2.0.4/readme.txt (modified) (6 diffs)
-
tags/2.0.4/src/Platforms/Gateways/WPTravelEngine/Base.php (modified) (1 diff)
-
tags/2.0.4/src/Platforms/Gateways/WooCommerce/Base.php (modified) (2 diffs)
-
tags/2.0.4/src/Platforms/WooCommerce.php (modified) (2 diffs)
-
tags/2.0.4/src/Utils/ReusableOrderReference.php (added)
-
tags/2.0.4/src/gateway-redirects.php (modified) (1 diff)
-
tags/2.0.4/vendor/autoload.php (modified) (1 diff)
-
tags/2.0.4/vendor/composer/autoload_real.php (modified) (2 diffs)
-
tags/2.0.4/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/2.0.4/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/composer.json (modified) (1 diff)
-
trunk/languages/paylexer.pot (modified) (21 diffs)
-
trunk/paylexer.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (6 diffs)
-
trunk/src/Platforms/Gateways/WPTravelEngine/Base.php (modified) (1 diff)
-
trunk/src/Platforms/Gateways/WooCommerce/Base.php (modified) (2 diffs)
-
trunk/src/Platforms/WooCommerce.php (modified) (2 diffs)
-
trunk/src/Utils/ReusableOrderReference.php (added)
-
trunk/src/gateway-redirects.php (modified) (1 diff)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
paylexer/tags/2.0.4/composer.json
r3733684 r3740539 4 4 "type": "wordpress-plugin", 5 5 "license": "GPL-3.0-or-later", 6 "version": "2.0. 3",6 "version": "2.0.4", 7 7 "authors": [ 8 8 { -
paylexer/tags/2.0.4/languages/paylexer.pot
r3733684 r3740539 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: PayLexer 2.0. 3\n"5 "Project-Id-Version: PayLexer 2.0.4\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/paylexer\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: 2026-10- 08T04:58:14+00:00\n"12 "POT-Creation-Date: 2026-10-12T05:06:50+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 83 83 84 84 #: src/Abstracts/BasePlatform.php:350 85 #: src/Platforms/WooCommerce.php:16 7985 #: src/Platforms/WooCommerce.php:1680 86 86 #: src/Platforms/WPTravelEngine.php:530 87 87 msgid "Payment gateway not specified." … … 410 410 411 411 #: src/Platforms/EDD.php:919 412 #: src/Platforms/Gateways/WPTravelEngine/Base.php:1 81412 #: src/Platforms/Gateways/WPTravelEngine/Base.php:179 413 413 msgid "We were unable to start your checkout session. Please try again or contact support if the issue persists." 414 414 msgstr "" … … 432 432 433 433 #: src/Platforms/EDD.php:1040 434 #: src/Platforms/WooCommerce.php:120 7434 #: src/Platforms/WooCommerce.php:1208 435 435 #: src/Platforms/WPTravelEngine.php:891 436 436 msgid "Security validation failed." … … 439 439 #: src/Platforms/EDD.php:1052 440 440 #: src/Platforms/FluentCart.php:355 441 #: src/Platforms/Gateways/WooCommerce/Base.php:36 3442 #: src/Platforms/Gateways/WooCommerce/Base.php:36 7443 #: src/Platforms/Gateways/WooCommerce/Base.php:9 73441 #: src/Platforms/Gateways/WooCommerce/Base.php:364 442 #: src/Platforms/Gateways/WooCommerce/Base.php:368 443 #: src/Platforms/Gateways/WooCommerce/Base.php:985 444 444 msgid "Order not found." 445 445 msgstr "" … … 447 447 #: src/Platforms/EDD.php:1140 448 448 #: src/Platforms/FluentCart.php:714 449 #: src/Platforms/WooCommerce.php:13 09449 #: src/Platforms/WooCommerce.php:1310 450 450 #: src/Platforms/WPTravelEngine.php:997 451 451 msgid "PayLexer Details" … … 454 454 #: src/Platforms/EDD.php:1145 455 455 #: src/Platforms/FluentCart.php:590 456 #: src/Platforms/WooCommerce.php:135 2456 #: src/Platforms/WooCommerce.php:1353 457 457 msgid "Customer" 458 458 msgstr "" … … 460 460 #: src/Platforms/EDD.php:1156 461 461 #: src/Platforms/FluentCart.php:606 462 #: src/Platforms/WooCommerce.php:136 4462 #: src/Platforms/WooCommerce.php:1365 463 463 #: assets/webhook-logs-app/components/LogDetail.jsx:88 464 464 #: assets/webhook-logs-app/components/LogsTable.jsx:21 … … 468 468 #: src/Platforms/EDD.php:1162 469 469 #: src/Platforms/FluentCart.php:621 470 #: src/Platforms/WooCommerce.php:139 2470 #: src/Platforms/WooCommerce.php:1393 471 471 msgid "Order ID" 472 472 msgstr "" … … 474 474 #: src/Platforms/EDD.php:1174 475 475 #: src/Platforms/FluentCart.php:706 476 #: src/Platforms/WooCommerce.php:13 69476 #: src/Platforms/WooCommerce.php:1370 477 477 msgid "Transaction ID" 478 478 msgstr "" … … 480 480 #: src/Platforms/EDD.php:1195 481 481 #: src/Platforms/FluentCart.php:652 482 #: src/Platforms/WooCommerce.php:140 6482 #: src/Platforms/WooCommerce.php:1407 483 483 #: assets/webhook-logs-app/components/LogDetail.jsx:102 484 484 msgid "Subscription ID" … … 487 487 #: src/Platforms/EDD.php:1210 488 488 #: src/Platforms/FluentCart.php:679 489 #: src/Platforms/WooCommerce.php:143 7489 #: src/Platforms/WooCommerce.php:1438 490 490 msgid "Gateway Subscription ID" 491 491 msgstr "" 492 492 493 493 #: src/Platforms/EDD.php:1251 494 #: src/Platforms/WooCommerce.php:106 3495 #: src/Platforms/WooCommerce.php:166 5494 #: src/Platforms/WooCommerce.php:1064 495 #: src/Platforms/WooCommerce.php:1666 496 496 #: src/Platforms/WPTravelEngine.php:803 497 497 msgid "Security validation failed. Please refresh the page and try again." … … 505 505 #. translators: %s: Transaction ID. 506 506 #: src/Platforms/EDD.php:1303 507 #: src/Platforms/Gateways/WooCommerce/Base.php:8 14507 #: src/Platforms/Gateways/WooCommerce/Base.php:826 508 508 #, php-format 509 509 msgid "PayLexer payment completed. Transaction ID: %s" … … 517 517 518 518 #: src/Platforms/EDD.php:1356 519 #: src/Platforms/Gateways/WooCommerce/Base.php:8 54519 #: src/Platforms/Gateways/WooCommerce/Base.php:866 520 520 msgid "Payment completed successfully." 521 521 msgstr "" 522 522 523 523 #: src/Platforms/EDD.php:1364 524 #: src/Platforms/Gateways/WooCommerce/Base.php:8 60525 #: src/Platforms/Gateways/WPTravelEngine/Base.php:25 8524 #: src/Platforms/Gateways/WooCommerce/Base.php:872 525 #: src/Platforms/Gateways/WPTravelEngine/Base.php:256 526 526 msgid "Payment failed." 527 527 msgstr "" … … 538 538 539 539 #: src/Platforms/EDD.php:1397 540 #: src/Platforms/Gateways/WooCommerce/Base.php:9 01540 #: src/Platforms/Gateways/WooCommerce/Base.php:913 541 541 msgid "Payment was cancelled." 542 542 msgstr "" … … 545 545 #. translators: %s is the payment status. 546 546 #: src/Platforms/EDD.php:1404 547 #: src/Platforms/Gateways/WPTravelEngine/Base.php:29 7547 #: src/Platforms/Gateways/WPTravelEngine/Base.php:295 548 548 #, php-format 549 549 msgid "Unknown payment status: %s" … … 552 552 #: src/Platforms/EDD/RecurringGateway.php:354 553 553 #: src/Platforms/EDD/RecurringGateway.php:565 554 #: src/Platforms/Gateways/WooCommerce/Base.php:20 69555 #: src/Platforms/WooCommerce.php:181 4554 #: src/Platforms/Gateways/WooCommerce/Base.php:2081 555 #: src/Platforms/WooCommerce.php:1815 556 556 msgid "Subscription could not be started. Please try again." 557 557 msgstr "" … … 706 706 707 707 #: src/Platforms/FluentCart/ProcessorHelper.php:415 708 #: src/Platforms/WooCommerce.php:97 0708 #: src/Platforms/WooCommerce.php:971 709 709 msgid "Product" 710 710 msgstr "" … … 760 760 msgstr "" 761 761 762 #: src/Platforms/Gateways/WooCommerce/Base.php:23 8762 #: src/Platforms/Gateways/WooCommerce/Base.php:239 763 763 msgid "Enable/Disable" 764 764 msgstr "" 765 765 766 766 #. translators: %s: Payment method title. 767 #: src/Platforms/Gateways/WooCommerce/Base.php:24 1767 #: src/Platforms/Gateways/WooCommerce/Base.php:242 768 768 #, php-format 769 769 msgid "Enable %s" 770 770 msgstr "" 771 771 772 #: src/Platforms/Gateways/WooCommerce/Base.php:24 5772 #: src/Platforms/Gateways/WooCommerce/Base.php:246 773 773 msgid "Test Mode" 774 774 msgstr "" 775 775 776 776 #. translators: %s: Payment method title. 777 #: src/Platforms/Gateways/WooCommerce/Base.php:24 8777 #: src/Platforms/Gateways/WooCommerce/Base.php:249 778 778 #, php-format 779 779 msgid "Enable Test Mode for %s" 780 780 msgstr "" 781 781 782 #: src/Platforms/Gateways/WooCommerce/Base.php:25 2782 #: src/Platforms/Gateways/WooCommerce/Base.php:253 783 783 msgid "Description" 784 784 msgstr "" 785 785 786 #: src/Platforms/Gateways/WooCommerce/Base.php:25 4786 #: src/Platforms/Gateways/WooCommerce/Base.php:255 787 787 msgid "Payment method description shown to customers during checkout." 788 788 msgstr "" 789 789 790 #: src/Platforms/Gateways/WooCommerce/Base.php:35 3791 #: src/Platforms/Gateways/WooCommerce/Base.php:35 7790 #: src/Platforms/Gateways/WooCommerce/Base.php:354 791 #: src/Platforms/Gateways/WooCommerce/Base.php:358 792 792 msgid "WooCommerce is not available." 793 793 msgstr "" 794 794 795 #: src/Platforms/Gateways/WooCommerce/Base.php:4 09795 #: src/Platforms/Gateways/WooCommerce/Base.php:410 796 796 msgid "Duplicate order - using pre-created order for redirect gateway." 797 797 msgstr "" 798 798 799 #: src/Platforms/Gateways/WooCommerce/Base.php:43 3799 #: src/Platforms/Gateways/WooCommerce/Base.php:434 800 800 msgid "Failed to initialize payment. Please try again." 801 801 msgstr "" 802 802 803 #: src/Platforms/Gateways/WooCommerce/Base.php:44 3803 #: src/Platforms/Gateways/WooCommerce/Base.php:444 804 804 msgid "Awaiting PayLexer payment." 805 805 msgstr "" 806 806 807 #: src/Platforms/Gateways/WooCommerce/Base.php:45 0807 #: src/Platforms/Gateways/WooCommerce/Base.php:451 808 808 msgid "Payment initialization failed. Please try again." 809 809 msgstr "" 810 810 811 #: src/Platforms/Gateways/WooCommerce/Base.php: 595812 #: src/Platforms/Gateways/WooCommerce/Base.php:12 83813 #: src/Platforms/Gateways/WooCommerce/Base.php:1 397811 #: src/Platforms/Gateways/WooCommerce/Base.php:607 812 #: src/Platforms/Gateways/WooCommerce/Base.php:1295 813 #: src/Platforms/Gateways/WooCommerce/Base.php:1409 814 814 msgid "Failed to create checkout session." 815 815 msgstr "" 816 816 817 #: src/Platforms/Gateways/WooCommerce/Base.php:6 13818 #: src/Platforms/Gateways/WooCommerce/Base.php:1 297819 #: src/Platforms/Gateways/WooCommerce/Base.php:14 11817 #: src/Platforms/Gateways/WooCommerce/Base.php:625 818 #: src/Platforms/Gateways/WooCommerce/Base.php:1309 819 #: src/Platforms/Gateways/WooCommerce/Base.php:1423 820 820 msgid "Checkout URL not received." 821 821 msgstr "" 822 822 823 #: src/Platforms/Gateways/WooCommerce/Base.php:8 48823 #: src/Platforms/Gateways/WooCommerce/Base.php:860 824 824 msgid "[PayLexer] Subscription activated via payment confirmation." 825 825 msgstr "" 826 826 827 #: src/Platforms/Gateways/WooCommerce/Base.php:8 71828 #: src/Platforms/Gateways/WooCommerce/Base.php:16 18827 #: src/Platforms/Gateways/WooCommerce/Base.php:883 828 #: src/Platforms/Gateways/WooCommerce/Base.php:1630 829 829 msgid "[PayLexer] Subscription put on-hold due to payment failure." 830 830 msgstr "" 831 831 832 #: src/Platforms/Gateways/WooCommerce/Base.php:886 832 #: src/Platforms/Gateways/WooCommerce/Base.php:898 833 #: src/Platforms/Gateways/WooCommerce/Base.php:1218 834 msgid "Payment cancelled by customer." 835 msgstr "" 836 837 #: src/Platforms/Gateways/WooCommerce/Base.php:906 838 msgid "[PayLexer] Subscription cancelled by customer at checkout." 839 msgstr "" 840 841 #: src/Platforms/Gateways/WooCommerce/Base.php:922 842 msgid "Unknown payment status." 843 msgstr "" 844 845 #: src/Platforms/Gateways/WooCommerce/Base.php:993 846 msgid "PayLexer order reference not found. Refund must be processed manually." 847 msgstr "" 848 849 #. translators: %s: gateway display name 850 #: src/Platforms/Gateways/WooCommerce/Base.php:1008 851 #, php-format 852 msgid "%s does not support refunds." 853 msgstr "" 854 855 #. translators: %s: gateway display name 856 #: src/Platforms/Gateways/WooCommerce/Base.php:1027 857 #, php-format 858 msgid "%s does not support partial refunds." 859 msgstr "" 860 861 #. translators: %s: gateway error message. 862 #: src/Platforms/Gateways/WooCommerce/Base.php:1062 863 #, php-format 864 msgid "[PayLexer] Refund outcome UNCONFIRMED: %s The refund was kept in WooCommerce — verify at the gateway before retrying." 865 msgstr "" 866 867 #. translators: 1: Amount, 2: Reason 868 #: src/Platforms/Gateways/WooCommerce/Base.php:1080 869 #, php-format 870 msgid "PayLexer refund initiated: %1$s. Reason: %2$s" 871 msgstr "" 872 833 873 #: src/Platforms/Gateways/WooCommerce/Base.php:1206 834 msgid "Payment cancelled by customer."835 msgstr ""836 837 #: src/Platforms/Gateways/WooCommerce/Base.php:894838 msgid "[PayLexer] Subscription cancelled by customer at checkout."839 msgstr ""840 841 #: src/Platforms/Gateways/WooCommerce/Base.php:910842 msgid "Unknown payment status."843 msgstr ""844 845 #: src/Platforms/Gateways/WooCommerce/Base.php:981846 msgid "PayLexer order reference not found. Refund must be processed manually."847 msgstr ""848 849 #. translators: %s: gateway display name850 #: src/Platforms/Gateways/WooCommerce/Base.php:996851 #, php-format852 msgid "%s does not support refunds."853 msgstr ""854 855 #. translators: %s: gateway display name856 #: src/Platforms/Gateways/WooCommerce/Base.php:1015857 #, php-format858 msgid "%s does not support partial refunds."859 msgstr ""860 861 #. translators: %s: gateway error message.862 #: src/Platforms/Gateways/WooCommerce/Base.php:1050863 #, php-format864 msgid "[PayLexer] Refund outcome UNCONFIRMED: %s The refund was kept in WooCommerce — verify at the gateway before retrying."865 msgstr ""866 867 #. translators: 1: Amount, 2: Reason868 #: src/Platforms/Gateways/WooCommerce/Base.php:1068869 #, php-format870 msgid "PayLexer refund initiated: %1$s. Reason: %2$s"871 msgstr ""872 873 #: src/Platforms/Gateways/WooCommerce/Base.php:1194874 874 msgid "PayLexer payment failed." 875 875 msgstr "" 876 876 877 #: src/Platforms/Gateways/WooCommerce/Base.php:1 197877 #: src/Platforms/Gateways/WooCommerce/Base.php:1209 878 878 #: src/Services/LocalizedDataService.php:91 879 879 #: assets/js/platforms/woocommerce-blocks.js:274 … … 881 881 msgstr "" 882 882 883 #: src/Platforms/Gateways/WooCommerce/Base.php:12 09883 #: src/Platforms/Gateways/WooCommerce/Base.php:1221 884 884 msgid "Payment was cancelled. Please try again or choose a different payment method." 885 885 msgstr "" 886 886 887 #: src/Platforms/Gateways/WooCommerce/Base.php:12 17887 #: src/Platforms/Gateways/WooCommerce/Base.php:1229 888 888 msgid "Awaiting PayLexer payment confirmation." 889 889 msgstr "" 890 890 891 #: src/Platforms/Gateways/WooCommerce/Base.php:12 20891 #: src/Platforms/Gateways/WooCommerce/Base.php:1232 892 892 msgid "Your payment is being processed. You will receive confirmation once completed." 893 893 msgstr "" 894 894 895 #: src/Platforms/Gateways/WooCommerce/Base.php:12 48896 #: src/Platforms/Gateways/WooCommerce/Base.php:13 08895 #: src/Platforms/Gateways/WooCommerce/Base.php:1260 896 #: src/Platforms/Gateways/WooCommerce/Base.php:1320 897 897 msgid "PayLexer configuration missing. Please contact support." 898 898 msgstr "" 899 899 900 #: src/Platforms/Gateways/WooCommerce/Base.php:13 14900 #: src/Platforms/Gateways/WooCommerce/Base.php:1326 901 901 msgid "Cart session not available." 902 902 msgstr "" 903 903 904 #: src/Platforms/Gateways/WooCommerce/Base.php:13 46904 #: src/Platforms/Gateways/WooCommerce/Base.php:1358 905 905 #: src/Services/PaylexerCheckoutProcessor.php:165 906 906 msgid "Customer email is required." 907 907 msgstr "" 908 908 909 #: src/Platforms/Gateways/WooCommerce/Base.php:15 86909 #: src/Platforms/Gateways/WooCommerce/Base.php:1598 910 910 msgid "[PayLexer] Subscription activated via blocks payment confirmation." 911 911 msgstr "" 912 912 913 #: src/Platforms/Gateways/WooCommerce/Base.php:16 14913 #: src/Platforms/Gateways/WooCommerce/Base.php:1626 914 914 msgid "PayLexer subscription payment failed." 915 915 msgstr "" 916 916 917 #: src/Platforms/Gateways/WooCommerce/Base.php:16 21917 #: src/Platforms/Gateways/WooCommerce/Base.php:1633 918 918 msgid "PayLexer subscription payment cancelled by customer." 919 919 msgstr "" 920 920 921 #: src/Platforms/Gateways/WooCommerce/Base.php:16 25921 #: src/Platforms/Gateways/WooCommerce/Base.php:1637 922 922 msgid "[PayLexer] Subscription cancelled by customer at blocks checkout." 923 923 msgstr "" 924 924 925 #: src/Platforms/Gateways/WooCommerce/Base.php:16 28926 #: src/Platforms/Gateways/WooCommerce/Base.php:16 38927 #: src/Platforms/Gateways/WooCommerce/Base.php:2 089925 #: src/Platforms/Gateways/WooCommerce/Base.php:1640 926 #: src/Platforms/Gateways/WooCommerce/Base.php:1650 927 #: src/Platforms/Gateways/WooCommerce/Base.php:2101 928 928 msgid "Awaiting PayLexer subscription activation." 929 929 msgstr "" 930 930 931 #: src/Platforms/Gateways/WooCommerce/Base.php:20 16931 #: src/Platforms/Gateways/WooCommerce/Base.php:2028 932 932 msgid "WooCommerce Subscriptions is required for subscription payments." 933 933 msgstr "" 934 934 935 #: src/Platforms/Gateways/WooCommerce/Base.php:20 26935 #: src/Platforms/Gateways/WooCommerce/Base.php:2038 936 936 msgid "No subscription found for this order." 937 937 msgstr "" 938 938 939 #: src/Platforms/Gateways/WooCommerce/Base.php:22 56939 #: src/Platforms/Gateways/WooCommerce/Base.php:2268 940 940 msgid "Sign-up Fee" 941 941 msgstr "" 942 942 943 #: src/Platforms/Gateways/WooCommerce/Base.php:24 63943 #: src/Platforms/Gateways/WooCommerce/Base.php:2475 944 944 msgid "[PayLexer] WooCommerce Subscriptions not available." 945 945 msgstr "" 946 946 947 #: src/Platforms/Gateways/WooCommerce/Base.php:24 71947 #: src/Platforms/Gateways/WooCommerce/Base.php:2483 948 948 msgid "[PayLexer] No subscription found for renewal order." 949 949 msgstr "" 950 950 951 #: src/Platforms/Gateways/WooCommerce/Base.php:24 81951 #: src/Platforms/Gateways/WooCommerce/Base.php:2493 952 952 msgid "[PayLexer] Duplicate renewal order — payment already confirmed via webhook." 953 953 msgstr "" 954 954 955 #: src/Platforms/Gateways/WooCommerce/Base.php:25 14955 #: src/Platforms/Gateways/WooCommerce/Base.php:2526 956 956 msgid "[PayLexer] Awaiting subscription renewal payment confirmation." 957 957 msgstr "" 958 958 959 #: src/Platforms/Gateways/WPTravelEngine/Base.php:2 51959 #: src/Platforms/Gateways/WPTravelEngine/Base.php:249 960 960 msgid "Your payment was processed successfully. Thank you for your booking!" 961 961 msgstr "" 962 962 963 #: src/Platforms/Gateways/WPTravelEngine/Base.php:2 71963 #: src/Platforms/Gateways/WPTravelEngine/Base.php:269 964 964 msgid "Your payment could not be completed. Please check your payment details and try again." 965 965 msgstr "" 966 966 967 #: src/Platforms/Gateways/WPTravelEngine/Base.php:27 8967 #: src/Platforms/Gateways/WPTravelEngine/Base.php:276 968 968 msgid "Payment was cancelled by the customer." 969 969 msgstr "" 970 970 971 #: src/Platforms/Gateways/WPTravelEngine/Base.php:28 9971 #: src/Platforms/Gateways/WPTravelEngine/Base.php:287 972 972 msgid "Your payment was cancelled. You can return to checkout to try again." 973 973 msgstr "" 974 974 975 #: src/Platforms/Gateways/WPTravelEngine/Base.php:30 4975 #: src/Platforms/Gateways/WPTravelEngine/Base.php:302 976 976 msgid "We received an unexpected response from the payment provider. Please contact support for assistance." 977 977 msgstr "" 978 978 979 #: src/Platforms/WooCommerce.php:27 4979 #: src/Platforms/WooCommerce.php:275 980 980 msgid "Your order could not be found. Please try again." 981 981 msgstr "" 982 982 983 #: src/Platforms/WooCommerce.php:57 3983 #: src/Platforms/WooCommerce.php:574 984 984 msgid "Payment failed (confirmed by gateway)." 985 985 msgstr "" 986 986 987 #: src/Platforms/WooCommerce.php:77 0987 #: src/Platforms/WooCommerce.php:771 988 988 #: src/Platforms/WPTravelEngine.php:700 989 989 msgid "Payment gateway configuration not found." 990 990 msgstr "" 991 991 992 #: src/Platforms/WooCommerce.php:91 2992 #: src/Platforms/WooCommerce.php:913 993 993 msgid "Cart is not available. Please refresh the page and try again." 994 994 msgstr "" 995 995 996 #: src/Platforms/WooCommerce.php:95 8996 #: src/Platforms/WooCommerce.php:959 997 997 msgid "Billing email is required." 998 998 msgstr "" 999 999 1000 #: src/Platforms/WooCommerce.php:107 61000 #: src/Platforms/WooCommerce.php:1077 1001 1001 msgid "Order session expired. Please try again." 1002 1002 msgstr "" 1003 1003 1004 #: src/Platforms/WooCommerce.php:109 71004 #: src/Platforms/WooCommerce.php:1098 1005 1005 #: src/Platforms/WPTravelEngine.php:837 1006 1006 msgid "Invalid payment data format." 1007 1007 msgstr "" 1008 1008 1009 #: src/Platforms/WooCommerce.php:111 81009 #: src/Platforms/WooCommerce.php:1119 1010 1010 msgid "You do not have permission to modify this order." 1011 1011 msgstr "" 1012 1012 1013 #: src/Platforms/WooCommerce.php:122 11013 #: src/Platforms/WooCommerce.php:1222 1014 1014 msgid "Order ID is required." 1015 1015 msgstr "" 1016 1016 1017 #: src/Platforms/WooCommerce.php:123 11017 #: src/Platforms/WooCommerce.php:1232 1018 1018 msgid "Order key is required." 1019 1019 msgstr "" 1020 1020 1021 #: src/Platforms/WooCommerce.php:125 01021 #: src/Platforms/WooCommerce.php:1251 1022 1022 msgid "You do not have permission to view this order." 1023 1023 msgstr "" 1024 1024 1025 #: src/Platforms/WooCommerce.php:171 21025 #: src/Platforms/WooCommerce.php:1713 1026 1026 msgid "Email address" 1027 1027 msgstr "" 1028 1028 1029 #: src/Platforms/WooCommerce.php:171 31029 #: src/Platforms/WooCommerce.php:1714 1030 1030 msgid "First name" 1031 1031 msgstr "" 1032 1032 1033 #: src/Platforms/WooCommerce.php:171 41033 #: src/Platforms/WooCommerce.php:1715 1034 1034 msgid "Last name" 1035 1035 msgstr "" 1036 1036 1037 #: src/Platforms/WooCommerce.php:171 51037 #: src/Platforms/WooCommerce.php:1716 1038 1038 msgid "Street address" 1039 1039 msgstr "" 1040 1040 1041 #: src/Platforms/WooCommerce.php:171 61041 #: src/Platforms/WooCommerce.php:1717 1042 1042 msgid "City" 1043 1043 msgstr "" 1044 1044 1045 #: src/Platforms/WooCommerce.php:171 71045 #: src/Platforms/WooCommerce.php:1718 1046 1046 msgid "Country" 1047 1047 msgstr "" 1048 1048 1049 #: src/Platforms/WooCommerce.php:171 81049 #: src/Platforms/WooCommerce.php:1719 1050 1050 msgid "Postcode" 1051 1051 msgstr "" 1052 1052 1053 1053 #. translators: %s: comma-separated list of missing field names 1054 #: src/Platforms/WooCommerce.php:173 41054 #: src/Platforms/WooCommerce.php:1735 1055 1055 #, php-format 1056 1056 msgid "Please fill in all required billing fields: %s" 1057 1057 msgstr "" 1058 1058 1059 #: src/Platforms/WooCommerce.php:17 491059 #: src/Platforms/WooCommerce.php:1750 1060 1060 msgid "Please provide a valid email address." 1061 1061 msgstr "" 1062 1062 1063 #: src/Platforms/WooCommerce.php:183 21063 #: src/Platforms/WooCommerce.php:1833 1064 1064 msgid "The payment page could not be loaded. Please try placing your order again." 1065 1065 msgstr "" 1066 1066 1067 #: src/Platforms/WooCommerce.php:186 51067 #: src/Platforms/WooCommerce.php:1866 1068 1068 msgid "Payment is already being processed. Please wait a moment and try again." 1069 1069 msgstr "" 1070 1070 1071 #: src/Platforms/WooCommerce.php:194 01071 #: src/Platforms/WooCommerce.php:1941 1072 1072 msgid "PayLexer: subscription creation failed." 1073 1073 msgstr "" 1074 1074 1075 #: src/Platforms/WooCommerce.php:196 41075 #: src/Platforms/WooCommerce.php:1965 1076 1076 msgid "Subscription could not be created. Please try again." 1077 1077 msgstr "" 1078 1078 1079 #: src/Platforms/WooCommerce.php:20 891079 #: src/Platforms/WooCommerce.php:2090 1080 1080 msgid "Failed to validate payment. Please try again." 1081 1081 msgstr "" 1082 1082 1083 #: src/Platforms/WooCommerce.php:210 41083 #: src/Platforms/WooCommerce.php:2105 1084 1084 msgid "Your session has expired or is invalid. Please refresh the page and try again." 1085 1085 msgstr "" 1086 1086 1087 #: src/Platforms/WooCommerce.php:24 851087 #: src/Platforms/WooCommerce.php:2495 1088 1088 msgid "Cart is empty." 1089 1089 msgstr "" 1090 1090 1091 #: src/Platforms/WooCommerce.php:2 4921091 #: src/Platforms/WooCommerce.php:2502 1092 1092 msgid "Failed to create order." 1093 1093 msgstr "" 1094 1094 1095 #: src/Platforms/WooCommerce.php:25 371095 #: src/Platforms/WooCommerce.php:2547 1096 1096 msgid "Awaiting PayLexer payment (blocks checkout)." 1097 1097 msgstr "" -
paylexer/tags/2.0.4/paylexer.php
r3733684 r3740539 9 9 * Tested up to: 7.1 10 10 * Requires PHP: 8.1 11 * Version: 2.0. 311 * Version: 2.0.4 12 12 * Text Domain: paylexer 13 13 * Domain Path: /languages … … 23 23 24 24 // Define plugin constants. 25 defined( 'PAYLEXER_VERSION' ) || define( 'PAYLEXER_VERSION', '2.0. 3' );25 defined( 'PAYLEXER_VERSION' ) || define( 'PAYLEXER_VERSION', '2.0.4' ); 26 26 defined( 'PAYLEXER_FILE' ) || define( 'PAYLEXER_FILE', __FILE__ ); 27 27 defined( 'PAYLEXER_DIR' ) || define( 'PAYLEXER_DIR', __DIR__ ); -
paylexer/tags/2.0.4/readme.txt
r3733684 r3740539 5 5 Tested up to: 7.1 6 6 Requires PHP: 8.1 7 Stable tag: 2.0. 37 Stable tag: 2.0.4 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 29 29 **Key Features** 30 30 31 * 1 18payment gateways across global, regional, and local markets31 * 120 payment gateways across global, regional, and local markets 32 32 * Works inside your existing checkout flow, not a replacement 33 33 * Your credentials are stored in an encrypted vault. We cannot access them. Nobody can. … … 37 37 **Supported Payment Gateways** 38 38 39 PayLexer currently supports 1 18payment gateways. New ones are added every month.39 PayLexer currently supports 120 payment gateways. New ones are added every month. 40 40 41 41 * Stripe - Global … … 157 157 * PayJustNow - South Africa 158 158 * Klix - Europe 159 * Raiffeisen - Central and Eastern Europe 160 * WiPay - Caribbean Region 159 161 160 162 **Coming Soon** … … 162 164 More gateways are on the way. These are in progress and will be available soon. 163 165 * Galaxy Pay - Vietnam 164 * GMO Pay - Japan165 * Raiffeisen - Central and Eastern Europe166 166 * TossPayments - South Korea 167 * WiPay - Caribbean Region 167 * ChillPay - Thailand 168 * PG Multi-Payment Service - Japan 169 * RazorPay Curlec - Malaysia 170 * PhaJay - Laos 168 171 169 172 Looking for a different gateway? [Request it here](https://paylexer.com/support#payment-gateway). Your request helps us decide what gets added next. … … 259 262 260 263 == Changelog == 264 265 = 2.0.4 = 266 * Added support for 2 new payment gateways: Raiffeisen and WiPay. 267 * Updated the supported payment gateways list to 120 gateways. 268 * Fix - Retrying a declined WiPay payment on WooCommerce now completes the original order instead of creating a second one. 261 269 262 270 = 2.0.3 = -
paylexer/tags/2.0.4/src/Platforms/Gateways/WPTravelEngine/Base.php
r3632630 r3740539 60 60 */ 61 61 public function get_gateway_id(): string { 62 $code = preg_replace( '#^(paylexer|pg)#', 'paylexer', strtolower( $this->get_pl_code() ) ); 63 64 return "paylexer-{$code}"; 62 return 'paylexer-' . strtolower( $this->get_pl_code() ); 65 63 } 66 64 -
paylexer/tags/2.0.4/src/Platforms/Gateways/WooCommerce/Base.php
r3728530 r3740539 20 20 use PayLexer\Utils\BillingAddressRequirement; 21 21 use PayLexer\Utils\Logger; 22 use PayLexer\Utils\ReusableOrderReference; 22 23 use PayLexer\Utils\WooGatewaySupports; 23 24 use PayLexer\Utils\WooLineItems; … … 461 462 // reject a second checkout built on it. Deliberately below the failure returns — 462 463 // a failed session build keeps the reference so the retry doesn't orphan an order. 463 delete_transient( 'paylexer_wc_order_' . $order_id ); 464 // Skipped for gateways that accept a repeated merchant reference: Woo 465 // reuses its pending/failed order on a retry, so keeping the reference lets 466 // the retry settle the SAME PayLexer order (tenant-api allows 467 // failed -> completed) instead of stranding the first one and creating a 468 // second. Unlisted gateways keep today's delete-always behaviour. 469 // Note the cleanup is dropped entirely for a listed gateway, not just on a 470 // retry - we cannot tell a first attempt from a retry here. That is safe: the 471 // transient is keyed per WC order and expires on its own (15 min), so the 472 // worst case is one stale cache entry per order instead of zero. 473 if ( ! ReusableOrderReference::supports( $this->get_gateway_name() ) ) { 474 delete_transient( 'paylexer_wc_order_' . $order_id ); 475 } 464 476 465 477 // Allow post-processing modifications. -
paylexer/tags/2.0.4/src/Platforms/WooCommerce.php
r3728530 r3740539 20 20 use PayLexer\Services\WebhookHandlers\WooCommerceHandler; 21 21 use PayLexer\Services\WebhookProcessor; 22 use PayLexer\Utils\ReusableOrderReference; 22 23 use PayLexer\Utils\GatewayOwnership; 23 24 use PayLexer\Utils\Logger; … … 2195 2196 // reject a second checkout built on it. Redirect gateways only — popup ones 2196 2197 // keep the cache so re-opening the modal doesn't duplicate the tenant order. 2197 delete_transient( $paylexer_client_secret ); 2198 // Same opt-out as the classic path: a gateway that accepts a repeated 2199 // merchant reference keeps its cached reference so a retry reuses the 2200 // existing PayLexer order rather than minting a second one. 2201 // Note the cleanup is dropped entirely for a listed gateway, not just on a 2202 // retry - we cannot tell a first attempt from a retry here. That is safe: the 2203 // transient is keyed per WC order and expires on its own (15 min), so the 2204 // worst case is one stale cache entry per order instead of zero. 2205 if ( ! ReusableOrderReference::supports( $gateway_id ) ) { 2206 delete_transient( $paylexer_client_secret ); 2207 } 2198 2208 $this->clear_payment_from_session(); 2199 2209 } else { -
paylexer/tags/2.0.4/src/gateway-redirects.php
r3733684 r3740539 264 264 // shape via withFailedStatus() - same situation as bKash above. 265 265 'paylexer-payjustnow', 266 // WiPay (Caribbean): a single response_url serves success and failure 267 // alike. The connector's /redirect-callback/wipay proves a success by 268 // recomputing the MD5 hash WiPay signs it with, then routes to the 269 // merchant's stored returnUrl/cancelUrl, writing this same orderId + 270 // paylexer_status shape via withFailedStatus() — same situation as 271 // PayJustNow above. 272 'paylexer-wipay', 273 'paylexer-pg-multi-payment-service', 266 274 ), 267 275 ); -
paylexer/tags/2.0.4/vendor/autoload.php
r3733684 r3740539 20 20 require_once __DIR__ . '/composer/autoload_real.php'; 21 21 22 return ComposerAutoloaderInit 69a145e5500e3f6207a7bfbc65441cd0::getLoader();22 return ComposerAutoloaderInit090c14eff1771c71527b8be71a9e4dd7::getLoader(); -
paylexer/tags/2.0.4/vendor/composer/autoload_real.php
r3733684 r3740539 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 69a145e5500e3f6207a7bfbc65441cd05 class ComposerAutoloaderInit090c14eff1771c71527b8be71a9e4dd7 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 69a145e5500e3f6207a7bfbc65441cd0', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit090c14eff1771c71527b8be71a9e4dd7', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 69a145e5500e3f6207a7bfbc65441cd0', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit090c14eff1771c71527b8be71a9e4dd7', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 69a145e5500e3f6207a7bfbc65441cd0::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInit090c14eff1771c71527b8be71a9e4dd7::getInitializer($loader)); 33 33 34 34 $loader->register(true); -
paylexer/tags/2.0.4/vendor/composer/autoload_static.php
r3733684 r3740539 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 69a145e5500e3f6207a7bfbc65441cd07 class ComposerStaticInit090c14eff1771c71527b8be71a9e4dd7 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 41 41 { 42 42 return \Closure::bind(function () use ($loader) { 43 $loader->prefixLengthsPsr4 = ComposerStaticInit 69a145e5500e3f6207a7bfbc65441cd0::$prefixLengthsPsr4;44 $loader->prefixDirsPsr4 = ComposerStaticInit 69a145e5500e3f6207a7bfbc65441cd0::$prefixDirsPsr4;45 $loader->classMap = ComposerStaticInit 69a145e5500e3f6207a7bfbc65441cd0::$classMap;43 $loader->prefixLengthsPsr4 = ComposerStaticInit090c14eff1771c71527b8be71a9e4dd7::$prefixLengthsPsr4; 44 $loader->prefixDirsPsr4 = ComposerStaticInit090c14eff1771c71527b8be71a9e4dd7::$prefixDirsPsr4; 45 $loader->classMap = ComposerStaticInit090c14eff1771c71527b8be71a9e4dd7::$classMap; 46 46 47 47 }, null, ClassLoader::class); -
paylexer/tags/2.0.4/vendor/composer/installed.php
r3733684 r3740539 2 2 'root' => array( 3 3 'name' => 'paylexer/paylexer', 4 'pretty_version' => '2.0. 3',5 'version' => '2.0. 3.0',4 'pretty_version' => '2.0.4', 5 'version' => '2.0.4.0', 6 6 'reference' => null, 7 7 'type' => 'wordpress-plugin', … … 21 21 ), 22 22 'paylexer/paylexer' => array( 23 'pretty_version' => '2.0. 3',24 'version' => '2.0. 3.0',23 'pretty_version' => '2.0.4', 24 'version' => '2.0.4.0', 25 25 'reference' => null, 26 26 'type' => 'wordpress-plugin', -
paylexer/trunk/composer.json
r3733684 r3740539 4 4 "type": "wordpress-plugin", 5 5 "license": "GPL-3.0-or-later", 6 "version": "2.0. 3",6 "version": "2.0.4", 7 7 "authors": [ 8 8 { -
paylexer/trunk/languages/paylexer.pot
r3733684 r3740539 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: PayLexer 2.0. 3\n"5 "Project-Id-Version: PayLexer 2.0.4\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/paylexer\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: 2026-10- 08T04:58:14+00:00\n"12 "POT-Creation-Date: 2026-10-12T05:06:50+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.12.0\n" … … 83 83 84 84 #: src/Abstracts/BasePlatform.php:350 85 #: src/Platforms/WooCommerce.php:16 7985 #: src/Platforms/WooCommerce.php:1680 86 86 #: src/Platforms/WPTravelEngine.php:530 87 87 msgid "Payment gateway not specified." … … 410 410 411 411 #: src/Platforms/EDD.php:919 412 #: src/Platforms/Gateways/WPTravelEngine/Base.php:1 81412 #: src/Platforms/Gateways/WPTravelEngine/Base.php:179 413 413 msgid "We were unable to start your checkout session. Please try again or contact support if the issue persists." 414 414 msgstr "" … … 432 432 433 433 #: src/Platforms/EDD.php:1040 434 #: src/Platforms/WooCommerce.php:120 7434 #: src/Platforms/WooCommerce.php:1208 435 435 #: src/Platforms/WPTravelEngine.php:891 436 436 msgid "Security validation failed." … … 439 439 #: src/Platforms/EDD.php:1052 440 440 #: src/Platforms/FluentCart.php:355 441 #: src/Platforms/Gateways/WooCommerce/Base.php:36 3442 #: src/Platforms/Gateways/WooCommerce/Base.php:36 7443 #: src/Platforms/Gateways/WooCommerce/Base.php:9 73441 #: src/Platforms/Gateways/WooCommerce/Base.php:364 442 #: src/Platforms/Gateways/WooCommerce/Base.php:368 443 #: src/Platforms/Gateways/WooCommerce/Base.php:985 444 444 msgid "Order not found." 445 445 msgstr "" … … 447 447 #: src/Platforms/EDD.php:1140 448 448 #: src/Platforms/FluentCart.php:714 449 #: src/Platforms/WooCommerce.php:13 09449 #: src/Platforms/WooCommerce.php:1310 450 450 #: src/Platforms/WPTravelEngine.php:997 451 451 msgid "PayLexer Details" … … 454 454 #: src/Platforms/EDD.php:1145 455 455 #: src/Platforms/FluentCart.php:590 456 #: src/Platforms/WooCommerce.php:135 2456 #: src/Platforms/WooCommerce.php:1353 457 457 msgid "Customer" 458 458 msgstr "" … … 460 460 #: src/Platforms/EDD.php:1156 461 461 #: src/Platforms/FluentCart.php:606 462 #: src/Platforms/WooCommerce.php:136 4462 #: src/Platforms/WooCommerce.php:1365 463 463 #: assets/webhook-logs-app/components/LogDetail.jsx:88 464 464 #: assets/webhook-logs-app/components/LogsTable.jsx:21 … … 468 468 #: src/Platforms/EDD.php:1162 469 469 #: src/Platforms/FluentCart.php:621 470 #: src/Platforms/WooCommerce.php:139 2470 #: src/Platforms/WooCommerce.php:1393 471 471 msgid "Order ID" 472 472 msgstr "" … … 474 474 #: src/Platforms/EDD.php:1174 475 475 #: src/Platforms/FluentCart.php:706 476 #: src/Platforms/WooCommerce.php:13 69476 #: src/Platforms/WooCommerce.php:1370 477 477 msgid "Transaction ID" 478 478 msgstr "" … … 480 480 #: src/Platforms/EDD.php:1195 481 481 #: src/Platforms/FluentCart.php:652 482 #: src/Platforms/WooCommerce.php:140 6482 #: src/Platforms/WooCommerce.php:1407 483 483 #: assets/webhook-logs-app/components/LogDetail.jsx:102 484 484 msgid "Subscription ID" … … 487 487 #: src/Platforms/EDD.php:1210 488 488 #: src/Platforms/FluentCart.php:679 489 #: src/Platforms/WooCommerce.php:143 7489 #: src/Platforms/WooCommerce.php:1438 490 490 msgid "Gateway Subscription ID" 491 491 msgstr "" 492 492 493 493 #: src/Platforms/EDD.php:1251 494 #: src/Platforms/WooCommerce.php:106 3495 #: src/Platforms/WooCommerce.php:166 5494 #: src/Platforms/WooCommerce.php:1064 495 #: src/Platforms/WooCommerce.php:1666 496 496 #: src/Platforms/WPTravelEngine.php:803 497 497 msgid "Security validation failed. Please refresh the page and try again." … … 505 505 #. translators: %s: Transaction ID. 506 506 #: src/Platforms/EDD.php:1303 507 #: src/Platforms/Gateways/WooCommerce/Base.php:8 14507 #: src/Platforms/Gateways/WooCommerce/Base.php:826 508 508 #, php-format 509 509 msgid "PayLexer payment completed. Transaction ID: %s" … … 517 517 518 518 #: src/Platforms/EDD.php:1356 519 #: src/Platforms/Gateways/WooCommerce/Base.php:8 54519 #: src/Platforms/Gateways/WooCommerce/Base.php:866 520 520 msgid "Payment completed successfully." 521 521 msgstr "" 522 522 523 523 #: src/Platforms/EDD.php:1364 524 #: src/Platforms/Gateways/WooCommerce/Base.php:8 60525 #: src/Platforms/Gateways/WPTravelEngine/Base.php:25 8524 #: src/Platforms/Gateways/WooCommerce/Base.php:872 525 #: src/Platforms/Gateways/WPTravelEngine/Base.php:256 526 526 msgid "Payment failed." 527 527 msgstr "" … … 538 538 539 539 #: src/Platforms/EDD.php:1397 540 #: src/Platforms/Gateways/WooCommerce/Base.php:9 01540 #: src/Platforms/Gateways/WooCommerce/Base.php:913 541 541 msgid "Payment was cancelled." 542 542 msgstr "" … … 545 545 #. translators: %s is the payment status. 546 546 #: src/Platforms/EDD.php:1404 547 #: src/Platforms/Gateways/WPTravelEngine/Base.php:29 7547 #: src/Platforms/Gateways/WPTravelEngine/Base.php:295 548 548 #, php-format 549 549 msgid "Unknown payment status: %s" … … 552 552 #: src/Platforms/EDD/RecurringGateway.php:354 553 553 #: src/Platforms/EDD/RecurringGateway.php:565 554 #: src/Platforms/Gateways/WooCommerce/Base.php:20 69555 #: src/Platforms/WooCommerce.php:181 4554 #: src/Platforms/Gateways/WooCommerce/Base.php:2081 555 #: src/Platforms/WooCommerce.php:1815 556 556 msgid "Subscription could not be started. Please try again." 557 557 msgstr "" … … 706 706 707 707 #: src/Platforms/FluentCart/ProcessorHelper.php:415 708 #: src/Platforms/WooCommerce.php:97 0708 #: src/Platforms/WooCommerce.php:971 709 709 msgid "Product" 710 710 msgstr "" … … 760 760 msgstr "" 761 761 762 #: src/Platforms/Gateways/WooCommerce/Base.php:23 8762 #: src/Platforms/Gateways/WooCommerce/Base.php:239 763 763 msgid "Enable/Disable" 764 764 msgstr "" 765 765 766 766 #. translators: %s: Payment method title. 767 #: src/Platforms/Gateways/WooCommerce/Base.php:24 1767 #: src/Platforms/Gateways/WooCommerce/Base.php:242 768 768 #, php-format 769 769 msgid "Enable %s" 770 770 msgstr "" 771 771 772 #: src/Platforms/Gateways/WooCommerce/Base.php:24 5772 #: src/Platforms/Gateways/WooCommerce/Base.php:246 773 773 msgid "Test Mode" 774 774 msgstr "" 775 775 776 776 #. translators: %s: Payment method title. 777 #: src/Platforms/Gateways/WooCommerce/Base.php:24 8777 #: src/Platforms/Gateways/WooCommerce/Base.php:249 778 778 #, php-format 779 779 msgid "Enable Test Mode for %s" 780 780 msgstr "" 781 781 782 #: src/Platforms/Gateways/WooCommerce/Base.php:25 2782 #: src/Platforms/Gateways/WooCommerce/Base.php:253 783 783 msgid "Description" 784 784 msgstr "" 785 785 786 #: src/Platforms/Gateways/WooCommerce/Base.php:25 4786 #: src/Platforms/Gateways/WooCommerce/Base.php:255 787 787 msgid "Payment method description shown to customers during checkout." 788 788 msgstr "" 789 789 790 #: src/Platforms/Gateways/WooCommerce/Base.php:35 3791 #: src/Platforms/Gateways/WooCommerce/Base.php:35 7790 #: src/Platforms/Gateways/WooCommerce/Base.php:354 791 #: src/Platforms/Gateways/WooCommerce/Base.php:358 792 792 msgid "WooCommerce is not available." 793 793 msgstr "" 794 794 795 #: src/Platforms/Gateways/WooCommerce/Base.php:4 09795 #: src/Platforms/Gateways/WooCommerce/Base.php:410 796 796 msgid "Duplicate order - using pre-created order for redirect gateway." 797 797 msgstr "" 798 798 799 #: src/Platforms/Gateways/WooCommerce/Base.php:43 3799 #: src/Platforms/Gateways/WooCommerce/Base.php:434 800 800 msgid "Failed to initialize payment. Please try again." 801 801 msgstr "" 802 802 803 #: src/Platforms/Gateways/WooCommerce/Base.php:44 3803 #: src/Platforms/Gateways/WooCommerce/Base.php:444 804 804 msgid "Awaiting PayLexer payment." 805 805 msgstr "" 806 806 807 #: src/Platforms/Gateways/WooCommerce/Base.php:45 0807 #: src/Platforms/Gateways/WooCommerce/Base.php:451 808 808 msgid "Payment initialization failed. Please try again." 809 809 msgstr "" 810 810 811 #: src/Platforms/Gateways/WooCommerce/Base.php: 595812 #: src/Platforms/Gateways/WooCommerce/Base.php:12 83813 #: src/Platforms/Gateways/WooCommerce/Base.php:1 397811 #: src/Platforms/Gateways/WooCommerce/Base.php:607 812 #: src/Platforms/Gateways/WooCommerce/Base.php:1295 813 #: src/Platforms/Gateways/WooCommerce/Base.php:1409 814 814 msgid "Failed to create checkout session." 815 815 msgstr "" 816 816 817 #: src/Platforms/Gateways/WooCommerce/Base.php:6 13818 #: src/Platforms/Gateways/WooCommerce/Base.php:1 297819 #: src/Platforms/Gateways/WooCommerce/Base.php:14 11817 #: src/Platforms/Gateways/WooCommerce/Base.php:625 818 #: src/Platforms/Gateways/WooCommerce/Base.php:1309 819 #: src/Platforms/Gateways/WooCommerce/Base.php:1423 820 820 msgid "Checkout URL not received." 821 821 msgstr "" 822 822 823 #: src/Platforms/Gateways/WooCommerce/Base.php:8 48823 #: src/Platforms/Gateways/WooCommerce/Base.php:860 824 824 msgid "[PayLexer] Subscription activated via payment confirmation." 825 825 msgstr "" 826 826 827 #: src/Platforms/Gateways/WooCommerce/Base.php:8 71828 #: src/Platforms/Gateways/WooCommerce/Base.php:16 18827 #: src/Platforms/Gateways/WooCommerce/Base.php:883 828 #: src/Platforms/Gateways/WooCommerce/Base.php:1630 829 829 msgid "[PayLexer] Subscription put on-hold due to payment failure." 830 830 msgstr "" 831 831 832 #: src/Platforms/Gateways/WooCommerce/Base.php:886 832 #: src/Platforms/Gateways/WooCommerce/Base.php:898 833 #: src/Platforms/Gateways/WooCommerce/Base.php:1218 834 msgid "Payment cancelled by customer." 835 msgstr "" 836 837 #: src/Platforms/Gateways/WooCommerce/Base.php:906 838 msgid "[PayLexer] Subscription cancelled by customer at checkout." 839 msgstr "" 840 841 #: src/Platforms/Gateways/WooCommerce/Base.php:922 842 msgid "Unknown payment status." 843 msgstr "" 844 845 #: src/Platforms/Gateways/WooCommerce/Base.php:993 846 msgid "PayLexer order reference not found. Refund must be processed manually." 847 msgstr "" 848 849 #. translators: %s: gateway display name 850 #: src/Platforms/Gateways/WooCommerce/Base.php:1008 851 #, php-format 852 msgid "%s does not support refunds." 853 msgstr "" 854 855 #. translators: %s: gateway display name 856 #: src/Platforms/Gateways/WooCommerce/Base.php:1027 857 #, php-format 858 msgid "%s does not support partial refunds." 859 msgstr "" 860 861 #. translators: %s: gateway error message. 862 #: src/Platforms/Gateways/WooCommerce/Base.php:1062 863 #, php-format 864 msgid "[PayLexer] Refund outcome UNCONFIRMED: %s The refund was kept in WooCommerce — verify at the gateway before retrying." 865 msgstr "" 866 867 #. translators: 1: Amount, 2: Reason 868 #: src/Platforms/Gateways/WooCommerce/Base.php:1080 869 #, php-format 870 msgid "PayLexer refund initiated: %1$s. Reason: %2$s" 871 msgstr "" 872 833 873 #: src/Platforms/Gateways/WooCommerce/Base.php:1206 834 msgid "Payment cancelled by customer."835 msgstr ""836 837 #: src/Platforms/Gateways/WooCommerce/Base.php:894838 msgid "[PayLexer] Subscription cancelled by customer at checkout."839 msgstr ""840 841 #: src/Platforms/Gateways/WooCommerce/Base.php:910842 msgid "Unknown payment status."843 msgstr ""844 845 #: src/Platforms/Gateways/WooCommerce/Base.php:981846 msgid "PayLexer order reference not found. Refund must be processed manually."847 msgstr ""848 849 #. translators: %s: gateway display name850 #: src/Platforms/Gateways/WooCommerce/Base.php:996851 #, php-format852 msgid "%s does not support refunds."853 msgstr ""854 855 #. translators: %s: gateway display name856 #: src/Platforms/Gateways/WooCommerce/Base.php:1015857 #, php-format858 msgid "%s does not support partial refunds."859 msgstr ""860 861 #. translators: %s: gateway error message.862 #: src/Platforms/Gateways/WooCommerce/Base.php:1050863 #, php-format864 msgid "[PayLexer] Refund outcome UNCONFIRMED: %s The refund was kept in WooCommerce — verify at the gateway before retrying."865 msgstr ""866 867 #. translators: 1: Amount, 2: Reason868 #: src/Platforms/Gateways/WooCommerce/Base.php:1068869 #, php-format870 msgid "PayLexer refund initiated: %1$s. Reason: %2$s"871 msgstr ""872 873 #: src/Platforms/Gateways/WooCommerce/Base.php:1194874 874 msgid "PayLexer payment failed." 875 875 msgstr "" 876 876 877 #: src/Platforms/Gateways/WooCommerce/Base.php:1 197877 #: src/Platforms/Gateways/WooCommerce/Base.php:1209 878 878 #: src/Services/LocalizedDataService.php:91 879 879 #: assets/js/platforms/woocommerce-blocks.js:274 … … 881 881 msgstr "" 882 882 883 #: src/Platforms/Gateways/WooCommerce/Base.php:12 09883 #: src/Platforms/Gateways/WooCommerce/Base.php:1221 884 884 msgid "Payment was cancelled. Please try again or choose a different payment method." 885 885 msgstr "" 886 886 887 #: src/Platforms/Gateways/WooCommerce/Base.php:12 17887 #: src/Platforms/Gateways/WooCommerce/Base.php:1229 888 888 msgid "Awaiting PayLexer payment confirmation." 889 889 msgstr "" 890 890 891 #: src/Platforms/Gateways/WooCommerce/Base.php:12 20891 #: src/Platforms/Gateways/WooCommerce/Base.php:1232 892 892 msgid "Your payment is being processed. You will receive confirmation once completed." 893 893 msgstr "" 894 894 895 #: src/Platforms/Gateways/WooCommerce/Base.php:12 48896 #: src/Platforms/Gateways/WooCommerce/Base.php:13 08895 #: src/Platforms/Gateways/WooCommerce/Base.php:1260 896 #: src/Platforms/Gateways/WooCommerce/Base.php:1320 897 897 msgid "PayLexer configuration missing. Please contact support." 898 898 msgstr "" 899 899 900 #: src/Platforms/Gateways/WooCommerce/Base.php:13 14900 #: src/Platforms/Gateways/WooCommerce/Base.php:1326 901 901 msgid "Cart session not available." 902 902 msgstr "" 903 903 904 #: src/Platforms/Gateways/WooCommerce/Base.php:13 46904 #: src/Platforms/Gateways/WooCommerce/Base.php:1358 905 905 #: src/Services/PaylexerCheckoutProcessor.php:165 906 906 msgid "Customer email is required." 907 907 msgstr "" 908 908 909 #: src/Platforms/Gateways/WooCommerce/Base.php:15 86909 #: src/Platforms/Gateways/WooCommerce/Base.php:1598 910 910 msgid "[PayLexer] Subscription activated via blocks payment confirmation." 911 911 msgstr "" 912 912 913 #: src/Platforms/Gateways/WooCommerce/Base.php:16 14913 #: src/Platforms/Gateways/WooCommerce/Base.php:1626 914 914 msgid "PayLexer subscription payment failed." 915 915 msgstr "" 916 916 917 #: src/Platforms/Gateways/WooCommerce/Base.php:16 21917 #: src/Platforms/Gateways/WooCommerce/Base.php:1633 918 918 msgid "PayLexer subscription payment cancelled by customer." 919 919 msgstr "" 920 920 921 #: src/Platforms/Gateways/WooCommerce/Base.php:16 25921 #: src/Platforms/Gateways/WooCommerce/Base.php:1637 922 922 msgid "[PayLexer] Subscription cancelled by customer at blocks checkout." 923 923 msgstr "" 924 924 925 #: src/Platforms/Gateways/WooCommerce/Base.php:16 28926 #: src/Platforms/Gateways/WooCommerce/Base.php:16 38927 #: src/Platforms/Gateways/WooCommerce/Base.php:2 089925 #: src/Platforms/Gateways/WooCommerce/Base.php:1640 926 #: src/Platforms/Gateways/WooCommerce/Base.php:1650 927 #: src/Platforms/Gateways/WooCommerce/Base.php:2101 928 928 msgid "Awaiting PayLexer subscription activation." 929 929 msgstr "" 930 930 931 #: src/Platforms/Gateways/WooCommerce/Base.php:20 16931 #: src/Platforms/Gateways/WooCommerce/Base.php:2028 932 932 msgid "WooCommerce Subscriptions is required for subscription payments." 933 933 msgstr "" 934 934 935 #: src/Platforms/Gateways/WooCommerce/Base.php:20 26935 #: src/Platforms/Gateways/WooCommerce/Base.php:2038 936 936 msgid "No subscription found for this order." 937 937 msgstr "" 938 938 939 #: src/Platforms/Gateways/WooCommerce/Base.php:22 56939 #: src/Platforms/Gateways/WooCommerce/Base.php:2268 940 940 msgid "Sign-up Fee" 941 941 msgstr "" 942 942 943 #: src/Platforms/Gateways/WooCommerce/Base.php:24 63943 #: src/Platforms/Gateways/WooCommerce/Base.php:2475 944 944 msgid "[PayLexer] WooCommerce Subscriptions not available." 945 945 msgstr "" 946 946 947 #: src/Platforms/Gateways/WooCommerce/Base.php:24 71947 #: src/Platforms/Gateways/WooCommerce/Base.php:2483 948 948 msgid "[PayLexer] No subscription found for renewal order." 949 949 msgstr "" 950 950 951 #: src/Platforms/Gateways/WooCommerce/Base.php:24 81951 #: src/Platforms/Gateways/WooCommerce/Base.php:2493 952 952 msgid "[PayLexer] Duplicate renewal order — payment already confirmed via webhook." 953 953 msgstr "" 954 954 955 #: src/Platforms/Gateways/WooCommerce/Base.php:25 14955 #: src/Platforms/Gateways/WooCommerce/Base.php:2526 956 956 msgid "[PayLexer] Awaiting subscription renewal payment confirmation." 957 957 msgstr "" 958 958 959 #: src/Platforms/Gateways/WPTravelEngine/Base.php:2 51959 #: src/Platforms/Gateways/WPTravelEngine/Base.php:249 960 960 msgid "Your payment was processed successfully. Thank you for your booking!" 961 961 msgstr "" 962 962 963 #: src/Platforms/Gateways/WPTravelEngine/Base.php:2 71963 #: src/Platforms/Gateways/WPTravelEngine/Base.php:269 964 964 msgid "Your payment could not be completed. Please check your payment details and try again." 965 965 msgstr "" 966 966 967 #: src/Platforms/Gateways/WPTravelEngine/Base.php:27 8967 #: src/Platforms/Gateways/WPTravelEngine/Base.php:276 968 968 msgid "Payment was cancelled by the customer." 969 969 msgstr "" 970 970 971 #: src/Platforms/Gateways/WPTravelEngine/Base.php:28 9971 #: src/Platforms/Gateways/WPTravelEngine/Base.php:287 972 972 msgid "Your payment was cancelled. You can return to checkout to try again." 973 973 msgstr "" 974 974 975 #: src/Platforms/Gateways/WPTravelEngine/Base.php:30 4975 #: src/Platforms/Gateways/WPTravelEngine/Base.php:302 976 976 msgid "We received an unexpected response from the payment provider. Please contact support for assistance." 977 977 msgstr "" 978 978 979 #: src/Platforms/WooCommerce.php:27 4979 #: src/Platforms/WooCommerce.php:275 980 980 msgid "Your order could not be found. Please try again." 981 981 msgstr "" 982 982 983 #: src/Platforms/WooCommerce.php:57 3983 #: src/Platforms/WooCommerce.php:574 984 984 msgid "Payment failed (confirmed by gateway)." 985 985 msgstr "" 986 986 987 #: src/Platforms/WooCommerce.php:77 0987 #: src/Platforms/WooCommerce.php:771 988 988 #: src/Platforms/WPTravelEngine.php:700 989 989 msgid "Payment gateway configuration not found." 990 990 msgstr "" 991 991 992 #: src/Platforms/WooCommerce.php:91 2992 #: src/Platforms/WooCommerce.php:913 993 993 msgid "Cart is not available. Please refresh the page and try again." 994 994 msgstr "" 995 995 996 #: src/Platforms/WooCommerce.php:95 8996 #: src/Platforms/WooCommerce.php:959 997 997 msgid "Billing email is required." 998 998 msgstr "" 999 999 1000 #: src/Platforms/WooCommerce.php:107 61000 #: src/Platforms/WooCommerce.php:1077 1001 1001 msgid "Order session expired. Please try again." 1002 1002 msgstr "" 1003 1003 1004 #: src/Platforms/WooCommerce.php:109 71004 #: src/Platforms/WooCommerce.php:1098 1005 1005 #: src/Platforms/WPTravelEngine.php:837 1006 1006 msgid "Invalid payment data format." 1007 1007 msgstr "" 1008 1008 1009 #: src/Platforms/WooCommerce.php:111 81009 #: src/Platforms/WooCommerce.php:1119 1010 1010 msgid "You do not have permission to modify this order." 1011 1011 msgstr "" 1012 1012 1013 #: src/Platforms/WooCommerce.php:122 11013 #: src/Platforms/WooCommerce.php:1222 1014 1014 msgid "Order ID is required." 1015 1015 msgstr "" 1016 1016 1017 #: src/Platforms/WooCommerce.php:123 11017 #: src/Platforms/WooCommerce.php:1232 1018 1018 msgid "Order key is required." 1019 1019 msgstr "" 1020 1020 1021 #: src/Platforms/WooCommerce.php:125 01021 #: src/Platforms/WooCommerce.php:1251 1022 1022 msgid "You do not have permission to view this order." 1023 1023 msgstr "" 1024 1024 1025 #: src/Platforms/WooCommerce.php:171 21025 #: src/Platforms/WooCommerce.php:1713 1026 1026 msgid "Email address" 1027 1027 msgstr "" 1028 1028 1029 #: src/Platforms/WooCommerce.php:171 31029 #: src/Platforms/WooCommerce.php:1714 1030 1030 msgid "First name" 1031 1031 msgstr "" 1032 1032 1033 #: src/Platforms/WooCommerce.php:171 41033 #: src/Platforms/WooCommerce.php:1715 1034 1034 msgid "Last name" 1035 1035 msgstr "" 1036 1036 1037 #: src/Platforms/WooCommerce.php:171 51037 #: src/Platforms/WooCommerce.php:1716 1038 1038 msgid "Street address" 1039 1039 msgstr "" 1040 1040 1041 #: src/Platforms/WooCommerce.php:171 61041 #: src/Platforms/WooCommerce.php:1717 1042 1042 msgid "City" 1043 1043 msgstr "" 1044 1044 1045 #: src/Platforms/WooCommerce.php:171 71045 #: src/Platforms/WooCommerce.php:1718 1046 1046 msgid "Country" 1047 1047 msgstr "" 1048 1048 1049 #: src/Platforms/WooCommerce.php:171 81049 #: src/Platforms/WooCommerce.php:1719 1050 1050 msgid "Postcode" 1051 1051 msgstr "" 1052 1052 1053 1053 #. translators: %s: comma-separated list of missing field names 1054 #: src/Platforms/WooCommerce.php:173 41054 #: src/Platforms/WooCommerce.php:1735 1055 1055 #, php-format 1056 1056 msgid "Please fill in all required billing fields: %s" 1057 1057 msgstr "" 1058 1058 1059 #: src/Platforms/WooCommerce.php:17 491059 #: src/Platforms/WooCommerce.php:1750 1060 1060 msgid "Please provide a valid email address." 1061 1061 msgstr "" 1062 1062 1063 #: src/Platforms/WooCommerce.php:183 21063 #: src/Platforms/WooCommerce.php:1833 1064 1064 msgid "The payment page could not be loaded. Please try placing your order again." 1065 1065 msgstr "" 1066 1066 1067 #: src/Platforms/WooCommerce.php:186 51067 #: src/Platforms/WooCommerce.php:1866 1068 1068 msgid "Payment is already being processed. Please wait a moment and try again." 1069 1069 msgstr "" 1070 1070 1071 #: src/Platforms/WooCommerce.php:194 01071 #: src/Platforms/WooCommerce.php:1941 1072 1072 msgid "PayLexer: subscription creation failed." 1073 1073 msgstr "" 1074 1074 1075 #: src/Platforms/WooCommerce.php:196 41075 #: src/Platforms/WooCommerce.php:1965 1076 1076 msgid "Subscription could not be created. Please try again." 1077 1077 msgstr "" 1078 1078 1079 #: src/Platforms/WooCommerce.php:20 891079 #: src/Platforms/WooCommerce.php:2090 1080 1080 msgid "Failed to validate payment. Please try again." 1081 1081 msgstr "" 1082 1082 1083 #: src/Platforms/WooCommerce.php:210 41083 #: src/Platforms/WooCommerce.php:2105 1084 1084 msgid "Your session has expired or is invalid. Please refresh the page and try again." 1085 1085 msgstr "" 1086 1086 1087 #: src/Platforms/WooCommerce.php:24 851087 #: src/Platforms/WooCommerce.php:2495 1088 1088 msgid "Cart is empty." 1089 1089 msgstr "" 1090 1090 1091 #: src/Platforms/WooCommerce.php:2 4921091 #: src/Platforms/WooCommerce.php:2502 1092 1092 msgid "Failed to create order." 1093 1093 msgstr "" 1094 1094 1095 #: src/Platforms/WooCommerce.php:25 371095 #: src/Platforms/WooCommerce.php:2547 1096 1096 msgid "Awaiting PayLexer payment (blocks checkout)." 1097 1097 msgstr "" -
paylexer/trunk/paylexer.php
r3733684 r3740539 9 9 * Tested up to: 7.1 10 10 * Requires PHP: 8.1 11 * Version: 2.0. 311 * Version: 2.0.4 12 12 * Text Domain: paylexer 13 13 * Domain Path: /languages … … 23 23 24 24 // Define plugin constants. 25 defined( 'PAYLEXER_VERSION' ) || define( 'PAYLEXER_VERSION', '2.0. 3' );25 defined( 'PAYLEXER_VERSION' ) || define( 'PAYLEXER_VERSION', '2.0.4' ); 26 26 defined( 'PAYLEXER_FILE' ) || define( 'PAYLEXER_FILE', __FILE__ ); 27 27 defined( 'PAYLEXER_DIR' ) || define( 'PAYLEXER_DIR', __DIR__ ); -
paylexer/trunk/readme.txt
r3733684 r3740539 5 5 Tested up to: 7.1 6 6 Requires PHP: 8.1 7 Stable tag: 2.0. 37 Stable tag: 2.0.4 8 8 License: GPLv3 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 29 29 **Key Features** 30 30 31 * 1 18payment gateways across global, regional, and local markets31 * 120 payment gateways across global, regional, and local markets 32 32 * Works inside your existing checkout flow, not a replacement 33 33 * Your credentials are stored in an encrypted vault. We cannot access them. Nobody can. … … 37 37 **Supported Payment Gateways** 38 38 39 PayLexer currently supports 1 18payment gateways. New ones are added every month.39 PayLexer currently supports 120 payment gateways. New ones are added every month. 40 40 41 41 * Stripe - Global … … 157 157 * PayJustNow - South Africa 158 158 * Klix - Europe 159 * Raiffeisen - Central and Eastern Europe 160 * WiPay - Caribbean Region 159 161 160 162 **Coming Soon** … … 162 164 More gateways are on the way. These are in progress and will be available soon. 163 165 * Galaxy Pay - Vietnam 164 * GMO Pay - Japan165 * Raiffeisen - Central and Eastern Europe166 166 * TossPayments - South Korea 167 * WiPay - Caribbean Region 167 * ChillPay - Thailand 168 * PG Multi-Payment Service - Japan 169 * RazorPay Curlec - Malaysia 170 * PhaJay - Laos 168 171 169 172 Looking for a different gateway? [Request it here](https://paylexer.com/support#payment-gateway). Your request helps us decide what gets added next. … … 259 262 260 263 == Changelog == 264 265 = 2.0.4 = 266 * Added support for 2 new payment gateways: Raiffeisen and WiPay. 267 * Updated the supported payment gateways list to 120 gateways. 268 * Fix - Retrying a declined WiPay payment on WooCommerce now completes the original order instead of creating a second one. 261 269 262 270 = 2.0.3 = -
paylexer/trunk/src/Platforms/Gateways/WPTravelEngine/Base.php
r3632630 r3740539 60 60 */ 61 61 public function get_gateway_id(): string { 62 $code = preg_replace( '#^(paylexer|pg)#', 'paylexer', strtolower( $this->get_pl_code() ) ); 63 64 return "paylexer-{$code}"; 62 return 'paylexer-' . strtolower( $this->get_pl_code() ); 65 63 } 66 64 -
paylexer/trunk/src/Platforms/Gateways/WooCommerce/Base.php
r3728530 r3740539 20 20 use PayLexer\Utils\BillingAddressRequirement; 21 21 use PayLexer\Utils\Logger; 22 use PayLexer\Utils\ReusableOrderReference; 22 23 use PayLexer\Utils\WooGatewaySupports; 23 24 use PayLexer\Utils\WooLineItems; … … 461 462 // reject a second checkout built on it. Deliberately below the failure returns — 462 463 // a failed session build keeps the reference so the retry doesn't orphan an order. 463 delete_transient( 'paylexer_wc_order_' . $order_id ); 464 // Skipped for gateways that accept a repeated merchant reference: Woo 465 // reuses its pending/failed order on a retry, so keeping the reference lets 466 // the retry settle the SAME PayLexer order (tenant-api allows 467 // failed -> completed) instead of stranding the first one and creating a 468 // second. Unlisted gateways keep today's delete-always behaviour. 469 // Note the cleanup is dropped entirely for a listed gateway, not just on a 470 // retry - we cannot tell a first attempt from a retry here. That is safe: the 471 // transient is keyed per WC order and expires on its own (15 min), so the 472 // worst case is one stale cache entry per order instead of zero. 473 if ( ! ReusableOrderReference::supports( $this->get_gateway_name() ) ) { 474 delete_transient( 'paylexer_wc_order_' . $order_id ); 475 } 464 476 465 477 // Allow post-processing modifications. -
paylexer/trunk/src/Platforms/WooCommerce.php
r3728530 r3740539 20 20 use PayLexer\Services\WebhookHandlers\WooCommerceHandler; 21 21 use PayLexer\Services\WebhookProcessor; 22 use PayLexer\Utils\ReusableOrderReference; 22 23 use PayLexer\Utils\GatewayOwnership; 23 24 use PayLexer\Utils\Logger; … … 2195 2196 // reject a second checkout built on it. Redirect gateways only — popup ones 2196 2197 // keep the cache so re-opening the modal doesn't duplicate the tenant order. 2197 delete_transient( $paylexer_client_secret ); 2198 // Same opt-out as the classic path: a gateway that accepts a repeated 2199 // merchant reference keeps its cached reference so a retry reuses the 2200 // existing PayLexer order rather than minting a second one. 2201 // Note the cleanup is dropped entirely for a listed gateway, not just on a 2202 // retry - we cannot tell a first attempt from a retry here. That is safe: the 2203 // transient is keyed per WC order and expires on its own (15 min), so the 2204 // worst case is one stale cache entry per order instead of zero. 2205 if ( ! ReusableOrderReference::supports( $gateway_id ) ) { 2206 delete_transient( $paylexer_client_secret ); 2207 } 2198 2208 $this->clear_payment_from_session(); 2199 2209 } else { -
paylexer/trunk/src/gateway-redirects.php
r3733684 r3740539 264 264 // shape via withFailedStatus() - same situation as bKash above. 265 265 'paylexer-payjustnow', 266 // WiPay (Caribbean): a single response_url serves success and failure 267 // alike. The connector's /redirect-callback/wipay proves a success by 268 // recomputing the MD5 hash WiPay signs it with, then routes to the 269 // merchant's stored returnUrl/cancelUrl, writing this same orderId + 270 // paylexer_status shape via withFailedStatus() — same situation as 271 // PayJustNow above. 272 'paylexer-wipay', 273 'paylexer-pg-multi-payment-service', 266 274 ), 267 275 ); -
paylexer/trunk/vendor/autoload.php
r3733684 r3740539 20 20 require_once __DIR__ . '/composer/autoload_real.php'; 21 21 22 return ComposerAutoloaderInit 69a145e5500e3f6207a7bfbc65441cd0::getLoader();22 return ComposerAutoloaderInit090c14eff1771c71527b8be71a9e4dd7::getLoader(); -
paylexer/trunk/vendor/composer/autoload_real.php
r3733684 r3740539 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 69a145e5500e3f6207a7bfbc65441cd05 class ComposerAutoloaderInit090c14eff1771c71527b8be71a9e4dd7 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 69a145e5500e3f6207a7bfbc65441cd0', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit090c14eff1771c71527b8be71a9e4dd7', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 69a145e5500e3f6207a7bfbc65441cd0', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit090c14eff1771c71527b8be71a9e4dd7', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 69a145e5500e3f6207a7bfbc65441cd0::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInit090c14eff1771c71527b8be71a9e4dd7::getInitializer($loader)); 33 33 34 34 $loader->register(true); -
paylexer/trunk/vendor/composer/autoload_static.php
r3733684 r3740539 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 69a145e5500e3f6207a7bfbc65441cd07 class ComposerStaticInit090c14eff1771c71527b8be71a9e4dd7 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 41 41 { 42 42 return \Closure::bind(function () use ($loader) { 43 $loader->prefixLengthsPsr4 = ComposerStaticInit 69a145e5500e3f6207a7bfbc65441cd0::$prefixLengthsPsr4;44 $loader->prefixDirsPsr4 = ComposerStaticInit 69a145e5500e3f6207a7bfbc65441cd0::$prefixDirsPsr4;45 $loader->classMap = ComposerStaticInit 69a145e5500e3f6207a7bfbc65441cd0::$classMap;43 $loader->prefixLengthsPsr4 = ComposerStaticInit090c14eff1771c71527b8be71a9e4dd7::$prefixLengthsPsr4; 44 $loader->prefixDirsPsr4 = ComposerStaticInit090c14eff1771c71527b8be71a9e4dd7::$prefixDirsPsr4; 45 $loader->classMap = ComposerStaticInit090c14eff1771c71527b8be71a9e4dd7::$classMap; 46 46 47 47 }, null, ClassLoader::class); -
paylexer/trunk/vendor/composer/installed.php
r3733684 r3740539 2 2 'root' => array( 3 3 'name' => 'paylexer/paylexer', 4 'pretty_version' => '2.0. 3',5 'version' => '2.0. 3.0',4 'pretty_version' => '2.0.4', 5 'version' => '2.0.4.0', 6 6 'reference' => null, 7 7 'type' => 'wordpress-plugin', … … 21 21 ), 22 22 'paylexer/paylexer' => array( 23 'pretty_version' => '2.0. 3',24 'version' => '2.0. 3.0',23 'pretty_version' => '2.0.4', 24 'version' => '2.0.4.0', 25 25 'reference' => null, 26 26 'type' => 'wordpress-plugin',
Note:
See TracChangeset
for help on using the changeset viewer.