Commit graph

3342 commits

Author SHA1 Message Date
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
6a0592f58b
Remove useless dcc check in cart 2023-02-15 16:52:16 +02:00
Alex P
5dd0931c0f
Hide cart buttons when intent changed 2023-02-15 16:50:34 +02:00
Alex P
4ae82b704a
Make SmartButton more reusable 2023-02-15 16:03:49 +02: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
Alex P
b98bed9147
Merge branch 'trunk' into pcp-456-aub-choice 2023-02-13 17:50:28 +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
Emili Castells
e5c66a65a1
Merge branch 'trunk' into PCP-1430-validate-free-trial 2023-02-13 15:20:52 +01:00
Emili Castells
a3dfc3c01e
Merge pull request #1169 from woocommerce/PCP-1421-label
Mention PUI only for German shops and add line breaks
2023-02-13 15:17:59 +01:00
Emili Castells
36281f4a8b
Merge pull request #1172 from woocommerce/PCP-1438-get-cart-warning
Use wp_loaded for fraudnet loading to avoid warnings
2023-02-13 15:15:53 +01:00
Emili Castells
4ba1c52bea
Merge pull request #1177 from woocommerce/PCP-1429-device-data-not-available-error-message-is-showing-for-pay-upon-invoice
`DEVICE_DATA_NOT_AVAILABLE` error message when FraudNet is enabled (1429)
2023-02-13 13:04:33 +01:00
emilicastells
568b809834
Move context logic to trait 2023-02-13 11:01:51 +01:00
emilicastells
1f395701ed
Merge branch 'trunk' into PCP-1429-device-data-not-available-error-message-is-showing-for-pay-upon-invoice 2023-02-13 09:48:49 +01:00
Emili Castells
3a21b2932b
Merge pull request #1131 from woocommerce/pcp-990-user-valdation
Validate new user creation
2023-02-10 15:21:21 +01:00
Alex P
c3a874c96f
Merge branch 'trunk' into pcp-990-user-valdation 2023-02-10 15:22:49 +02:00
Emili Castells
040e6d9d99
Merge pull request #1146 from woocommerce/pcp-1391-ditch-filter
Add filter for controlling the ditching of items/breakdown
2023-02-10 12:36:33 +01:00
Emili Castells
83bb9430bf
Merge pull request #1147 from woocommerce/pcp-1392-patch-data-filter
Add patch order data filter
2023-02-10 12:35:50 +01:00
Emili Castells
dd80f8fcfe
Merge pull request #1153 from woocommerce/PCP-1418-fees-display-filter
Add filter for disabling fees on wc order admin pages
2023-02-10 12:34:58 +01:00
Emili Castells
31b05842fc
Merge pull request #1135 from woocommerce/pcp-956-free-trial-form-save
Save checkout form before free trial redirect
2023-02-10 12:32:09 +01:00
Emili Castells
4aab613925
Merge pull request #1157 from woocommerce/PCP-1138-recaptcha-validation
Set $_REQUEST before validation
2023-02-10 12:26:50 +01:00
Emili Castells
9518a5ca86
Merge pull request #1160 from woocommerce/PCP-1003-adv-validation
Improve compatibility with Advanced Shipping Validation
2023-02-10 12:26:14 +01:00
Alex P
c5af5df056
Merge branch 'trunk' into PCP-1003-adv-validation 2023-02-10 11:55:44 +02:00
emilicastells
88d85ca87d
Get button locations from smart_button_locations setting 2023-02-09 16:35:53 +01:00
Alex P
61dafb83d7
Use wp_loaded for fraudnet loading to avoid warnings
It needs wcgateway.enabled-ppcp-gateways which calls WC()->payment_gateways->get_available_payment_gateways(), and the hooks inside it can be used by other plugins resulting in warnings about calling functions like get_cart too early
One way to fix it is simply to use the wp_loaded hook instead of init, I think it supposed to be a more correct choice if interaction with other plugins (WC) is needed, because it is fired when "WP, all plugins, and the theme are fully loaded and instantiated"
2023-02-08 18:00:23 +02:00
Alex P
9839d24a66
Fix fraudnet docs url 2023-02-07 15:55:23 +02:00
Alex P
040c51a2b6
Mention PUI only for German shops and add line breaks 2023-02-07 15:53:11 +02:00
Alex P
333b48e4ec
Add tracking docs url 2023-02-07 15:52:58 +02:00
Alex P
50560a96c4
Add tests 2023-02-07 15:30:59 +02:00
Alex P
09b6b411db
Call WC validation on free trial click 2023-02-07 15:29:53 +02:00
Emili Castells
664a53dd36
Merge pull request #1156 from khalilgharbaoui/trunk
Add option to hide funding resource Trustly
2023-02-07 12:58:00 +01:00
Alex P
abc39d4dbd
Mention PUI only for German shops and add line breaks 2023-02-07 10:58:38 +02:00
Emili Castells
94d5747fb6
Merge pull request #1144 from woocommerce/pcp-1354-fix-unset-fields-validation
Make is_checkout()=true during validation to improve compatibility
2023-02-07 09:19:25 +01:00
Emili Castells
2ee836f428
Merge pull request #1167 from woocommerce/PCP-1420-white
Add white color option
2023-02-07 09:18:08 +01:00
Alex P
df10747701
Fix default landing value 2023-02-06 10:13:38 +02:00
Alex P
3fe1a2a274
Add white color option 2023-02-06 10:06:32 +02:00
Alex P
838978fcf6
Retrieve validation errors from notices 2023-02-03 10:36:48 +02:00
Alex P
d6bd403b5a
Call calculate_shipping before validation 2023-02-03 10:35:38 +02:00
Alex P
b10f1a693a
Set $_REQUEST before validation 2023-02-02 15:26:28 +02:00
Khalil Gharbaoui
4f1f326172
Add option to hide funding resource Trustly 2023-02-02 04:36:02 +01:00
Alex P
c3329c5e9d
Add filter for disabling fees on wc order admin pages 2023-02-01 16:31:43 +02:00
Danae Millan
fddd6c35e9
Merge pull request #1151 from woocommerce/release/2.0.2
Update 2.0.2 release date
2023-01-31 20:52:35 -03:00