Commit graph

57 commits

Author SHA1 Message Date
Narek Zakarian
943a0d197c
Use the 'ppcp.path-to-plugin-main-file' config 2025-07-04 19:27:13 +04:00
Narek Zakarian
0caa74c021
Refactor the code to use the new service 2025-07-04 17:10:37 +04:00
Philipp Stracker
7a106742e3
🚚 Rename environment-service 2025-02-17 18:48:38 +01:00
Philipp Stracker
d672656513
🔥 Remove unused “use” statements 2025-02-17 18:26:05 +01:00
Emili Castells Guasch
9bc9c03053 Extract renewal handler logic to new class 2024-09-13 15:35:13 +02:00
Alex P.
dd82f67888
Do not cache webhook.status.registered-webhooks 2024-09-11 16:47:15 +03:00
Emili Castells Guasch
e819dc68df Ensure WC payment token does not exist before creating it 2023-09-04 16:33:04 +02:00
Pedro Silva
d32aaab1af
Add updating refund fees in order 2023-08-04 17:51:32 +01:00
Alex P
46ea7621d3
Create wc order in approval webhook if missing 2023-06-14 12:44:06 +03:00
Alex P
8979c9e605
Stop searching for prefix in custom IDs
we are not creating such IDs for 2 years already
2023-06-08 16:00:21 +03:00
Emili Castells Guasch
b126d77dfb Merge branch 'trunk' into PCP-991-detach-vaulting-from-wc-subscriptions-support 2023-05-15 12:16:20 +02:00
Alex P
8dc0079a41
Merge branch 'trunk' into PCP-1480-order-left-on-hold-after-payment-trough-pui-if-merchant-connected-account-trough-manual-credential-input 2023-05-12 15:03:31 +03:00
Emili Castells Guasch
163b7d9f7a Handle subscription refund from PayPal (WIP) 2023-05-10 16:59:03 +02:00
Emili Castells Guasch
eca8a3b09c Fix psalm 2023-05-02 12:35:46 +02:00
Emili Castells Guasch
8c10941392 Add update subscription plan webhook handler 2023-04-13 15:24:21 +02:00
Emili Castells Guasch
502fd7eeca Add update subscription product webhook handler 2023-04-13 11:55:50 +02:00
Emili Castells Guasch
baee53e90f Fix merge conflicts 2023-03-17 09:20:51 +01:00
Emili Castells Guasch
57581a5ac4 Fix merge conflict 2023-03-17 08:56:58 +01:00
Alex P
9adcfe4b7d
Hide webhook elements when sandbox state is not matching the server 2023-03-10 14:14:05 +02:00
Alex P
c77f20d2f9
Fix name to avoid confusion 2023-03-08 17:36:38 +02:00
Emili Castells Guasch
a5626b52a5 Add update pricing webhook handler 2023-03-08 09:17:30 +01:00
Emili Castells Guasch
501dbcca55 Add billing subscription cancelled webhook handler 2023-03-07 10:35:39 +01:00
Alex P
36cffad369
Fix formatting 2023-03-06 10:19:23 +02:00
Emili Castells Guasch
cce8ee9d8d Remove calls to enpoints if not onboarded 2023-03-02 12:08:20 +01:00
emilicastells
d30e85d8e7
Add payment sale completed webhook handler 2023-02-08 11:09:16 +01:00
emilicastells
bf648715d9
Create new WC payment token instance for each new payment token 2023-01-02 12:50:13 +01:00
emilicastells
e3dc563a6f
Fix phpcd 2022-12-08 14:18:03 +01:00
emilicastells
21ebc9e46e
Add VAULT.PAYMENT-TOKEN.DELETED webhook handler 2022-11-24 15:42:58 +01:00
emilicastells
f9e6fe7aed
Add PayPal WC payment token (WIP) 2022-11-23 17:00:04 +01:00
Alex P
818dbcf107 Add isolated container and dhii modularity deps 2022-11-09 10:13:03 +02:00
dinamiko
0d9f06ca3f Fix phpcs 2022-09-12 12:01:13 +02:00
dinamiko
15b28f7c85 Add files from PCP-166 PR 2022-09-12 10:35:27 +02:00
dinamiko
e4b15c78d1 Delete payment capture denied handler 2022-07-18 12:29:30 +02:00
dinamiko
2b8281e0f4 Introduce payment capture denied webhook (WIP) 2022-07-18 12:03:52 +02:00
dinamiko
faa406fbd8 Introduce payment capture pending webhook (WIP) 2022-07-06 10:35:53 +02:00
dinamiko
54f84aac26 Fix phpcs 2022-03-04 12:13:41 +01:00
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
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
dinamiko
2ba986b342 Introduce vaulting payment token created webhook (wip) 2021-12-20 09:43:36 +01:00
Alex P
f845acefbe Add webhook status to status report 2021-11-24 11:52:14 +02:00
Alex P
21acaf9e77 Set transaction id after webhook capture 2021-10-15 10:24:19 +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
10937144a1 Add typehint 2021-10-13 15:02:10 +03:00
dinamiko
57ff2cc649 Fix merge conflicts 2021-09-30 12:52:15 +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
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
2c294861a1 Add service for current webhook 2021-09-21 17:52:44 +03:00