Commit graph

87 commits

Author SHA1 Message Date
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
Emili Castells Guasch
87b2aea210 Refactor 2024-03-22 11:55:44 +01:00
Emili Castells Guasch
04be31b065 Fix wrong payment method when getting wc payment tokens for card payment 2024-03-22 11:04:32 +01:00
Emili Castells Guasch
56a6c4ce32 Fix wrong user when creating wc card payment token 2024-03-21 16:32:35 +01:00
Emili Castells Guasch
fd9ca3c011 Fix wrong user when creating wc card payment token 2024-03-21 16:19:36 +01:00
Emili Castells Guasch
5d92a6e791 Fix wrong card payment source sent to create wc card payment 2024-03-21 15:48:15 +01:00
Emili Castells Guasch
082550b363 Create WC payment token if it exist in PayPal 2024-03-21 12:36:45 +01:00
Emili Castells Guasch
3de845a934 Ensure payment token exist for customer for card payment subscription renewal 2024-03-20 13:02:25 +01:00
Emili Castells Guasch
4e6eec462c Remove duplicated return 2024-03-19 12:05:43 +01:00
Emili Castells Guasch
3cb0630380 Handle not found exception when customer id does not exist 2024-03-18 13:09:14 +01:00
Emili Castells Guasch
4f9800079f Delete WC payment token if it does not exist for user 2024-03-18 12:18:04 +01:00
Emili Castells Guasch
c058cd38c8 Ensure payment token exist for customer 2024-03-15 15:53:29 +01:00
Emili Castells Guasch
f2ecd1a12f Fix typo in stored_credential 2024-03-06 11:02:48 +01:00
Emili Castells Guasch
80cf93bfeb Exclude PayPal subscription products in free trial check 2024-02-20 12:25:19 +01:00
Emili Castells Guasch
e243731f52 Fix psalm 2024-02-16 16:41:12 +01:00
Emili Castells Guasch
0482f011f7 Move real time account updater to wc subscriptions module to have it available when vault v3 is disabled 2024-02-16 16:28:13 +01:00
Emili Castells Guasch
4a95f22e75 Add unit test 2024-02-15 12:16:44 +01:00
Emili Castells Guasch
eb86f8a71d Refactor get previous order transaction without using order meta 2024-02-15 11:23:26 +01:00
Emili Castells Guasch
21b1a1b181 Fix psalm 2024-02-13 15:19:59 +01:00
Emili Castells Guasch
9948b648e0 Add sca indicators and card update to card subscription renewals 2024-02-13 14:26:58 +01:00
Emili Castells Guasch
36e3d261f6 Send sca indicators for all vaulted card renewals 2024-02-13 11:27:31 +01:00
Emili Castells
037f650288
Merge pull request #1986 from woocommerce/PCP-2521-apple-pay-recurring-payments
Apple Pay recurring payments (2521)
2024-02-07 10:47:08 +01:00
Pedro Silva
8266e1bce7
Fix subscription initial payment method name 2024-02-05 18:26:41 +00:00
Pedro Silva
9f859da8cb
Fix lint 2024-02-05 16:43:22 +00:00
Pedro Silva
6a99a9befc
Fix update payment source on WC Order subscription renewals. 2024-02-05 16:30:19 +00:00
Pedro Silva
fba6089db0
Fix available gateways in order-pay page 2024-02-02 13:53:12 +00:00
Pedro Silva
6c0e0a96dc
Merge branch 'trunk' into PCP-2521-apple-pay-recurring-payments 2024-01-30 17:53:38 +00:00