Commit graph

137 commits

Author SHA1 Message Date
Emili Castells
7ffbb5e159
Merge pull request #882 from woocommerce/PCP-688-rc1-add-functionality-to-choose-subscription-failure-behavior
Revert vault failed value
2022-11-10 15:53:48 +01:00
Narek Zakarian
e2a29fd7a5 make "PayPal payment" string in my-account section translatable 2022-11-10 17:54:12 +04:00
Alex P
17d3cc152e Require PHP 7.2 2022-11-09 16:00:15 +02:00
Alex P
818dbcf107 Add isolated container and dhii modularity deps 2022-11-09 10:13:03 +02:00
Emili Castells
8bc53bf3cf
Merge pull request #922 from woocommerce/PCP-937-php-8.1-support
PHP 8.1 support
2022-11-02 16:39:06 +01:00
Emili Castells
6ebe84b2b9
Merge pull request #846 from woocommerce/pcp-813-rest-session-error
Check that wc session exists before using it
2022-11-02 16:38:13 +01:00
dinamiko
5e42704dbc Replace wp update post meta to wc update meta 2022-10-24 12:35:31 +02:00
dinamiko
8b30b70a44 Fix phpcs 2022-10-21 12:48:34 +02:00
dinamiko
d509a80802 Fix psalm 2022-10-21 12:45:22 +02:00
dinamiko
2cc0f2378c Check nonces 2022-10-20 15:48:29 +02:00
dinamiko
a77078a372 Fix token check on listener 2022-10-19 11:50:15 +02:00
dinamiko
68cf4ecda3 Add php 8.1 support (WIP) 2022-10-18 15:59:11 +02:00
dinamiko
5d875487b0 Set previous failure behavior value if setting not saved yet 2022-10-03 15:12:18 +02:00
dinamiko
7d541812e8 Add save meta data for order 2022-10-03 14:16:33 +02:00
dinamiko
fd478318a2 Use update instead of add for wc meta 2022-10-03 12:43:54 +02:00
dinamiko
4f977bdee9 Revert vault failed vaule and use order add meta instead of add update post meta 2022-10-03 12:31:21 +02:00
dinamiko
7e59b29a12 Update logging messages 2022-09-26 15:53:13 +02:00
dinamiko
5df633037a Add capture auth ignore to subs fail handler 2022-09-26 12:48:20 +02:00
dinamiko
3382654c0a Merge branch 'trunk' into PCP-688-add-functionality-to-choose-subscription-failure-behavior 2022-09-15 11:47:17 +02:00
Alex P
ad523e0973 Check that wc session exists before using it 2022-09-13 10:16:15 +03:00
Alex P
daad118148 Fix babel in other modules 2022-09-12 10:22:02 +03:00
Alex P
23cb96e6f9 Explicitly send cookies in fetch
Not sent by default in old browsers
2022-09-09 16:28:58 +03:00
Alex P
a81a2ef7d1 Fix source maps in production
File source was huge because of that
2022-09-09 10:28:26 +03:00
dinamiko
ae11b15164 Do not show subscription behavior setting if subscriptions plugin is not active 2022-09-02 12:59:53 +02:00
dinamiko
b1a49a9af1 Do not delay scheduled action when subscription behavior is capture auth 2022-08-16 15:55:13 +02:00
dinamiko
887cb45787 Make strings translatables 2022-08-16 11:29:38 +02:00
dinamiko
e43313f114 Merge branch 'trunk' into PCP-688-add-functionality-to-choose-subscription-failure-behavior 2022-08-16 11:16:25 +02:00
dinamiko
03fa159b43 Consolidate conditional 2022-08-12 11:02:29 +02:00
dinamiko
28d7e5d771 Fix phpcs 2022-08-12 10:56:25 +02:00
dinamiko
76a81b535b Get payer from order instead of customer 2022-08-12 10:38:42 +02:00
dinamiko
0e24b1d0f8 Add unit tests for vaulted card handler 2022-08-12 09:57:47 +02:00
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