Commit graph

224 commits

Author SHA1 Message Date
Daniel Dudzic
a0a7d042b4
Fix first batch of typos 2025-03-24 14:09:19 +01:00
Emili Castells Guasch
46f9074c41 Fix typos 2025-03-18 12:56:57 +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
Philipp Stracker
7a106742e3
🚚 Rename environment-service 2025-02-17 18:48:38 +01:00
Philipp Stracker
d672656513
🔥 Remove unused “use” statements 2025-02-17 18:26:05 +01:00
Philipp Stracker
8c23462db5
♻️ Refactor ppcp-webhooks/factory 2025-02-17 17:49:35 +01:00
Philipp Stracker
554c9ad03c
♻️ Refactor WebhookModule 2025-02-17 17:48:27 +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
Philipp Stracker
90d2c77a5a
🚚 Extract Environment class to gateway module 2025-02-03 13:34:30 +01:00
Daniel Hüsken
a4ccd02902
fixed PHPCS 2025-01-31 08:28:15 +01:00
Daniel Hüsken
99ca470d3f
Moved code for payment process order to subscriptions module by adding a new filter 2025-01-31 08:25:03 +01:00
Daniel Hüsken
4dcabc5e67
only change Modules in run that are to early for translations and use plugins_loaded again 2024-11-25 15:39:38 +01:00
Alex P.
b67265ac15
Update js deps 2024-11-04 17:15:27 +02:00
Emili Castells Guasch
9bc9c03053 Extract renewal handler logic to new class 2024-09-13 15:35:13 +02:00
Alex P.
dd82f67888
Do not cache webhook.status.registered-webhooks 2024-09-11 16:47:15 +03: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
Philipp Stracker
7509f914ab
Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-admin-notices/src/AdminNotices.php
#	modules/ppcp-local-alternative-payment-methods/src/LocalAlternativePaymentMethodsModule.php
#	modules/ppcp-paylater-configurator/src/PayLaterConfiguratorModule.php
#	modules/ppcp-wc-gateway/src/WCGatewayModule.php
2024-08-30 15:16:20 +02:00
Emili Castells Guasch
819149057e Display PayPal fees in wc order 2024-08-26 12:34:53 +02: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
Emili Castells Guasch
467960f5a2 Revert webhook handling for now so psalm does not complain 2024-07-22 14:49:01 +02:00
Emili Castells Guasch
93506fe5b7 Revert webhook handling for now so psalm does not complain 2024-07-22 14:42:03 +02:00
Emili Castells Guasch
335f680344 Extract logic from gateway to modules 2024-07-16 17:51:02 +02:00
Emili Castells Guasch
11105d913b Run eslint autofix 2024-07-12 12:58:34 +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
0a892a5f5b Return success response if event type is BILLING_AGREEMENTS.AGREEMENT.CREATED 2024-03-06 12:12:45 +01:00
Emili Castells Guasch
632409ef1c Do not handle webhook if version is not 2.0 2024-03-05 11:44:48 +01:00
Pedro Silva
429232f60f
Refactor remaining modules to Modularity.
Remove Dhii dependencies.
2023-12-19 17:26:09 +00:00
Pedro Silva
fb1ceeba76
Merge branch 'trunk' into PCP-1393-update-to-vault-v-3
# Conflicts:
#	modules/ppcp-api-client/services.php
#	modules/ppcp-wc-gateway/src/Processor/OrderProcessor.php
#	tests/PHPUnit/WcGateway/Processor/OrderProcessorTest.php
2023-11-24 11:20:15 +00:00
Alex P
a61e9303e9
Create order and redirect when no order 2023-11-14 10:55:30 +02:00
Emili Castells Guasch
b52af54c81 Remove debug log entry 2023-10-18 11:26:17 +02:00
Emili Castells Guasch
4e6b856a0d Add early return if transaction id does not exist 2023-09-12 14:32:41 +02:00
Emili Castells Guasch
250172a2ad Merge branch 'trunk' into PCP-1968-subscriptions-api-renewals 2023-09-12 09:36:51 +02:00
Emili Castells Guasch
70dc55dcc1 Merge branch 'trunk' into PCP-1968-subscriptions-api-renewals 2023-09-07 12:06:27 +02:00
Emili Castells Guasch
090287f0f0 Merge branch 'trunk' into PCP-1973-wc-payment-token-created-multiple-times-when-webhook-vault-payment-token-created-is-received 2023-09-07 09:56:29 +02:00
Emili Castells Guasch
e819dc68df Ensure WC payment token does not exist before creating it 2023-09-04 16:33:04 +02:00
Emili Castells Guasch
fe73de45ad Add payment method to renewal order 2023-08-31 16:08:51 +02:00
Emili Castells Guasch
1942acf67b Fix psalm 2023-08-30 16:22:23 +02:00
Emili Castells
2571d31ad8
Merge pull request #1578 from woocommerce/PCP-1512-pay-pal-fee-and-pay-pal-payout-do-not-change-on-order-if-we-do-partial-refund
PayPal fee and PayPal Payout do not change on order if we do partial refund (1512)
2023-08-30 11:05:34 +02:00
Emili Castells Guasch
1cddb3d132 Update transaction id on parent order or otherwsie create renewal order 2023-08-18 16:17:37 +02:00
Emili Castells
0e97af9122
Merge pull request #1529 from woocommerce/PCP-1899-high-rate-of-auth-voids
High rate of auth voids on vaulted subscriptions for guest users (1899)
2023-08-17 11:28:11 +02:00
Emili Castells Guasch
26c9733181 Ensure WooCommerce Subscriptions plugin functions exist 2023-08-16 11:24:34 +02:00
Pedro Silva
d32aaab1af
Add updating refund fees in order 2023-08-04 17:51:32 +01:00
Pedro Silva
ef5fc4b3d4
Add support for refunds in api response structure 2023-08-04 11:46:34 +01:00
Pedro Silva
af3e68a017
Add paypal refund fees to order template 2023-08-03 15:53:51 +01:00
Emili Castells Guasch
c198929919 Merge branch 'trunk' into PCP-1899-high-rate-of-auth-voids 2023-08-03 10:51:48 +02:00
Pedro Silva
246fb86c65
Changed the woocommerce_paypal_payments_order_approved_webhook_can_create_wc_order filter default value to false 2023-08-02 08:33:09 +01:00
Emili Castells Guasch
0278db9787 Ignore phpcs warnings 2023-07-24 12:04:03 +02:00
Alex P
0cbc999684
Allow to disable order creation in webhook via filter 2023-07-21 19:37:34 +03:00
Alex P
e678967c55
Do not create wc order in webhook when no form data 2023-07-21 19:35:56 +03:00