Alex P
84a5d9cd0f
Merge branch 'trunk' into pcp-328-mismatch
2022-06-20 16:35:37 +03:00
Alex P
8fb6506b67
Add cart e2e tests
2022-06-20 09:09:27 +03:00
Alex P
af15246a96
Fix order fees total
2022-06-17 09:41:05 +03:00
Alex P
04aba8ceb1
Add tests using real WC
2022-06-17 09:40:00 +03:00
Alex P
02c84e43e0
Improve item total/price retrieval
...
Less calculations, also fee was not included in item price for subs with fee
2022-06-15 21:33:25 +03:00
Alex P
24586d0910
Send shipping/discount taxes as tax
2022-06-15 16:28:44 +03:00
Alex P
c59683b5ea
Fix phpcs
...
I guess the @since comments are not very critical for our hooks,
and anyway it should not be an error, finding the first version for every hook would take lots of time now.
not sure if there is a better way to suppress it in phpcs
2022-06-15 16:20:43 +03:00
Alex P
770f8e558b
Do not send tax in each item
...
Looks like it is not displayed anyway, and it causes mismatch + cannot send shipping/discount taxes as tax
2022-06-15 10:14:42 +03:00
Alex P
0e82a5f6c9
Fix rounding when checking total mismatch
2022-06-15 09:58:57 +03:00
Emili Castells
635236c37f
Merge pull request #683 from woocommerce/update-182-release
...
Add #639 to changelog and log not getting PayPal order error
2022-06-14 16:25:49 +02:00
dinamiko
5a6113f714
Add #639 to changelog and log not getting PayPal order error
2022-06-14 16:18:53 +02:00
Emili Castells
ceb95952a9
Merge pull request #672 from woocommerce/PCP-681-refund-failed-no-country-given-f
...
When creating `Address` do not throw but set empty string when no country code is received
2022-06-14 16:08:17 +02:00
Emili Castells
e948f8d972
Merge pull request #682 from woocommerce/release/1.8.2
...
Release 1.8.2
2022-06-14 14:19:31 +02:00
dinamiko
19b6d8b2e6
Add inpsyde as contrubutor
2022-06-14 14:18:06 +02:00
dinamiko
5dcc835f2e
Bump 1.8.2 version
2022-06-14 12:08:34 +02:00
Emili Castells
4ff581a5f7
Merge pull request #655 from woocommerce/PCP-694-smart-button-not-visible-on-single-product-page
...
Convert the "," separator into "." before checking the price amount.
2022-06-14 11:55:26 +02:00
Emili Castells
a8fb55daa4
Merge pull request #676 from woocommerce/PCP-711-capture-virtual-only-orders-intent-problem
...
Fix the order status for virtual & downloadable products
2022-06-14 11:53:44 +02:00
Emili Castells
2687365b5d
Merge pull request #662 from woocommerce/pcp-708-fix-free-trial-disable-funding
...
Fix disable-funding when free trial but dcc disabled
2022-06-14 11:51:58 +02:00
Emili Castells
22b7aed89a
Merge pull request #670 from woocommerce/PCP-625-paypal-smart-buttons-not-display-when-parent-is-out-of-stock
...
If product has inStock variation then allow button rendering
2022-06-14 11:50:01 +02:00
Emili Castells
d0fbfacf49
Merge pull request #668 from woocommerce/PCP-624-pay-later-messaging-displayed-when-variation-is-not-selected
...
Do not render messages when buttons are not rendered.
2022-06-14 11:49:12 +02:00
Emili Castells
e9e49fb8f0
Merge pull request #680 from woocommerce/pcp-579-email-validation
...
Fix form decoding and email handling
2022-06-14 11:15:53 +02:00
Emili Castells
3e28553201
Merge pull request #675 from woocommerce/pcp-448-quick-fix-validation
...
Add basic input validation before opening PayPal popup
2022-06-14 11:11:31 +02:00
Emili Castells
1f3ee422ef
Merge pull request #674 from woocommerce/PCP-399-something-went-wrong-error-from-
...
Do not check order approved status when it does not contains physical goods
2022-06-14 11:10:14 +02:00
dinamiko
503a067f69
Fix typo
2022-06-14 11:06:28 +02:00
dinamiko
5de360c869
Fix conflicts
2022-06-14 10:59:47 +02:00
Emili Castells
26309eabcd
Merge pull request #678 from woocommerce/PCP-379-order-not-approved-payment-via-v
...
Add order status `CREATED` to order processor check
2022-06-14 10:44:38 +02:00
Alex P
ff19c78d3a
Do not include autoload if already loaded
...
Can be useful if installing the plugin via composer, and needed for these e2e tests.
2022-06-13 22:07:18 +03:00
Alex P
4f91e78591
Do not fail if no WC_Product in order item
...
It is possible for an order item to not have product, such as if created by a plugin.
2022-06-13 18:52:52 +03:00
Alex P
bb86f1b8e6
Throw on createOrder failure to stop PayPal from attempting to continue
2022-06-08 16:16:13 +03:00
Alex P
da539ed578
Add email validation like in WC to fix confusing error message
2022-06-08 15:59:16 +03:00
Alex P
fdbbe6afb3
Send form data as json object to fix decoding
...
was decoded twice, in RequestData and by parse_str
2022-06-08 15:59:01 +03:00
dinamiko
8a0b439e5f
Add order status CREATED
to order processor check
2022-06-07 12:17:35 +02:00
Narek Zakarian
0c185fca08
Fix the order status for virtual & downloadable products
2022-06-06 16:12:42 +04:00
Alex P
993e109c49
Add basic input validation before opening PayPal popup
2022-06-03 16:27:53 +03:00
dinamiko
616e343f57
Update method description
2022-06-02 15:46:56 +02:00
dinamiko
297fb4b92a
Fix phpcs
2022-06-02 15:39:02 +02:00
dinamiko
0a993f854d
Do not check order approved status if it does not contains physical goods
2022-06-02 15:11:01 +02:00
dinamiko
062c08f19f
Remove unit test
2022-06-02 11:37:53 +02:00
dinamiko
8a51994db8
Do not throw but set empty string when no country code is received
2022-06-02 11:33:07 +02:00
Narek Zakarian
ebda39d130
If product has inStock variation then allow buttons
2022-06-01 18:17:51 +04:00
Narek Zakarian
6effc222f2
Do not render messages when buttons are not rendered.
2022-06-01 15:43:49 +04:00
Leonardo Lopes de Albuquerque
77230fefa8
updated release date
2022-05-31 14:53:03 -03:00
Emili Castells
77d8e07f46
Merge pull request #664 from woocommerce/PCP-707-increase-wordpress-tested-up-to-version
...
Increase WordPress tested up to version 6.0
2022-05-31 15:56:24 +02:00
Narek Zakarian
7ed1160cbc
Increase WordPress tested up to version 6.0
2022-05-31 17:26:45 +04:00
Alex P
f54451f39c
Fix disable-funding when free trial but dcc disabled
...
was sending array values instead of keys
2022-05-30 15:09:41 +03:00
Narek Zakarian
b9cdc56ad6
Convert the "," separator into "." before checking the price amount.
2022-05-24 18:35:39 +04:00
Emili Castells
d4c7dc6b6b
Merge pull request #652 from woocommerce/fix-server-var
...
Use filter_var for REQUEST_URI
2022-05-23 09:35:22 +02:00
Alex P
a220396fcc
Use filter_var for REQUEST_URI
...
In some cases filter_input returns NULL for server variables even though they are present.
Such as this bug https://bugs.php.net/bug.php?id=49184 , though not only in CLI.
At least in our DDEV it happens here.
2022-05-23 10:30:13 +03:00
Emili Castells
6771d978ec
Merge pull request #650 from woocommerce/release/1.8.1
...
Release 1.8.1
2022-05-20 10:11:39 +02:00
dinamiko
5dfc53521c
Improve changelog entry
2022-05-20 10:08:21 +02:00