Commit graph

100 commits

Author SHA1 Message Date
dinamiko
1acd986083 Merge branch 'trunk' into PCP-726-add-oxxo-apm-alternative-payment 2022-07-21 15:16:39 +02:00
dinamiko
eb4fc639fc Fix psalm 2022-07-20 12:16:33 +02:00
dinamiko
e1cd7d5ad1 Add update status note for capture denied 2022-07-20 11:37:28 +02:00
dependabot[bot]
d9a7369d19
Bump terser from 5.9.0 to 5.14.2 in /modules/ppcp-webhooks
Bumps [terser](https://github.com/terser/terser) from 5.9.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 08:10:57 +00:00
dinamiko
e4b15c78d1 Delete payment capture denied handler 2022-07-18 12:29:30 +02:00
dinamiko
1ce9a5750b Delete payment capture denied handler 2022-07-18 12:08:25 +02:00
dinamiko
2b8281e0f4 Introduce payment capture denied webhook (WIP) 2022-07-18 12:03:52 +02:00
dinamiko
d1c4850c4d Do not render custom oxxo button in checkout 2022-07-15 16:05:13 +02:00
dinamiko
d248a278be Do not complete payment on CHECKOUT.ORDER.APPROVED handler 2022-07-12 15:19:24 +02:00
dinamiko
8da7bbfc87 Fix psalm 2022-07-06 10:50:52 +02:00
dinamiko
faa406fbd8 Introduce payment capture pending webhook (WIP) 2022-07-06 10:35:53 +02:00
dinamiko
6ed616802d Merge branch 'trunk' into PCP-417-new-feature---pay-upon-invoice 2022-05-17 11:10:36 +02:00
Alex P
93ef548b65 Fix psalm errors 2022-04-28 16:20:30 +03:00
Alex P
35f058870a Skip already handled refunds in webhook
When we add a refund from WC, we still receive a webhook with it. And for some partial refunds the duplicated refund can be added in WC.
2022-04-28 16:20:05 +03:00
dinamiko
0cd2e64d9a Merge branch 'trunk' into PCP-417-new-feature---pay-upon-invoice 2022-04-21 15:42:37 +02:00
dinamiko
e9cf818799 Fix phpcd (WIP) 2022-04-14 17:17:56 +02:00
dependabot[bot]
6c20aaeeba
Bump minimist from 1.2.5 to 1.2.6 in /modules/ppcp-webhooks
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-13 10:24:04 +00:00
dinamiko
3dd46c7258 Add RatePay payment instructions into processing order email notification (WIP) 2022-03-31 12:47:05 +02:00
dinamiko
ff12b8d8fb Merge trunk 2022-03-25 14:31:42 +01:00
dinamiko
21522fb8c1 Move capture action hook up before wc order status update 2022-03-22 09:19:07 +01:00
dinamiko
8eb320c599 Get Ratepay payment instructions from order 2022-03-20 14:15:56 +01:00
dinamiko
89001f6533 Merge branch 'trunk' into PCP-562-when-payment-is-not-saved-do-not 2022-03-16 09:35:47 +01:00
Alex P
1a9fbc1303 Fix ajax URLs on multisite 2022-03-09 16:24:11 +02:00
dinamiko
54f84aac26 Fix phpcs 2022-03-04 12:13:41 +01:00
dinamiko
dcbac3cae3 Fix psalm errors 2022-03-04 12:02:43 +01:00
dinamiko
6ebe8d3171 Get wc customer id by removing prefix 2022-03-02 17:02:37 +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
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