Commit graph

1388 commits

Author SHA1 Message Date
dinamiko
97e3f217e8 Merge branch 'trunk' into release/1.6.0 2021-09-23 16:32:34 +02:00
Emili Castells
093268298b
Merge pull request #275 from woocommerce/log-errors
Log endpoint errors
2021-09-23 16:31:18 +02:00
Alex P
7ef5991cb8 Log endpoint errors 2021-09-23 17:19:46 +03:00
dinamiko
da3c573e30 Fix phpunit test 2021-09-21 12:20:54 +02:00
dinamiko
ead6858a51 Log 3DS authentication result 2021-09-21 11:34:16 +02:00
dinamiko
66c4c2f0a8 Do not set shipping if country does not have postal code 2021-09-20 14:58:58 +02:00
dinamiko
4bdc40c3fb Revert e7a4dbd506 2021-09-20 14:36:01 +02:00
dinamiko
1b1c6c4a60 Do not display generic error on hosted fields submit. Fixes #263. 2021-09-20 11:16:49 +02:00
dinamiko
909699886c Check if hosted fields instance exist before setting attribute 2021-09-20 11:14:35 +02:00
dinamiko
0781fb31d3 Update PayPal JSSDK integration date 2021-09-17 10:14:33 +02:00
dinamiko
af36ab4178 Bump 1.6.0 version 2021-09-16 17:12:46 +02:00
Emili Castells
efb5ab3d14
Merge pull request #259 from woocommerce/webhooks-status-page
Webhooks status page
2021-09-16 17:02:06 +02:00
Alex P
d1ead9fe1a Fix name in package.json 2021-09-16 17:16:31 +03:00
Alex P
d908445e5e Add resubscribe webhooks button 2021-09-16 17:08:43 +03:00
Emili Castells
caa33ab51e
Merge pull request #251 from woocommerce/PCP-244-saved-credit-card-does-not-auto-
Improve UX for stored credit card payments
2021-09-16 15:46:18 +02:00
Alex P
1720c12ef3 Try to subscribe if no webhooks when visiting webhooks status page 2021-09-16 15:44:00 +03:00
Alex P
8ea2d3daf6 Change "register" to "subscribe" for consistency 2021-09-16 15:43:50 +03:00
Alex P
a6b1b79e74 Improve table style 2021-09-16 15:24:46 +03:00
Alex P
e2a7f6d8d9 Show webhooks 2021-09-16 13:48:20 +03:00
dinamiko
17de4ac1de Fix merge conflict 2021-09-16 12:34:05 +02:00
dinamiko
6191541674 Disable hosted fields when selecting saved credit card 2021-09-16 12:29:30 +02:00
Alex P
0b029a9392 Add webhooks status page 2021-09-16 12:44:29 +03:00
Alex P
fa6f9eb188 Support passing field value without settings
Pass as function to not perform e.g. HTTP requests if the field is not needed.
2021-09-16 12:42:30 +03:00
Alex P
6b109be316 Add table field renderer 2021-09-16 12:41:08 +03:00
Alex P
620f25d88d Refactor field page checking
Reduce code duplication and support more than 2 pages.
Also remove 'all'
2021-09-16 12:40:00 +03:00
Alex P
b2904504f4 Implement webhook list retrieval 2021-09-16 12:37:05 +03:00
Emili Castells
b67392aabf
Merge pull request #255 from woocommerce/fix-webhooks-auth
Fix webhooks auth
2021-09-16 11:29:02 +02:00
Alex P
64b04d67bd Merge branch 'trunk' into fix-webhooks-auth 2021-09-16 12:17:53 +03:00
Emili Castells
dbec1c0e32
Merge pull request #253 from woocommerce/PCP-287-improve-logging
Improve logging
2021-09-15 11:53:32 +02:00
dinamiko
c77baafd68 Remove unused class 2021-09-15 11:40:58 +02:00
dinamiko
26e65dc3b6 Remove unused class 2021-09-15 11:40:26 +02:00
dinamiko
804ff8e526 Fix unit tests 2021-09-15 11:28:32 +02:00
Jorge A. Torres
ee983be58a
Merge pull request #258 from woocommerce/update-assets
Update wp.org assets
2021-09-14 15:46:00 -03:00
Jorge A. Torres
46308b5044 Update wp.org assets 2021-09-14 15:42:33 -03:00
dinamiko
12b9905c60 Fix unit tests (WIP) 2021-09-14 17:46:33 +02:00
dinamiko
5ca2f9d69f Move request response information from logger to request trait and return it as string 2021-09-14 16:23:33 +02:00
dinamiko
9f348ed411 Do not log sensible body data 2021-09-14 12:46:41 +02:00
Alex P
80d56f293c Do not detect credentials change on DCC settings page 2021-09-14 13:32:35 +03:00
dinamiko
6896265ca3 Add -disabled to css class name 2021-09-14 11:44:49 +02:00
dinamiko
da7450ccdf Dispatch hosted fields loaded event 2021-09-14 11:24:27 +02:00
dinamiko
ab32a20f68 Add and remove class for css opacity 2021-09-14 09:28:48 +02:00
Alex P
4c02326d63 Register webhooks a bit later
Otherwise it uses old state (and cannot choose the correct host, etc.), at least with ALTERNATE_WP_CRON
2021-09-14 10:25:50 +03:00
Alex P
803bc64d34 Add logging 2021-09-14 10:25:50 +03:00
Alex P
09cef78577 Fix and refactor credential change handling 2021-09-14 10:25:50 +03:00
Alex P
b853beb3b1 Refactor webhook registration errors logging
Logging was useless because it was just repeating the exception message. Context args were not used.
2021-09-14 10:25:23 +03:00
dinamiko
24859e6bc9 Log into single entry 2021-09-13 17:06:50 +02:00
dinamiko
a40c073bb9 Refactoring 2021-09-13 15:59:01 +02:00
dinamiko
ba66cf6c2e Log request body and wp error 2021-09-13 15:38:34 +02:00
dinamiko
1eb2087bfb Log request and response information 2021-09-13 13:38:58 +02:00
Emili Castells
079e8e6acc
Merge pull request #250 from woocommerce/PCP-256-disable-funding-credit-cards-aff
Disable funding credit cards affecting hosted fields, unset for GB
2021-09-10 15:24:58 +02:00