Commit Graph

18 Commits

Author SHA1 Message Date
Harald Welte 8acf49b14e check for maximum address field lengths as per shipcloud UPS API spec 2023-12-03 02:10:47 +01:00
Harald Welte 09598ca70e include name of erroneous field in error message 2023-12-02 23:20:52 +01:00
Harald Welte 641639f901 fix logic of preg_match function 2023-12-02 23:20:44 +01:00
Harald Welte 9d4f928ee2 add missing 'use' for State 2023-12-02 23:03:34 +01:00
Harald Welte 9c8a600ad8 salutation is not a string 2023-12-02 23:00:33 +01:00
Harald Welte f657aaba37 contains_only_latin argument is _optional_ string 2023-12-02 22:58:43 +01:00
Harald Welte 187768c846 add missing <?php header 2023-12-02 22:56:10 +01:00
Harald Welte b08599f070 ShippingAddress, not ShippingCard (sic!) 2023-12-02 22:53:05 +01:00
Harald Welte 33907f3880 fix argument/variable name 2023-12-02 22:47:15 +01:00
Harald Welte 06cf48c2a7 bail if there's no shipping address yet 2023-12-02 22:45:57 +01:00
Harald Welte 7e1a399622 fix syntax error 2023-12-02 22:44:07 +01:00
Harald Welte 8d8a8165b3 ensure strict_types is in first line
strict_types declaration must be the very first statement in the script at /var/www/html/custom/plugins/SmcAddressLatin/src/Core/Checkout/Cart/SmcCartValidator.php:2)
2023-12-02 22:42:18 +01:00
Harald Welte f77c079771 fix various syntax errors 2023-12-02 22:41:40 +01:00
Harald Welte 92c88dbf29 SmcCardValidator: Declare function in correct scope 2023-12-02 22:33:08 +01:00
Harald Welte 3cd915b089 remove invalid c++ style comment from services.xml 2023-12-02 22:30:35 +01:00
Harald Welte 698dc77571 add missing SmcAddressLatin.php file 2023-12-02 22:28:59 +01:00
Harald Welte 5bf74c1ecb add AGPLv3 license as COPYING file 2023-12-02 21:45:45 +01:00
Harald Welte 8b19e5480f initial checking of first attempt 2023-12-02 17:33:35 +01:00