Commit graph

633 commits

Author SHA1 Message Date
dinamiko
56261b753b Update packages on vaulting module 2021-09-29 12:40:22 +02:00
dinamiko
36eb284dce Use sass instead of node-sass 2021-09-29 11:47:58 +02:00
dinamiko
065fc4c241 Update all packages to latest versions 2021-09-29 11:10:56 +02:00
dinamiko
b6cde1f593 Regenerate yarn.lock files 2021-09-29 10:20:11 +02:00
Emili Castells
62b5682733
Merge pull request #287 from woocommerce/PCP-302-using-a-saved-card-it-showed-an-
Add authorization flow for saved credit cards
2021-09-28 11:47:27 +02:00
dinamiko
7d893b40d3 Fix phpcs errors 2021-09-28 10:41:43 +02:00
dinamiko
2a31c3ce03 Add authorization flow for saved credit cards 2021-09-27 17:49:08 +02:00
Alex P
8c7baac7f9 Use CHECKOUT.ORDER.APPROVED for simulation
Not sure if it matters which event we use, but at least we are subscribed to this one
2021-09-24 17:36:51 +03:00
dinamiko
56017ba52a Fix typo in class name 2021-09-24 12:36:56 +02:00
dinamiko
1d17a4d3ab Make webhook nullable to prevent fatal error 2021-09-24 12:20:43 +02:00
dinamiko
a5f308cb9d Add logger to pending services 2021-09-24 10:33:21 +02:00
dinamiko
3fa3786b91 Add logger to data client id endpoint service 2021-09-24 10:09:17 +02:00
dinamiko
02d5411b18 Merge branch 'trunk' into release/1.6.0 2021-09-24 09:29:43 +02:00
Emili Castells
0515bdf949
Merge pull request #274 from woocommerce/PCP-288-vaulting-token-creation-fails
Allow customers to see and delete their saved payments in My Account.
2021-09-24 09:28:52 +02:00
Emili Castells
7aac842c80
Merge pull request #273 from woocommerce/webhook-simulation
Webhook simulation
2021-09-24 09:28:01 +02:00
dinamiko
15f69e8151 Fix phpcs errors 2021-09-24 09:26:06 +02:00
dinamiko
773b784a53 Log delete payment failure and parse url when checking payments page 2021-09-23 17:12:17 +02:00
dinamiko
97e3f217e8 Merge branch 'trunk' into release/1.6.0 2021-09-23 16:32:34 +02:00
Alex P
7ef5991cb8 Log endpoint errors 2021-09-23 17:19:46 +03:00
dinamiko
28b12af089 Add delete payment functionality 2021-09-23 15:19:44 +02:00
dinamiko
964936ee17 Load my account payments script only in its own page 2021-09-23 11:22:31 +02:00
Alex P
8c52c815c8 Make event type param 2021-09-23 10:53:54 +03:00
Alex P
ea2f728cd8 Add webhook simulation 2021-09-23 10:53:43 +03:00
dinamiko
e78e81227a Add js script for my account payments screen 2021-09-22 15:49:24 +02:00
dinamiko
fc488a3497 Work in progress 2021-09-22 10:05:00 +02:00
Alex P
0268524261 Fix log message 2021-09-21 17:53:01 +03:00
Alex P
2c294861a1 Add service for current webhook 2021-09-21 17:52:44 +03: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
2db0162988 Move payment tokens repository to vaulting package 2021-09-17 17:11:36 +02:00
dinamiko
60dc34e510 Display saved payment tokens 2021-09-17 16:54:31 +02:00
dinamiko
6c3a11fcd8 Merge branch 'trunk' into PCP-288-vaulting-token-creation-fails 2021-09-17 12:29:54 +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