Commit graph

156 commits

Author SHA1 Message Date
dinamiko
5d8b783abb Move saved card payment logic into vaulting (WIP) 2022-08-11 14:22:12 +02:00
Alex P
73dc768955 Merge branch 'trunk' into pcp-697-separate-gateway 2022-07-25 11:08:43 +03:00
dependabot[bot]
64ad36073b
Bump terser from 5.9.0 to 5.14.2 in /modules/ppcp-vaulting
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:11:16 +00:00
Alex P
d4e8bd453c Add card button gateway 2022-07-19 09:20:26 +03:00
Narek Zakarian
25ac06057f Filter failed vaulting emails for subscription orders 2022-07-11 15:58:38 +04:00
Narek Zakarian
e27ad82e12 Change the method of manual renewal saving 2022-07-11 15:56:48 +04:00
Alex P
a220396fcc Use filter_var for REQUEST_URI
In some cases filter_input returns NULL for server variables even though they are present.
Such as this bug https://bugs.php.net/bug.php?id=49184, though not only in CLI.
At least in our DDEV it happens here.
2022-05-23 10:30:13 +03:00
Alex P
13e04b009c Fix const name 2022-04-27 23:50:23 +03:00
Alex P
e72b80ae72 Show error if PayPal already vaulted for another WC customer 2022-04-27 10:45:05 +03:00
Alex P
b2e5a80f3f Show error message when vaulting approval fails 2022-04-27 10:39:54 +03:00
Alex P
4a4f131325 Handle card smart button for free trial (1$ auth + void)
Disabling this funding source also disables DCC
2022-04-25 15:24:37 +03:00
dependabot[bot]
17257107e3
Bump minimist from 1.2.5 to 1.2.6 in /modules/ppcp-vaulting
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:29:51 +00:00
Alex P
901ecdd1d9 Remove unused imports 2022-04-13 11:17:58 +03:00
Alex P
4c5f0552f9 Remove unneeded token confirmation attempts 2022-04-13 10:40:09 +03:00
Alex P
1c0df35f53 Handle free trial for paypal
Vault account without payment
2022-04-12 14:59:07 +03:00
Alex P
f5a472673b Handle free trial sub for cards
authorize 1$ and void
2022-04-06 09:10:24 +03:00
dinamiko
25ca7451e7 Add order intent from settings on check saved payment scheduled action 2022-03-16 11:50:01 +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
0291f34309 Throw exception when capture payment returns false 2022-03-08 12:00:09 +01:00
dinamiko
dcbac3cae3 Fix psalm errors 2022-03-04 12:02:43 +01:00
dinamiko
634ac41139 Handle get order exception 2022-03-03 11:16:03 +01:00
dinamiko
78286b0542 Do not capture if wc order already processing 2022-03-02 16:51:22 +01:00
dinamiko
e9ddd3d788 Refactor payment token checker 2022-03-01 16:10:46 +01:00
dinamiko
b5f74f1207 Refactor payment checker (WIP) 2022-03-01 15:12:54 +01:00
dinamiko
5ffc792ce0 Void order when payment is not saved (WIP) 2022-03-01 12:39:10 +01:00
Alex P
0c07ebd629 Use plugin version as asset version 2022-02-17 18:51:24 +02:00
Emili Castells
0fee10931a
Merge pull request #423 from woocommerce/PCP-434-allow-guest-users-to-purchase-su
Add customer id for guest users purchasing subscriptions
2022-01-20 11:18:14 +01: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
f1ae75a07e Fix CI errors 2022-01-03 15:26:07 +01:00
dinamiko
d33ca00ac7 Fix CI errors 2022-01-03 15:15:33 +01:00
dinamiko
d69f1b5a9c Add guest customer id (WIP) 2021-12-24 12:37:06 +01:00
dinamiko
fe962c8cf3 Do not display PayPal payments page if vault option is disabled 2021-11-15 11:50:34 +01:00
dinamiko
dddc8d6cf6 Add init inside migrate action 2021-11-08 11:23:49 +01:00
dinamiko
2c8d0fcf8a Add upgrading event on plugins loaded 2021-11-08 11:07:37 +01:00
dinamiko
f746c41a83 Add option for flushing rewrite rules 2021-11-05 14:38:04 +01:00
Alex P
3b57301712 Merge branch 'trunk' into pcp-271-use-psalm 2021-10-13 17:02:08 +03:00
Alex P
99ba9a2203 Fix comment 2021-10-13 16:57:22 +03:00
Alex P
10937144a1 Add typehint 2021-10-13 15:02:10 +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
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
dinamiko
56017ba52a Fix typo in class name 2021-09-24 12:36:56 +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
28b12af089 Add delete payment functionality 2021-09-23 15:19:44 +02:00