Commit Graph

37068 Commits

Author SHA1 Message Date
vedanshujain cb97db9fb3 Merge branch 'master' into release/4.9 2020-12-21 21:37:52 +05:30
vedanshujain f0460cb485 Updated changelog. 2020-12-21 21:37:29 +05:30
Claudio Sanches 8cc953950e
Merge pull request #28624 from woocommerce/fix/27688
Also include empty string and comment types for backward compat.
2020-12-21 12:11:09 -03:00
Roy Ho d2cd61762a
Merge pull request #28592 from woocommerce/fix/27673
Better error messages when coupons are stuck in a pending order.
2020-12-21 05:22:41 -08:00
vedanshujain b838043c57 Merge branch 'master' into fix/27688 2020-12-21 15:38:49 +05:30
vedanshujain f248276a89 Use correct syntax for translators comments. 2020-12-21 15:33:10 +05:30
vedanshujain 39c200bf2d Merge branch 'master' into fix/27673 2020-12-21 15:29:55 +05:30
vedanshujain 16a81d2c5b Add changelog for 4.9. 2020-12-21 15:09:41 +05:30
Vedanshu Jain 3e82cd6d51
Merge pull request #28517 from woocommerce/update/woocommerce-blocks-4.0.0
Update WooCommerce Blocks package to 4.0.0
2020-12-21 01:31:05 +05:30
vedanshujain f1b0da9a20 Merge branch 'master' into update/woocommerce-blocks-4.0.0 2020-12-21 01:09:02 +05:30
Vedanshu Jain d2c5fc0750
Merge pull request #28635 from woocommerce/packages/core-tests/setup-shipping
use xpath to find onboarding set up shipping task
2020-12-21 01:05:46 +05:30
Ron Rennick 4774297e15 use xpath to find onboarding set up shipping task 2020-12-19 23:00:32 -04:00
Tam Mullen 5be0b57bb4
Merge pull request #28599 from woocommerce/add/e2e-merchant-orders-apply-coupon
Add e2e test for merchant orders > apply coupon
2020-12-18 21:37:49 +00:00
vedanshujain 293849ac53 Merge branch 'master' into update/woocommerce-blocks-4.0.0 2020-12-18 20:02:00 +05:30
Vedanshu Jain 218636e339
Merge pull request #28590 from woocommerce/update/wc-admin-1.8.1
Update wc-admin to 1.8.1
2020-12-18 19:42:20 +05:30
vedanshujain 1bc2ea8754 Also include empty string and comment types for backward compat. 2020-12-18 18:08:33 +05:30
Peter Fabian 75754d5281
Update CONTRIBUTING.md
Fixed the link to GH ideas board.
2020-12-18 12:28:50 +01:00
vedanshujain 934b10fb8c Use wc_get_orders for consistency intead of custom query 2020-12-18 14:40:20 +05:30
vedanshujain 089994c618 Dont fetch optional fields unless asked to improve performance 2020-12-18 14:40:20 +05:30
vedanshujain 04f948951a Fetch product attrs only when needed 2020-12-18 14:40:20 +05:30
vedanshujain 13bee82ed9 Cover missed cases 2020-12-18 14:40:20 +05:30
vedanshujain 54dd5550e5 Pass request in backward compatible way 2020-12-18 14:40:20 +05:30
vedanshujain e62169a4b5 Cache return fields for perfromance 2020-12-18 14:40:20 +05:30
vedanshujain 2e65b8cec4 Fetch expensive fields only when required for performance 2020-12-18 14:40:20 +05:30
zhongruige b23d5db546 Typo fix 2020-12-16 15:00:13 -07:00
Claudio Sanches 6c132c1e25
Merge pull request #28543 from woocommerce/fix/27521
Fix issue where customer could checkout although mandatory field "Country" was not given
2020-12-16 17:01:10 -03:00
Claudio Sanches d523f5aad2
Merge pull request #28538 from woocommerce/fix/remove-gb-from-eu-vat
Remove GB and IM from EU VAT countries
2020-12-16 16:59:02 -03:00
vedanshujain 6fa77b3d8e Fixup for myaccount page logic, it should be > 0 ot be considered as set. 2020-12-16 19:48:09 +05:30
vedanshujain 981d494d52 Add unit tests for #28592 2020-12-16 19:37:01 +05:30
vedanshujain 9ca52ee73b Fix unit test to use new coupon error messages.
This also removes some cart operations which are not needed anymore to since cart already has items that we were adding in those tests.
2020-12-16 16:21:33 +05:30
vedanshujain 6b550ffb23 Better error messages for when coupon are held in other transactions.
Earlier, we were just showing an "Usage limit reached message", however in some cases, specially when user is logged in, we can also ask them to go to MyAccount page and cancel order if they'd like to (to free up the coupon). This will hopefully make for a better user experience.
2020-12-16 15:19:40 +05:30
zhongruige 5131c922a2 Remove unneeded no-disabled-tests 2020-12-15 20:18:16 -07:00
zhongruige e178017e0a Added tests for the merchant order apply coupon flow 2020-12-15 20:14:02 -07:00
Tam Mullen 44d508e332
Merge pull request #28556 from woocommerce/add/e2e-merchant-orders-refund-order
Added new tests for the merchant order refund flow
2020-12-15 22:35:30 +00:00
Ron Rennick f74969f1a6
Merge pull request #28548 from woocommerce/travis-retry
Retry e2e tests automatically in case of failure
2020-12-15 09:38:50 -04:00
zhongruige d8018cf28e Add missing trailing semicolon 2020-12-15 06:33:55 -07:00
Rodrigo Primo b18fb32aa9
Merge pull request #28565 from woocommerce/fix/issue-28260
Fix error tooltip misaligned on tax country field closes #28260
2020-12-15 09:48:22 -03:00
Rodrigo Primo 5842068cdf
Merge pull request #28587 from woocommerce/add/e2e-docker-image-delay
add 12 hour delay to pulling new docker tags
2020-12-15 09:17:12 -03:00
vedanshujain 507e7a27b2 Better error messages when coupons are stuck in a pending order.
We hold coupons when payment is failed if the setting "hold stock for checkout" is enabled for some minutes. This is to allow the customers to try again if they want, and to give time to complete payment for gateways where it could take some time.

Unfortunately this cause for some bad UX user retries by starting the order from scratch again, and then if they apply the coupon, usage limit gets hit because the earlier coupon is still held and is counted towards the usage. This commit improves the error message in these cases when usage is applied per customer and is hit, by stating to go to my account to complete/cancel payment (in case of logged in user) or to wait for some time in case of guest users.
2020-12-15 16:01:14 +05:30
Sam Seay 975388bfb3 Update wc-admin to 1.8.1 2020-12-15 15:00:08 +13:00
Ron Rennick 733157638b update package changelog 2020-12-14 10:54:29 -04:00
Ron Rennick ef61903822 add 12 hour delay to pulling new docker tags 2020-12-14 10:42:39 -04:00
Vedanshu Jain 4339aee35f
Merge pull request #27352 from juliquiron/fix/slow-wc-customer-get-operations
Added cache and filter for wc-customer get operations.
2020-12-14 09:43:04 +05:30
zhongruige 88630e2a32 Add delete issued refund test 2020-12-13 16:07:16 -07:00
roykho 83f327026f
Fix error tooltip misaligned on tax country field closes #28260 2020-12-11 12:34:31 -08:00
zhongruige 9d95a21f48 Cleanup unused no-standalone-expect 2020-12-11 10:54:42 -07:00
zhongruige 88ddefbcb3 Dynamically pull the currency symbol instead of hard-coding it 2020-12-11 10:48:20 -07:00
zhongruige 4ca6114476 Swap out currency symbol 2020-12-11 09:47:03 -07:00
zhongruige 2caac87d03 Added new tests for the merchant order refund flow 2020-12-10 21:27:04 -07:00
Tam Mullen 1add2556d6
Merge pull request #28437 from woocommerce/add/e2e-merchant-orders-filter-orders
Added tests for Merchant / Orders / Filter Orders flow
2020-12-10 20:54:19 +00:00