Commit graph

224 commits

Author SHA1 Message Date
dinamiko
5b90111f3f Merge branch 'trunk' into PCP-412-when-there-is-a-payment-saved-th 2022-03-02 09:55:17 +01:00
Alex P
0c07ebd629 Use plugin version as asset version 2022-02-17 18:51:24 +02:00
dinamiko
ccff0fa586 Fix merge conflicts 2022-02-10 09:34:42 +01:00
dinamiko
e3ac3ccc16 Set WC order transaction id, it also adds order note 2022-02-07 15:07:08 +01:00
dinamiko
da37cbb2e5 Fix psalm error 2022-02-07 14:26:24 +01:00
dinamiko
2c37b7c602 Fix psalm error 2022-02-07 12:57:35 +01:00
dinamiko
ac9c0c982c Add transaction id to order note when refund is received through webhook 2022-02-07 12:50:24 +01:00
Alex P
2e50e59940 Remove progressive onboarding state 2022-01-31 18:16:25 +02:00
Alex P
314ba44bb9 Use realpath for __FILE__ when creating url
on some sites __FILE__ contains .. which breaks url creation
2022-01-14 16:35:13 +02:00
Alex P
5591b2806d Fix double slash in asset urls 2022-01-14 16:33:59 +02:00
dinamiko
465855d061 Check for captured vault webhook order meta 2021-12-22 12:18:17 +01:00
dinamiko
572c62c74c Check for captured vault webhook order meta 2021-12-20 15:34:55 +01:00
dinamiko
ba7bea6fa6 Merge branch 'trunk' into PCP-412-when-there-is-a-payment-saved-th 2021-12-20 11:35:57 +01:00
dinamiko
2ba986b342 Introduce vaulting payment token created webhook (wip) 2021-12-20 09:43:36 +01:00
Alex P
5c865ceb9b Use payment_complete instead of updating status directly 2021-12-10 16:26:34 +02:00
Alex P
f845acefbe Add webhook status to status report 2021-11-24 11:52:14 +02:00
Alex P
f23df0b91c Make sanitize_custom_id more correct 2021-11-16 17:28:11 +02:00
Alex P
af746a52c1 Remove leftover of development logging 2021-10-20 17:41:46 +03:00
dinamiko
e3a793e3e5 Fix merge conflicts 2021-10-20 15:01:53 +02:00
Alex P
93be2ded35 Fix rest_ensure_response psalm error
rest_ensure_response can return WP_Error if wp error was passed
2021-10-15 10:58:29 +03:00
Alex P
3051f27fab Fix psalm 2021-10-15 10:54:38 +03:00
Alex P
21acaf9e77 Set transaction id after webhook capture 2021-10-15 10:24:19 +03:00
dinamiko
457ebeeb8c Move capture authorized payment into authorized payment processor 2021-10-14 15:45:57 +02:00
Emili Castells
79e2dd2ef5
Merge pull request #322 from woocommerce/pcp-271-use-psalm
Add psalm
2021-10-13 16:48:49 +02:00
Emili Castells
217a085498
Merge pull request #321 from woocommerce/ngrok
Add ngrok support to allow using webhooks with a local development server
2021-10-13 16:43:23 +02:00
Alex P
92eef9ceb9 Fix number type 2021-10-13 17:34:12 +03:00
Alex P
84c31e0223 Fix event_types type 2021-10-13 17:33:37 +03:00
Alex P
3b57301712 Merge branch 'trunk' into pcp-271-use-psalm 2021-10-13 17:02:08 +03:00
Alex P
d586b4a188 Restore deleted file 2021-10-13 16:57:06 +03:00
Alex P
ffa213dde0 Add type 2021-10-13 16:26:23 +03:00
Alex P
d44198cf1f Merge branch 'trunk' into ngrok 2021-10-13 15:56:25 +03:00
Alex P
10937144a1 Add typehint 2021-10-13 15:02:10 +03:00
Alex P
c88ce1ff09 Add ngrok to allow using webhooks with a local development server 2021-10-12 12:45:53 +03:00
Alex P
295ecb91ff Always use https for webhook urls
Paypal allows only https
2021-10-12 12:19:15 +03:00
dinamiko
9ebedbfd85 Renaming class names 2021-09-30 16:30:52 +02:00
dinamiko
57ff2cc649 Fix merge conflicts 2021-09-30 12:52:15 +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
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
1d17a4d3ab Make webhook nullable to prevent fatal error 2021-09-24 12:20:43 +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
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
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