Peter Fabian
ee865fe0b4
Merge pull request #25504 from woocommerce/update/order-detail-summary
...
Enhance order details and payment summary
2020-02-06 11:40:45 +01:00
Peter Fabian
5c23d013d7
Added info about packages to System Status Report.
2020-02-05 21:54:05 +01:00
Rodrigo Primo
44ecb0ec9e
Only display the "Paid by customer" section if the order has been paid
...
This commit changes the condition in the if the statement that decides
whether or not to display the "Paid by customer" section in the order admin
page. Before it, this section was displayed for all orders that
contained one of the following statuses: 'processing', 'completed' or 'refunded'.
The problem with this approach is that offline payment gateways, like
'Cash on Delivery', set the order status to processing when the order is
placed but before the customer pays for it. So the "Paid by customer"
section was being displayed in some cases where the order was not
actually paid yet creating a confusing experience to store managers.
To fix this, this commit also checks for the presence of the
`_date_paid` order meta. If this order meta is present and the order
status corresponds to one of the three statuses listed above, it means that
the order has been paid and we can display the "Paid by customer"
section. If this order meta is not present, we don't display the "Paid
by customer" section.
2020-02-05 16:08:13 -03:00
Christopher Allford
57734ca8ce
Merge branch 'master' into refactor/add-jetpack-constants
2020-02-04 14:36:35 -08:00
Christopher Allford
4ae1e1f5fc
Extracted the repetitive Constants::get_constant( 'WC_VERSION' ) calls where possible
2020-02-04 14:02:57 -08:00
Peter Fabian
147266f44f
Updates to reflect PR feedback.
2020-02-04 21:43:29 +01:00
Peter Fabian
5001e14086
Renamed Discounts to Coupons.
2020-02-04 18:27:53 +01:00
Claudio Sanches
f021a6559f
Merge pull request #25562 from woocommerce/fix/25560
...
Removed WC Admin from the Setup Wizard if it's already active.
2020-02-04 14:03:55 -03:00
Peter Fabian
e5e5d5997e
Better name for the new function.
2020-02-04 17:53:28 +01:00
Claudio Sanches
6f37df1961
Merge pull request #25502 from woocommerce/fix/25488
...
[4.0] Remove wc-admin install nudge.
2020-02-04 13:19:57 -03:00
Claudio Sanches
3fa9c79d94
Remove old notice file
2020-02-04 13:17:36 -03:00
Claudio Sanches
94d1b742ad
Merge pull request #25545 from woocommerce/prep/after-3.9
...
Bumped versions for the upcoming release.
2020-02-04 13:05:27 -03:00
Claudio Sanches
ab147f7a71
Merge pull request #25532 from woocommerce/update/wccom-helper-api-authentication
...
Add query params as fallback for passing authentication data to WC Helper API
2020-02-04 13:04:11 -03:00
Peter Fabian
4a506ebcf7
Merge pull request #25530 from woocommerce/fix/country-region-label
...
Fix/country region label
2020-02-04 13:54:22 +01:00
vedanshujain
ee274be95a
Modified "Country" to "country / Region" for more inclusiveness
2020-02-04 13:46:13 +05:30
Peter Fabian
d588218eb6
PHPCS
2020-02-03 23:18:12 +01:00
Peter Fabian
12fe0e6815
Corrected tax amount displayed in the summary.
2020-02-03 23:09:59 +01:00
Peter Fabian
f9c9498e7c
Replaced deprecated call with a substitute function.
2020-02-03 23:09:19 +01:00
Christopher Allford
bf02776a3b
Corrected inconsistent uses of the Constants library
2020-02-03 13:15:12 -08:00
Christopher Allford
c5e1fc6c45
Merge remote-tracking branch 'origin/master' into refactor/add-jetpack-constants
2020-02-03 11:50:16 -08:00
Denis Dvali
e496d6ea3f
Adding doc comments to comply with coding standard.
2020-02-03 22:14:00 +03:00
Peter Fabian
04c4732e13
Unified the check for presence of WC Admin.
2020-02-03 18:04:18 +01:00
Peter Fabian
aa8e8992cc
Merge branch 'master' into fix/25560
...
# Conflicts:
# includes/admin/class-wc-admin-setup-wizard.php
2020-02-03 17:59:24 +01:00
Peter Fabian
670dbbc5e7
Removed WC Admin from the OBW if it's already active.
...
Also, removed info about plugin installation if the plugin is active.
2020-02-03 17:41:50 +01:00
Peter Fabian
152a5cd52c
Merge pull request #25527 from woocommerce/fix/25526
...
Use enable onboarding path instead of manually setting onboarding option
2020-02-03 17:18:02 +01:00
Christopher Allford
1d1413b4ee
Replaced direct access of many constants with the Constants library
2020-01-31 22:18:47 -08:00
Peter Fabian
132ced6039
Fixed test for 4.0.
2020-01-31 21:05:50 +01:00
Peter Fabian
331b953c0c
Harmonize aria-label with other labels.
2020-01-31 08:59:52 +01:00
Peter Fabian
e87cea8688
Merge pull request #25501 from woocommerce/fix/25487
...
[4.0] Increase Onboarding A/B Test to 50%
2020-01-31 08:54:14 +01:00
Joshua Flowers
236bae9b6a
Check for wc_admin_url function in onboarding redirect
2020-01-31 10:56:44 +08:00
Joshua Flowers
28af08a1cb
Move exit
2020-01-31 10:52:49 +08:00
Peter Fabian
248e69960b
Merge branch 'master' into update/order-detail-summary
2020-01-30 17:41:32 +01:00
Denis Dvali
9e25706467
Add query params as fallback for passing authentication data to WC Helper API.
2020-01-30 15:17:50 +03:00
Peter Fabian
7c07b192af
Changed country to country/region label.
2020-01-30 12:42:41 +01:00
Joshua Flowers
74917a1548
Use enable onboarding path instead of manually setting onboarding option
2020-01-30 12:52:05 +08:00
Christopher Allford
ceeba16014
Merge pull request #24919 from TimBHowe/fix/20921
...
Fix/20921 - Throw error for invalid character in flat rate cost.
2020-01-29 13:32:49 -08:00
Christopher Allford
6ad091a9b7
Changed all of the constant accesses into corresponding Automattic\Jetpack\Constants usages
2020-01-28 21:21:29 -08:00
TimBHowe
f488f46b37
remove the pattern constraint on the flatrate input in the setup wiz
2020-01-28 11:01:13 -05:00
TimBHowe
d377f002aa
Added pattern attribute to the flat rate cost input field to only allow US and EU currency formating
2020-01-28 10:44:37 -05:00
TimBHowe
8b71dc0abb
Updated the wc_setup_shipping_save() function to sanitize the flatrate cost input
2020-01-28 10:44:36 -05:00
David Levin
ee2c6b8096
Change net payment to net total
2020-01-27 21:10:11 -08:00
David Levin
3c92aacfcb
update shipping methods
2020-01-27 19:22:04 -08:00
Timmy Crawford
9bfc7db3fb
Remove wc-admin install nudge.
2020-01-27 09:24:46 -08:00
Timmy Crawford
081afa256c
Change a/b test size of new onboarding to 50 percent.
2020-01-27 09:01:27 -08:00
vedanshujain
d768fcb139
Apply rounding only if value is integer to display "-" when needed.
2020-01-23 17:36:49 +05:30
Rodrigo Primo
8489d1bd33
Merge branch 'master' into fix/25394
2020-01-16 16:35:43 -03:00
Claudio Sanches
eedf82da38
Fixed coding standards
2020-01-15 20:40:55 -03:00
Claudio Sanches
5bafac3012
Improved maxmind_missing_license_key_notice logic
2020-01-14 23:32:55 -03:00
Christopher Allford
42269f965c
Added clarification that the MaxMind license key is not strictly necessary
2020-01-14 14:09:51 -08:00
Rodrigo Primo
241c6cd590
Make context for admin notice documentation more clear
2020-01-14 17:07:12 -03:00