Commit graph

113 commits

Author SHA1 Message Date
Himad M
c4db1ac53a
Remove redundant authorize call in subscription renewal handler 2025-07-21 15:58:52 -04:00
Alex P.
da45fb1baf
Remove ApplicationContext 2025-05-29 19:49:43 +03:00
Alex P.
ab5ddd9fab
Use ExperienceContext in renewals 2025-05-29 17:24:00 +03:00
Alex P.
a61ae8b6eb
Simplify token parameter 2025-05-29 09:48:35 +03:00
Daniel Hüsken
1db6fc55cc
Fix PHPcs 2025-03-26 11:26:18 +01:00
Daniel Hüsken
2bb5d4c712
Update empty cart check to avoid early session loading 2025-03-26 10:57:03 +01:00
Daniel Hüsken
35d6c7e913
Merge branch 'refs/heads/trunk' into PCP-4110-incorrect-subscription-cancellation-handling-with-pay-pal-subscriptions 2025-03-24 07:52:14 +01:00
Emili Castells Guasch
65e1ca4eb0 Merge branch 'trunk' into PCP-4110-incorrect-subscription-cancellation-handling-with-pay-pal-subscriptions 2025-03-18 12:19:36 +01:00
Emili Castells Guasch
2e7b06e725 Merge trunk 2025-02-27 14:47:00 +01:00
Daniel Hüsken
ab7f92cee0
Fix possibly null 2025-02-26 10:02:58 +01:00
Daniel Hüsken
85bcd0a454
add vault token to orders and check them for getting transaction id 2025-02-26 09:50:40 +01:00
Philipp Stracker
a13b8c03ff
🔀 Merge branch 'trunk' 2025-02-18 12:35:26 +01:00
Daniel Dudzic
745a1031bc
Todos: Update the eligibility conditions for the Subscription todo 2025-02-17 21:04:16 +01:00
Philipp Stracker
7a106742e3
🚚 Rename environment-service 2025-02-17 18:48:38 +01:00
Daniel Hüsken
c21bbf38f1
check if we have an WC-Order 2025-02-13 10:01:14 +01:00
Daniel Hüsken
b9b6af888e
add change when no order is found 2025-02-13 09:39:28 +01:00
Daniel Hüsken
bb9aab4007
change log message from warning to debug 2025-02-13 08:46:14 +01:00
Daniel Hüsken
b72a6232be
check payment method of current oder to resolve PAYMENT_SOURCE_MISMATCH 2025-02-13 08:16:13 +01:00
Daniel Hüsken
c3de0c28ec
add som logs on card renewals when subscription not found 2025-02-12 14:05:44 +01:00
Daniel Hüsken
ffb3026d7d
some improvements 2025-02-10 17:02:23 +01:00
Daniel Hüsken
13f17410ea
Merge branch 'PCP-3398-critical-error-when-changing-subscription-payment-method-to-advanced-card-processing' into PCP-4110-incorrect-subscription-cancellation-handling-with-pay-pal-subscriptions 2025-02-07 12:37:53 +01:00
Daniel Hüsken
916a4d40c3
improved some logic 2025-02-06 14:42:26 +01:00
Daniel Hüsken
aca125934a
handle old subscriptions if setting is changed 2025-02-04 15:36:02 +01:00
Daniel Hüsken
96ce1fb7a4
Use PP Subscriptions suspend when subscription is in pending-cancel state. 2025-02-04 09:27:27 +01:00
Daniel Hüsken
1f6bd8b792
Moved code to pp subscriptions from generell subscriptions 2025-02-03 15:29:16 +01:00
Philipp Stracker
90d2c77a5a
🚚 Extract Environment class to gateway module 2025-02-03 13:34:30 +01:00
Emili Castells
1a1d896ba8
Merge pull request #2891 from woocommerce/PCP-3949-changing-subscription-payment-method-to-acdc-results-in-an-error
Changing subscription payment method to ACDC results in an error (3949)
2025-01-23 10:56:01 +01:00
Emili Castells
c468c39eac
Merge pull request #2699 from woocommerce/PCP-2778-subscriptions-migrated-from-ppec-fail-to-renew-with-pcp-after-vault-v-3-implementation-in-version-2-5-0
Subscriptions migrated from PPEC fail to renew with PCP after Vault V3 implementation in version 2.5.0 (2778)
2025-01-23 10:50:06 +01:00
Emili Castells Guasch
80efa0f51a Revert extract logic to wc subscription module 2025-01-02 14:40:57 +01:00
Emili Castells Guasch
80673c837b Extract conditional to a method 2024-12-10 11:17:37 +01:00
Emili Castells Guasch
42a625590f Fix phpcs and docblock return 2024-12-10 11:05:12 +01:00
Emili Castells Guasch
44b2b627b2 Fix docblock return type 2024-12-09 16:19:20 +01:00
Emili Castells Guasch
8b7e820396 Extract change subscription payment token logic from gateway module into wc subscritions module 2024-12-05 18:08:02 +01:00
Emili Castells Guasch
512d421427 Ensure only plugin payments are available for previous transaction 2024-12-05 16:06:39 +01:00
Alex P
2dc42cf072
Refactor manual renewal check 2024-10-21 09:49:07 +03:00
Emili Castells Guasch
8da36b6120 Refactor 2024-10-14 17:44:49 +02:00
Emili Castells Guasch
7e175a888d Add ppec_paypal payment to vault v2 order renewal handler 2024-10-14 16:36:54 +02:00
Philipp Stracker
2cb026604c
Merge branch 'PCP-1773-php74'
# Conflicts:
#	composer.lock
2024-09-04 15:47:37 +02:00
Alex P.
f538ea2ef2
Require PHP 7.4+ 2024-09-03 09:07:12 +03:00
Moritz Meißelbach
4d9f23e315
Merge branch 'refs/heads/trunk' into modularity-module-migration
# Conflicts:
#	composer.lock
#	modules/ppcp-axo/src/AxoModule.php
#	modules/ppcp-blocks/src/BlocksModule.php
#	modules/ppcp-compat/src/CompatModule.php
#	modules/ppcp-googlepay/src/GooglepayModule.php
#	modules/ppcp-order-tracking/src/OrderTrackingModule.php
#	modules/ppcp-wc-subscriptions/src/WcSubscriptionsModule.php
2024-08-23 14:25:36 +02:00
George Burduli
4f8dfb22e2
Don't declare ACDC subscriptions support when vaulting is disabled 2024-07-17 16:49:24 +04:00
George Burduli
6d927ead36
Fix condition 2024-07-17 12:58:01 +04:00
George Burduli
3c23382c03
Don't declare Automatic Recurring Payments support when PayPal subscriptions mode is disabled 2024-07-17 12:53:11 +04:00
Emili Castells Guasch
0ee9907dc9 Add gateway_scheduled_payments support for PayPal subscriptions at subscription level 2024-07-09 15:43:46 +02:00
Emili Castells Guasch
fadb78dc32 Add gateway_scheduled_payments support when subscription mode is PayPal subscriptions 2024-07-05 16:58:02 +02:00
Emili Castells Guasch
e66d733ef5 Remove redundant comments 2024-07-05 16:44:34 +02:00
Emili Castells Guasch
84f138a28d Move wc subscriptions support to ppcp-wc-subscriptions module and remove conditionals based on setting enabled 2024-07-05 16:21:16 +02:00
Pedro Silva
161e933d39
Merge branch 'trunk' into modularity-module-migration
# Conflicts:
#	modules/ppcp-wc-gateway/src/WCGatewayModule.php
2024-04-19 11:59:28 +01:00
Emili Castells Guasch
a2e0f68f1b Get variation plan id from cart in checkout page 2024-04-12 16:07:39 +02:00
Pedro Silva
392d27f08b
Merge remote-tracking branch 'origin/trunk' into modularity-module-migration
# Conflicts:
#	modules/ppcp-admin-notices/src/AdminNotices.php
#	modules/ppcp-save-payment-methods/src/SavePaymentMethodsModule.php
#	modules/ppcp-wc-gateway/src/WCGatewayModule.php
#	modules/ppcp-wc-subscriptions/src/WcSubscriptionsModule.php
#	tests/PHPUnit/WcSubscriptions/RenewalHandlerTest.php
2024-03-27 18:42:21 +00:00