Commit graph

3322 commits

Author SHA1 Message Date
Alex P
2c1459b6b9
Fix phpcs 2023-03-01 10:23:14 +02:00
Alex P
f7323210f0
Show funding source as payment method 2023-03-01 10:20:04 +02:00
Emili Castells
43a5b759f2
Merge pull request #1210 from woocommerce/playwright
Add Playwright
2023-02-28 09:55:39 +01:00
Emili Castells Guasch
2b1363671b Add ddev url to env config file 2023-02-28 09:44:44 +01:00
Emili Castells Guasch
9876fc67fa Use ddev exec npx to avoid installing on host 2023-02-27 17:35:23 +01:00
Emili Castells Guasch
d31a9a982b Add ci tag for running non headed tests, add command to package.json 2023-02-27 16:38:49 +01:00
Emili Castells Guasch
e9eba09ebb Use existing e2e environment config file 2023-02-27 11:39:30 +01:00
Emili Castells Guasch
9d460605a8 Add basic tests 2023-02-24 17:22:03 +01:00
Emili Castells Guasch
f174e8b8d6 Move playwright ignores to its own directory 2023-02-24 15:55:04 +01:00
Emili Castells Guasch
a121373be0 Add basic documentation 2023-02-24 15:48:14 +01:00
Emili Castells Guasch
c84d10eb62 Add test dir config 2023-02-24 15:37:35 +01:00
Emili Castells Guasch
fa87e19618 Exclude playwright config file from archive 2023-02-24 15:28:48 +01:00
Emili Castells Guasch
1a0c819434 Update playwright ignore paths 2023-02-24 15:24:53 +01:00
Emili Castells Guasch
0fd45c7fff Add playwright 2023-02-24 15:17:40 +01:00
Emili Castells
68569c93f7
Merge pull request #1193 from woocommerce/PCP-923-ppec-compatibility-layer-does-not-take-over-subscriptions
PPEC compatibility layer does not take over subscriptions (923)
2023-02-23 17:57:35 +01:00
Emili Castells Guasch
ba86f397f2 Update changelog 2023-02-23 17:52:04 +01:00
Emili Castells Guasch
0a3afeac99 Fix merge conflict 2023-02-23 17:48:13 +01:00
Emili Castells
62b1c391da
Merge pull request #1189 from woocommerce/PCP-1436-error-messages
Make error message list more consistent with WC
2023-02-23 12:05:37 +01:00
Emili Castells Guasch
5480dd37a1 Update changelog 2023-02-23 11:59:55 +01:00
Emili Castells Guasch
47b25a38a2 Merge branch 'trunk' into PCP-1436-error-messages 2023-02-23 11:56:27 +01:00
Emili Castells
de651b3ae8
Merge pull request #1185 from woocommerce/PCP-235-status-capture
Allow to capture automatically on status change
2023-02-23 11:53:29 +01:00
Emili Castells
018ef8603a
Merge pull request #1186 from woocommerce/PCP-1447-fix-preview-country
Do not send buyer-country for previews in live mode to avoid error
2023-02-23 11:52:28 +01:00
Emili Castells
a242e29f7a
Merge pull request #1207 from woocommerce/PCP-1459-gateways-filter-error
Do not call get_available_payment_gateways early
2023-02-23 11:51:41 +01:00
Emili Castells
10b3ddf411
Merge pull request #1200 from woocommerce/update/changelog-date-format
Update readme.txt changelog date format
2023-02-23 11:48:37 +01:00
Emili Castells Guasch
705050a7c3 Fix merge conflict 2023-02-23 11:42:54 +01:00
Alex P
13237fa68a
Remove type-hint to reduce third-party conflicts 2023-02-23 11:24:12 +02:00
Emili Castells Guasch
0864b723ef Fix phpcs 2023-02-22 16:42:50 +01:00
Alex P
50b7066afb
Do not call get_available_payment_gateways early
Calling it during object construction causes issues with third-party plugins when it is executed too early or in irrelevant requests (WP ajax for saving posts, ...).
Now this function call is moved into a separate class to make it more difficult to accidentally execute early or when not needed.
2023-02-22 17:25:14 +02:00
Emili Castells Guasch
378bb209b9 Check both post and get values in the request 2023-02-22 16:17:54 +01:00
Emili Castells Guasch
af553856d7 Merge branch 'trunk' into PCP-923-ppec-compatibility-layer-does-not-take-over-subscriptions 2023-02-21 15:10:09 +01:00
Emili Castells
37ec22abbb
Merge pull request #1203 from woocommerce/release/2.0.3
Release 2.0.3
2023-02-21 14:50:37 +01:00
Emili Castells Guasch
6fc890fd47 Update changelog 2023-02-21 14:44:48 +01:00
Emili Castells
6ab0c84c3a
Merge pull request #1188 from popforce/patch-1
Add filter to fallback tracking_data['carrier']
2023-02-21 14:43:32 +01:00
Emili Castells Guasch
747b3a327c Bump 2.0.3 version 2023-02-21 14:30:12 +01:00
Emili Castells
088a2d985b
Merge pull request #1201 from woocommerce/PCP-1456-wrong-redirect
Redirect to connection tab after manual credentials input
2023-02-21 12:39:23 +01:00
Alex P
3ca9b444fe
Redirect to connection tab after manual credentials input 2023-02-21 10:38:11 +02:00
Danae Millan
ac69e7e522 Remove date placeholders 2023-02-20 22:28:13 -05:00
Danae Millan
9ae909b574 Add dates to the version titles in the readme.txt changelog 2023-02-20 22:16:43 -05:00
Danae Millan
5bc23f58a2 Temp, add placeholder date to the changelog of the last release 2023-02-20 22:03:45 -05: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
emilicastells
1191da5162
Fix psalm 2023-02-16 17:04:12 +01:00
emilicastells
c85211cc43
Do not call get_available_payment_gateways on fraudnet service definition 2023-02-16 16:55:51 +01:00
emilicastells
de03ae0f3a
Revert changes as not related to the root of the problem 2023-02-16 16:09:57 +01:00
emilicastells
85bca9e19b
Check should mock ppec gateway by request params instead of get_current_screen 2023-02-15 16:15:40 +01:00
Alex P
2b244133e1
Make error message list more consistent with WC
Now it should match the behavior of WC checkout.js more closely and avoid duplicated message lists (because we were always creating our own list ignoring WC).
Also removed the persist parameter. It does not seem to be used for anything useful, and we only set it inconsistently for some of the errors (remained from some old code).
I guess the idea could be to prevent genericError() from clearing previously added errors. Such if you call clear(), added some messages, but then some generic handler also triggered and called genericError(). If we really need such behavior, then we can simply check whether the list is empty. But it's probably not a good idea anyway because it can cause confusion if genericError() was a result of some other operation unrelated to the previous errors (e.g. tried another payment gateway).
2023-02-14 17:12:08 +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
Alex P
3439f67ec9
Do not send buyer-country for previews in live mode to avoid error 2023-02-14 11:25:23 +02:00
Alex P
7c43d91288
Allow to capture automatically on status change 2023-02-14 10:30:59 +02:00
Emili Castells
ec04c02b3d
Merge pull request #1170 from woocommerce/PCP-1430-validate-free-trial
Validate before free trial
2023-02-13 15:27:14 +01:00