Commit graph

1364 commits

Author SHA1 Message Date
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
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
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
Emili Castells
a660b30627
Merge pull request #236 from woocommerce/pcp-178-gateways
Show CC gateway in admin payments list
2021-09-10 09:18:58 +02:00
dinamiko
b1ce9191f9 Ignore disable funding card if card processing is enabled 2021-09-09 12:20:43 +02:00
Alex P
5ca32d0a0a Revert container cache fix 2021-09-09 12:33:24 +03:00
Alex P
085523c5da Fix test 2021-09-09 12:14:50 +03:00
Alex P
ccf3c88432 Merge branch 'trunk' into pcp-178-gateways 2021-09-09 12:09:32 +03:00
Emili Castells
821627ce2e
Merge pull request #248 from woocommerce/pcp-227-fix-duplicated-orders
Fix duplicated orders
2021-09-08 15:24:42 +02: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
Alex P
9408d1a9e5 Fix text 2021-09-01 16:01:07 +03:00
Emili Castells
93f0667075
Merge pull request #231 from woocommerce/pcp-181-payee-email
Do not send payee email
2021-09-01 11:16:36 +02:00
Emili Castells
f67ac6b697
Merge pull request #238 from woocommerce/remove-travis
Remove travis
2021-08-31 16:16:23 +02:00
Alex Pantechovskis
93cb005b4d
Remove travis
We don't need it, GitHub Actions do the same and more.
And it used PHP 7.0.
2021-08-31 10:29:53 +03:00
Alex P
527d14eb4a Simplify type hint 2021-08-31 10:20:34 +03:00
Alex P
33e6280aa3 Add notice DCC enabled without the main gateway 2021-08-31 10:20:11 +03:00
Alex P
65c048438c Fix indent 2021-08-27 20:46:09 +03:00
Alex P
dcd9bfffdd Fix test warning 2021-08-27 20:41:52 +03:00