Commit graph

57 commits

Author SHA1 Message Date
Alex P
901ecdd1d9 Remove unused imports 2022-04-13 11:17:58 +03:00
Alex P
1c0df35f53 Handle free trial for paypal
Vault account without payment
2022-04-12 14:59:07 +03:00
Alex P
cdda2963c8 Fix phpdoc 2022-04-11 18:16:38 +03:00
Alex P
f5a472673b Handle free trial sub for cards
authorize 1$ and void
2022-04-06 09:10:24 +03:00
Alex P
65a29eacd2 Simplify expression 2022-03-23 10:17:26 +02:00
Alex P
5a0052060a Fix variable subscription checks 2022-03-23 10:17:05 +02:00
Alex P
fc89021df4 Add hook docs
phpcs rules updated
2022-02-17 18:28:59 +02:00
Emili Castells
44bee1cf6b
Merge pull request #425 from woocommerce/pcp-409-fix-renewal
Update renewal handler
2022-01-11 10:07:45 +01:00
Alex P
7bcff0c39c Update renewal to be similar to other order handlers 2022-01-05 15:25:22 +02:00
Alex P
d42cb3e47c Fix renewal logging 2022-01-04 17:30:26 +02:00
dinamiko
fcd3317d05 Fix psalm errors 2022-01-04 12:01:21 +01:00
dinamiko
9c72fbc247 Fix psalm errors 2022-01-04 11:52:43 +01:00
dinamiko
ae886ea425 Fix psalm errors 2022-01-04 11:40:22 +01:00
dinamiko
6d0c821b19 Check if pay for order contains subscription 2022-01-04 10:43:18 +01:00
dinamiko
64e166b51c Add variable subscription to cart contains subscription method 2021-11-22 10:11:04 +01:00
Alex P
edd441f5da Improve type check 2021-11-03 10:20:39 +02:00
dinamiko
60b43a9054 Do not display payments column in orders list screen 2021-10-18 15:20:13 +02:00
dinamiko
f4479f3694 Fix psalm errors 2021-10-18 15:13:47 +02:00
dinamiko
829b8b7ca7 Update payments column description 2021-10-18 14:29:03 +02:00
dinamiko
7fd07f6baa Display if payment is saved in orders list column 2021-10-18 12:27:54 +02:00
dinamiko
457ebeeb8c Move capture authorized payment into authorized payment processor 2021-10-14 15:45:57 +02:00
dinamiko
6a4719d92e Require PaymentTokenRepository into service 2021-10-01 11:23:55 +02:00
dinamiko
e74283e7f2 Fix phpcs errors 2021-10-01 10:50:24 +02: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
15f69e8151 Fix phpcs errors 2021-09-24 09:26:06 +02:00
dinamiko
2db0162988 Move payment tokens repository to vaulting package 2021-09-17 17:11:36 +02:00
dinamiko
05dcf5c4f4 Refactoring 2021-09-10 12:16:33 +02:00
Anton Ukhanev
df185157bd Update parameter name
Fixes PHPCS
2021-08-30 08:10:43 +02:00
Anton Ukhanev
3a72a73ae3 Auto-fix PHPCS 2021-08-30 08:08:41 +02:00
Anton Ukhanev
69d9631a73 Now using modularity standard v0.3
This is the newest release, and is the first one that is compatible
with PHP 8. Other changes are BC-breaking, but very very minor.
2021-08-26 11:11:49 +02:00
Anton Ukhanev
cabcb7d9e4 Add Container typehint to all service definitions 2021-08-26 11:10:16 +02:00
Anton Ukhanev
d4c8282518 Use Composer modules and convert modules to PSR-4
PSR-4 is much more robust and predictable. But to do this,
a source root dir must be specified for every module.
This could be done in the root file, but this is not very modular.
Instead, now every module declares its own source root by using
the amazing Composer Merge Plugin. This approach allows each module
to also declare its own dependencies. Together, these changes allow
modules to be easily extractable to separate pacakges when the need
arises, and in general improves modularity significantly.
2021-08-26 11:01:20 +02:00
Jorge A. Torres
069b89f1ad Add filter to short-circuit RenewalHandler::get_token_for_customer() 2021-08-09 08:27:10 -07:00
dinamiko
a943fc4fea Cast gateway id to string 2021-08-05 09:52:24 +02:00
dinamiko
e305849b6e Cast gateway description to string to prevent fatal error when is received as null 2021-08-04 16:52:29 +02:00
dinamiko
119543ae2d Update dhii/module-interface to version 0.3 2021-07-14 14:58:23 +02:00
dinamiko
d8817134a9 Update dhii\module-interface 2021-07-06 09:41:30 -05:00
dinamiko
9cfa8fa922 Check if wcs_get_subscription exists before calling it 2021-05-21 11:19:00 +02:00
dinamiko
47c4c62d6f Refactoring 2021-05-19 15:39:33 +02:00
dinamiko
1783467af4 Add create payment token for credit card (work in progress) 2021-05-17 11:00:57 +02:00
dinamiko
da4388c507 Subscriptions vaulting integration (work in progress) 2021-05-10 17:12:46 +02:00
dinamiko
17f1a91241 Change order status to failed and add note when no payment tokens found 2021-04-28 12:13:29 +02:00
dinamiko
bb5a04c4b3 Get latest payment token for subscription renewal 2021-04-23 12:22:29 +02:00
dinamiko
5afbfb0e3b Do not return stored tokens in meta but call the endpoint each time 2021-03-29 11:57:03 +02:00
dinamiko
a71c8b134a Fix phpcs errors 2021-03-25 16:57:42 +01:00
dinamiko
fd7dfaf13b Allow credit card gateway to use saved credit cards 2021-03-25 16:11:45 +01:00
dinamiko
a291c0da1a Fix phpcs errors 2021-03-10 12:55:35 +01:00
dinamiko
4b50f8caeb Enable renewals for PayPal and credit card, remove deprecated subscription methods 2021-03-01 12:37:13 +01:00
Jorge A. Torres
02718c6c77 Rename plugin to "WooCommerce PayPal Payments" 2020-10-09 19:00:00 -03:00