Commit graph

107 commits

Author SHA1 Message Date
Emili Castells Guasch
378bb209b9 Check both post and get values in the request 2023-02-22 16:17:54 +01:00
Alex P
2331947921
Fix psalm warning 2023-02-20 12:16:38 +02:00
Alex P
cae2e60453
Fix filter conventions 2023-02-20 12:15:15 +02:00
popforce
c5f91a9024
Add filter to fallback tracking_data['carrier']
PayPal Payments always defaults to DHL_DEUTSCHE_POST. 
As Germanized offers to create your own carriers we should be able to filter it, thus being able to return the correct  carrier for PayPal, which is e.g. DPD_DE, GLS_DE, OTHER
2023-02-14 13:12:01 +01:00
Khalil Gharbaoui
4f1f326172
Add option to hide funding resource Trustly 2023-02-02 04:36:02 +01:00
Narek Zakarian
eb080c9275
Merge branch 'trunk' into PCP-1083-update-standard-payments-tab-settings 2022-12-20 19:37:51 +04:00
Narek Zakarian
108275b9b0
Create migration from old settings 2022-12-05 18:30:41 +04:00
Narek Zakarian
8e7ca29117
Sync GZD shipment only if status is changed to "shipped" 2022-11-30 17:22:25 +04:00
vendidero
65b5b829fe Do not call add_note() (which itself calls the add_note() method of the underlying order) in case of tracking communication errors as these errors are very repetitive and should be debug-only logs. 2022-11-29 11:45:41 +01:00
vendidero
d855d7fd87 Prevent throwing an exception during woocommerce_gzd_shipment_after_save hook as it prevents status transitions from happening. Check for tracking_id availability only as the has_tracking() method might perform additional tracking checks. 2022-11-25 14:08:59 +01:00
Narek Zakarian
13b72db35a Add plugin update hook & run PayLater migration if plugin is updated 2022-11-18 20:18:41 +04:00
Emili Castells
e67b4225d3
Merge pull request #962 from woocommerce/PCP-915-create-pay-later-tab
Create the pay later tab
2022-11-15 11:53:37 +01:00
Narek Zakarian
629292c85a Merge remote-tracking branch 'origin/trunk' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-wc-gateway/services.php
2022-11-15 14:40:23 +04:00
Alex P
d8f972343d
Merge branch 'trunk' into pcp-918-php-72 2022-11-15 12:36:20 +02:00
Narek Zakarian
821efa7788 Remove Pay Later from Hide Funding Source(s) setting 2022-11-10 14:59:20 +04:00
Narek Zakarian
e189325766 Merge remote-tracking branch 'origin/trunk' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-button/services.php
2022-11-09 19:16:59 +04: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
Narek Zakarian
23fa659b68 Migration functionality 2022-10-31 15:59:34 +04:00
dinamiko
f688ccdff0 Fix php8 warnings 2022-10-25 16:16:48 +02:00
Narek Zakarian
cad613504f Fix Phpcs 2022-10-11 18:01:06 +04:00
Narek Zakarian
885df3eee7 Fix tracking number on Update 2022-10-11 17:59:55 +04:00
Narek Zakarian
f8e7b0eb0a Fix PHPcs problems 2022-10-07 16:53:09 +04:00
Narek Zakarian
5976139e8a Fix simc filter 2022-10-07 16:47:28 +04:00
Narek Zakarian
8f89226cb3 Add .babelrc 2022-10-05 16:33:34 +04:00
Narek Zakarian
7e19846c19 Simplify the GZD and PayPal tracking statuses map config 2022-10-05 16:22:57 +04:00
Narek Zakarian
0f6dcc8aa8 Centralize tracking disable/enable functions 2022-10-05 16:17:48 +04:00
Narek Zakarian
882c1073e1 Fix "should init gzd comp layer" config 2022-10-04 16:42:38 +04:00
Narek Zakarian
d5fef8d27f Fix psalm stub namespace 2022-10-04 15:51:30 +04:00
Narek Zakarian
25282aa6ec Fix PHPcs problems 2022-10-03 20:12:01 +04:00
Narek Zakarian
dec9d4ee25 Add psalm stubs for Germanized 2022-10-03 19:42:49 +04:00
Narek Zakarian
9a8c413422 Create Assets for compat module 2022-10-03 18:21:07 +04:00
Narek Zakarian
783c96b382 Functionality to sync GZD shipment with PayPal tracking 2022-10-03 18:20:25 +04:00
Narek Zakarian
561974c3b5 Create services for GZD compat layer 2022-10-03 18:19:35 +04:00
Narek Zakarian
3fc43a572a Fix Psalm 2022-08-19 19:11:36 +04:00
Narek Zakarian
9ffcff4d9b Fix Psalm 2022-08-19 19:05:31 +04:00
Narek Zakarian
e678a2c020 Fix SiteGround Optimizer plugin compatibility 2022-08-19 18:54:32 +04:00
Alex P
fc89021df4 Add hook docs
phpcs rules updated
2022-02-17 18:28:59 +02:00
Emili Castells
cfb10b0cee
Merge pull request #384 from woocommerce/pcp-344-add-funding-sources
Add missing funding sources to "Disable funding sources"
2021-11-29 12:35:35 +01:00
Alex P
1322a9dd27 Add missing funding sources to "Disable funding sources" 2021-11-25 17:11:51 +02:00
Alex P
b8b4766fba Show if PPEC was used in status report 2021-11-22 18:21:01 +02:00
Alex P
01942b6699 Check that PPEC settings is not null 2021-11-15 16:12:54 +02:00
Alex P
10937144a1 Add typehint 2021-10-13 15:02:10 +03:00
Anton Ukhanev
40b578309b Change case of PPECHelper class name 2021-09-13 16:24:27 +02:00
Anton Ukhanev
df185157bd Update parameter name
Fixes PHPCS
2021-08-30 08:10:43 +02:00
Anton Ukhanev
28005c9bb0 Add missing module Composer config 2021-08-30 07:46:24 +02:00
Anton Ukhanev
b56484e46c Bring remaining classes to comply with PSR-4 2021-08-26 17:17:28 +02:00
Jorge A. Torres
ab27d10383 Work around possible wc-admin fatal error 2021-08-09 19:16:44 -07:00
Jorge A. Torres
450733893a Add note inviting merchants to deactivate PPEC 2021-08-09 08:27:10 -07:00
Jorge A. Torres
28ce801eaf Fix fatal error in the PPXO compat. layer when subscriptions is disabled 2021-08-09 08:27:10 -07:00