Commit graph

602 commits

Author SHA1 Message Date
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
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
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
Alex P
64b04d67bd Merge branch 'trunk' into fix-webhooks-auth 2021-09-16 12:17:53 +03: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
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
dinamiko
05dcf5c4f4 Refactoring 2021-09-10 12:16:33 +02:00
dinamiko
12f1a2e40b Disable credit card fields when selecting saved payment 2021-09-09 17:28:16 +02:00
dinamiko
0034e4dd51 Do not throw error if customer does not have payment tokens 2021-09-09 15:35:26 +02:00
dinamiko
b1ce9191f9 Ignore disable funding card if card processing is enabled 2021-09-09 12:20:43 +02:00
Alex P
ccf3c88432 Merge branch 'trunk' into pcp-178-gateways 2021-09-09 12:09:32 +03:00
dinamiko
31260b61f9 Fix merge conflicts 2021-09-08 15:22:28 +02:00
Emili Castells
9e8929c7f9
Merge pull request #230 from woocommerce/pcp-248-3ds-select
Add 3d secure contingency settings
2021-09-08 14:43:21 +02:00
dinamiko
3580462efc Add tooltip description 2021-09-08 14:39:56 +02:00
dinamiko
6e0f739a00 Remove disabling card for UK 2021-09-08 11:40:13 +02:00
Alex P
a41f678ac6 Subscribe to form button click only once 2021-09-07 17:58:17 +03:00
Alex P
10d7574e22 Teardown hosted fields on re-render 2021-09-07 17:56:16 +03:00
Alex P
34ae2ee30b Show notice only on ppcp and payments page 2021-09-01 16:28:17 +03:00