Commit Graph

291 Commits

Author SHA1 Message Date
Gerhard 8a685c3303 is_vat_exempt check on orders expect a yes/no and not a bool, save values as string. 2019-01-17 07:46:45 +02:00
Gerhard 26f9aad65c add_meta_data not add_meta 2019-01-16 09:18:54 +02:00
Gerhard f11613c5e9 Set order vat exempt status to that of customer on checkout. 2019-01-15 13:20:07 +02:00
JeroenSormani f4775ccd90 Use shipping method instead of property through magic + doc return statements 2019-01-04 12:41:38 +00:00
Gerhard c356f3d053 Sort checkout fields using PHP and not JS on initial page load as it causes issues as per #20640
Co-authored-by pierrebuet
2018-10-31 08:14:50 +02:00
Peter Fabian 897af8d20e Updated phone validation and formatting rules. 2018-08-24 15:43:46 +02:00
Claudiu Lodromanean fe69a875e2
Merge pull request #20993 from woocommerce/fix/20959
Changed wc_clean to checking for valid utf8 for line items and password.
2018-08-22 10:12:48 -07:00
Peter Fabian 1a2f0d4a0b Removed check for invalid utf8 in passwords. 2018-08-17 11:01:30 +02:00
Peter Fabian d4fab78b05 PHPCS update. 2018-08-09 11:30:40 +02:00
Gerhard Potgieter 70e9b747e8
Merge pull request #20832 from rnaby/180718-010448-class-wc-checkout
HashTable Implemented
2018-08-07 12:26:08 +02:00
Peter Fabian 925002bc37 Changed wc_clean sanitization to checking for valid utf8 and the input is later sanitized by WordPress db layer.
It caused issues in 2 places: Order item name (product name) and user's password.
2018-08-06 20:49:27 +02:00
Shohei Tanaka d77990edde
Update it again
Thank you for the concrete method.
2018-07-29 09:17:39 +09:00
Shohei Tanaka f4db4ecad7
Update it
Do you mean it?
2018-07-27 19:12:17 +09:00
Shohei Tanaka fdc9d42dc4
If email @local include non alphabet
If I input infoおおお@test.com as billing email address, automatically change to info@test.com by sanitize_email function.

So at first check the email address by is_email function, after that we must use sanitize_email function.
2018-07-27 00:18:09 +09:00
Khan M Rashedun-Naby 416f4b64ee HashTable Implemented 2018-07-18 01:37:08 +06:00
Mike Jolley fe25006fa1 Store name and other data to customer session during checkout 2018-06-29 12:42:10 +01:00
Mike Jolley 4df54b4e53 Merge branch 'master' 2018-06-07 11:24:12 +01:00
Mike Jolley db9ab9cb8f
Merge pull request #20330 from woocommerce/update/19745
Eircode validation and formatting tweaks
2018-06-07 10:41:35 +01:00
claudiulodro 5fbb997949 Format shipping info when copied from billing 2018-06-01 08:28:18 -07:00
claudiulodro cd303d3540 Fix typo in error message 2018-05-31 12:40:58 -07:00
Claudiu Lodromanean 07bad6975f
Merge pull request #19951 from woocommerce/update/19745
Eircode validation and formatting
2018-05-31 20:31:46 +01:00
Mike Jolley c05c5d75cb No need to check if terms page is set if the field was posted. 2018-05-22 15:14:12 +01:00
Mike Jolley 1e227dcc2e Allow custom validation methods for postcodes and include IE 2018-05-03 11:26:01 +01:00
Claudio Sanches 96c538bf4a Fixed coding standards for #19866 2018-04-27 16:00:53 -03:00
Mike Jolley ffc5fc6b74
Merge pull request #19865 from rnaby/260418-090005-wc-checkout
Method refactored
2018-04-26 12:37:08 +01:00
Mike Jolley 79c6c6c61b
Merge pull request #19866 from rnaby/260418-091223-wc-checkout
get_value method refactored
2018-04-26 12:34:46 +01:00
Mike Jolley 6a1cd802bc
Merge pull request #19868 from rnaby/260418-101617-wc-checkout
process_order_without_payment method redundant else removed
2018-04-26 12:29:14 +01:00
Khan M Rashedun-Naby c235d05446 process_order_payment method redundant else removed. 2018-04-26 10:24:31 +06:00
Khan M Rashedun-Naby dfcec0ce39 process_order_without_payment method redundant else removed 2018-04-26 10:18:47 +06:00
Khan M Rashedun-Naby e1fea55cb6 get_value method refactored 2018-04-26 09:40:58 +06:00
Khan M Rashedun-Naby 6714d47e8d Some more clean up 2018-04-26 09:11:36 +06:00
Khan M Rashedun-Naby d7458493c6 get_checkout_fields method refactored 2018-04-26 09:03:51 +06:00
Mike Jolley 342ce28c61 Throw an error when the order is not loaded on checkout 2018-04-20 11:54:36 +01:00
Mike Jolley bd539e38f0 Remove output buffering 2018-04-19 18:27:29 +01:00
Mike Jolley 860e7a5d23 Merge branch 'master' into update/gdpr-checkout-customizer 2018-04-16 18:02:28 +01:00
Mike Jolley 55aced044f Avoid storing coupon `_used_by` data 2018-04-10 12:36:24 +01:00
Mike Jolley 3140a0fb62 More customistion options for terms and conditions. 2018-04-06 11:43:30 +01:00
Mike Jolley fb8b670cda Merge branch 'master' into update/19345 2018-03-19 18:00:28 +00:00
Claudio Sanches 47894cc64d Fixed includes/class-wc-checkout.php PHPCS violations 2018-03-16 16:15:08 -03:00
Mike Jolley 5d6b43dbc8 Update nonce handling 2018-03-13 14:16:56 +00:00
Mike Jolley b4579bb502 Merge branch 'master' into update/16912 2018-03-01 16:38:04 +00:00
Caleb Burks 0568470bb8 Only show T&C's notice if there is a valid T&Cs page 2018-02-28 21:58:34 -05:00
Caleb Burks c21cc2e8fe Replace “Cheatin’ uh?” with friendlier messages 2018-02-07 17:01:12 -05:00
Mike Jolley c64c726da9 Set instance id 2018-01-15 14:49:55 +00:00
Mike Jolley d9913c0d77 Checkout should store fee tax lines
Fixes #17815
2017-11-21 10:49:26 +00:00
Tim Howe 1b08688ea6 Checkout Postcode / Zip validation error message missing Billing / Shipping Identification #17474 (#17535)
* Fix - #17413
Update the `json_search_products` function to use the
`wc_products_array_filter_visible` filter rather then the
`wc_products_array_filter_editable` filter

Added an additional if condition to the `is_visible` function to check
if the product had a parent and it's post status

* remove additional comment from code to keep it clean

* Reverted filter

* Updated the is_visable to check parent product post status using WooCommerce class methods

* Updated the `if empty` check to make it is compatible with older versions of php

* Removed the empty check infavor of just testing on the returned value
Updated the way we are retrieving the partent product object

* Moved the `$parent_product` variable assigment out of the if statement.

* Applied and tested tregenza patch to updates Checkout Postcode / Zip validation error message

* Cleaned up code from testing
2017-11-02 11:54:03 -07:00
Boro Sitnikovski b11ed6e3db Fix direct access to props on checkout 2017-09-27 16:25:45 +02:00
Mike Jolley 8973a0cdad Merge pull request #16797 from Umangvaghela/add-esc_html
add esc_html in class-wc-checkout.php file
2017-09-15 16:37:50 -07:00
Umangvaghela 37edbbedf5 add esc_html in class-wc-checkout.php file 2017-09-13 13:01:59 +05:30
nils-fredrik@maksimer.no 39bde22e56 Apply filter to posted data in checkout. 2017-09-08 21:34:55 +02:00