Commit graph

583 commits

Author SHA1 Message Date
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
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
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
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
Alex P
9408d1a9e5 Fix text 2021-09-01 16:01:07 +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
f60f6b0556 Show CC gateway in admin payments list
allow changing order, enabling/disabling, opening settings via it
2021-08-27 13:50:31 +03:00
Alex P
3ebd3b29bd Fix return value 2021-08-27 13:46:54 +03:00
Alex P
45bef752fd Simplify if 2021-08-27 13:43:25 +03:00
Alex P
bc141ae7fb Refactor gateway page check 2021-08-27 13:43:00 +03:00
Alex P
ac482cc44d Do not send payee email if have id 2021-08-23 18:50:59 +03:00
Alex P
b988e08c66 Add "No 3DS" option 2021-08-23 12:29:43 +03:00
Alex P
0553ea62bf Send 3ds contingency in js 2021-08-20 17:47:32 +03:00
Alex P
31bd954870 Add 3d secure contingency settings 2021-08-20 17:25:24 +03:00
Emili Castells
e8a44f99e7
Merge pull request #225 from oscargare/trunk
fix REFUND_CAPTURE_CURRENCY_MISMATCH on multicurrency sites
2021-08-20 11:41:05 +02:00
Oscar Gare
852fbe9f54 fix REFUND_CAPTURE_CURRENCY_MISMATCH 2021-08-17 12:06:49 +02:00
emilicastells
e7a4dbd506
Remove postal code exist condition on purchase unit 2021-08-16 16:38:44 +02:00
dinamiko
6f49557e44 Update fees session on each after calculate totals 2021-08-16 11:08:58 +02:00
dinamiko
cc87fb50a3 Rename fees session to avoid naming conflicts 2021-08-16 10:37:17 +02:00
emilicastells
69b46c33d4
Merge branch 'trunk' into PCP-195-plugin-conflict-blocking-line-it 2021-08-13 16:50:35 +02:00
emilicastells
2273213cae
Add fees when creating line items from cart 2021-08-13 16:27:52 +02:00
dinamiko
9b16d92565 Update order status to failed when can not process order 2021-08-13 11:00:55 +02:00