Commit graph

87 commits

Author SHA1 Message Date
Alex P
9ada189c9d
Improve cart subscriptions check
Make compatible with plugins like "All products for subscriptions"
2023-01-12 16:47:34 +02:00
Alex P
d8f972343d
Merge branch 'trunk' into pcp-918-php-72 2022-11-15 12:36:20 +02: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
aa7a7adaf7
Merge pull request #886 from woocommerce/PCP-922-update-order-with-order-note-if-payment-failed-after-billing-agreement-canceled-at-pay-pal
update order with order note if payment failed after billing agreement canceled at PayPal (922)
2022-11-03 14:25:34 +01: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
2ef5be1a06
Merge pull request #936 from woocommerce/pcp-671-free-synced-sub
Handle synced sub without upfront payment like free trial
2022-11-02 16:37:05 +01:00
Alex P
7b60f339aa Handle synced sub without upfront payment like free trial 2022-10-25 09:37:08 +03:00
dinamiko
5e42704dbc Replace wp update post meta to wc update meta 2022-10-24 12:35:31 +02:00
dinamiko
2cc0f2378c Check nonces 2022-10-20 15:48:29 +02:00
dinamiko
a18832371e Disable phpcs when nonce check not needed 2022-10-19 17:22:09 +02:00
dinamiko
4e248a815e Disable phpcs when nonce check not needed 2022-10-19 16:52:43 +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
6c01bf43b8 Merge branch 'trunk' into PCP-898-clarify-3-d-secure-v-2-support-for-vaulted-payment-methods 2022-10-11 12:25:37 +02:00
dinamiko
03b7299b47 Fix phpcs 2022-10-05 10:09:17 +02:00
dinamiko
4e0d30bb58 Remove unused require 2022-10-05 09:51:55 +02:00
dinamiko
abf3a0e5d0 Refactoring 2022-10-05 09:46:16 +02:00
dinamiko
b946386eaf Update renewal order status to failed when renew subscription fails (WIP) 2022-10-04 17:43:58 +02:00
Alex P
153fc09a09 Handle virtual-only auto-capture the same as normal capture
Do not duplicate code and make it call payment_complete to handle the statuses properly.
2022-09-28 11:46:47 +03:00
dinamiko
ca9fb3e9fa Use transaction id from parent order on first renewal 2022-09-13 17:25:25 +02:00
dinamiko
d3b319ab11 Consolidate conditional 2022-09-13 16:15:58 +02:00
dinamiko
3b639233e3 fix psalm 2022-09-13 15:53:05 +02:00
dinamiko
29c8c04dc9 Add sca payment indicator for credit card renewals 2022-09-13 15:41:46 +02:00
Alex Pantechovskis
5a1c65d3e9
Merge pull request #708 from woocommerce/PCP-581-capture-virtual-only-orders-problem-for-subscriptions
Capture virtual renewal orders functionality for subscription products
2022-07-26 16:22:00 +03:00
Alex P
e73ebbadb6 Fix phpcs warnings 2022-07-11 09:19:27 +03:00
Narek Zakarian
1336180fd9 fix PHPcs problems 2022-07-08 19:52:22 +04:00
Narek Zakarian
642398d682 Merge remote-tracking branch 'origin/trunk' into PCP-581-capture-virtual-only-orders-problem-for-subscriptions
# Conflicts:
#	modules/ppcp-subscription/src/RenewalHandler.php
2022-07-08 19:47:45 +04:00
Alex P
fff2570124 Refactor shipping_preference
Extract its determination to a separate class, also remove useless CartRepository and use single PU to avoid confusion.
2022-07-05 14:37:04 +03:00
Narek Zakarian
90c2a01350 Capture virtual renewal orders functionality for subscriptions 2022-06-29 16:52:19 +04:00
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