Commit graph

997 commits

Author SHA1 Message Date
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
Alex P
13237fa68a
Remove type-hint to reduce third-party conflicts 2023-02-23 11:24:12 +02: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
Alex P
3ca9b444fe
Redirect to connection tab after manual credentials input 2023-02-21 10:38:11 +02: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
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
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
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
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
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
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
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
emilicastells
d6d417fb7a
Merge branch 'trunk' into PCP-1383-when-pui-is-enabled-fraud-net-should-be-also-enabled-mandatory-for-pui 2023-01-23 13:24:05 +01:00
Emili Castells
d7130a9fdc
Merge pull request #1106 from woocommerce/PCP-994-oxxo-type-error-after-2-0-update
Do not check type in filter callback signature (994)
2023-01-23 11:03:56 +01:00
emilicastells
ea201a3140
Disable Fraudnet checkbox when PUI is enabled 2023-01-20 10:58:43 +01:00
emilicastells
055ffa9370
Ensure WC()->payment_gateways is not null 2023-01-18 14:39:27 +01:00
emilicastells
9055c702e7
Fix merge conflicts 2023-01-17 15:03:20 +01:00
Emili Castells
d4187854de
Merge pull request #1029 from woocommerce/PCP-951-could-not-retrieve-order
Could not retrieve order error (951)
2023-01-11 09:55:34 +01:00
emilicastells
83c3dca560
Do not check signature type on filter 2023-01-02 15:08:23 +01:00
Narek Zakarian
552dbe4751
Improve the Checkout buttons description 2022-12-23 12:41:46 +04:00
Narek Zakarian
851ded9021
Fix the descriptions and labels 2022-12-21 18:20:42 +04:00
Narek Zakarian
0763e73cdb
Rename the Enable/Disable setting label for PayPal Gateway 2022-12-21 17:11:49 +04: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
c54c42a46d
Fix preview overlapping 2022-12-20 19:24:58 +04:00
Narek Zakarian
416881da70
Fix Pay later locations according to selected smart button locations 2022-12-19 20:23:09 +04:00
Emili Castells
6845f1c629
Merge pull request #1041 from woocommerce/PCP-971-add-fraud-net-to-all-payments
Pcp 971 add fraud net to all payments
2022-12-15 14:35:27 +01:00
Alex P
2f6240bfb4
Do not send Paypal-Request-Id
The current usage is incorrect and only causes issues without solving any problems (we don't implement any way to retry requests).
2022-12-15 12:37:52 +02:00
emilicastells
19735af651
Fix typo in log order id display 2022-12-08 11:09:06 +01:00
Narek Zakarian
edfbf2308c
Fix PHPcs problems 2022-12-06 15:53:52 +04:00
Narek Zakarian
927f96f4dc
Enable styling per location by default for smart buttons 2022-12-06 15:28:41 +04:00
Narek Zakarian
2205b1bc1e
Refactor default settings to match new settings 2022-12-05 17:12:30 +04:00
Narek Zakarian
7f120720cc
Refactor disable gateways with new settings 2022-12-05 17:05:19 +04:00
Narek Zakarian
da07c3b5fa
Refactor smart button with new settings 2022-12-05 16:53:30 +04:00
Narek Zakarian
9c6a813776
Refactor settings JS code to work for standard tab 2022-12-05 15:28:45 +04:00
Narek Zakarian
9c7ac6ba34
Organize settings fields in separate folder 2022-12-05 15:27:58 +04:00
emilicastells
b6d483ac6d
Update error message 2022-12-05 11:21:05 +01:00
emilicastells
c654786ee3
Merge branch 'trunk' into PCP-951-could-not-retrieve-order 2022-12-05 11:18:09 +01:00
emilicastells
1ce7a1ca2e
Remove param types on closures to avoid third party issues 2022-12-01 15:00:48 +01:00
Emili Castells
ff37f4f584
Merge pull request #1048 from woocommerce/PCP-996-all-tabs-hidden-on-oxxo-tab-visit
All tabs hidden on OXXO tab visit (996)
2022-12-01 12:35:29 +01:00
emilicastells
20445258df
Fix typo in is ppcp settings page service 2022-11-30 13:13:44 +01:00
emilicastells
a448f98b3f
Param types removed to avoid third-party issues 2022-11-30 11:44:13 +01:00