Emili Castells Guasch
a5626b52a5
Add update pricing webhook handler
2023-03-08 09:17:30 +01:00
Emili Castells Guasch
f84d9da8d6
Handle subscription renewal from payment sale complete webhook handler
2023-03-07 12:15:29 +01:00
Emili Castells Guasch
501dbcca55
Add billing subscription cancelled webhook handler
2023-03-07 10:35:39 +01:00
Emili Castells Guasch
5a230a7669
Allow customer suspend and activate subscription
2023-03-06 16:41:18 +01:00
Emili Castells Guasch
bdc69a6fc6
Fix return subscription plan id
2023-03-02 09:11:17 +01:00
Emili Castells Guasch
62364d1e84
Fix wrong replacements
2023-03-01 16:19:27 +01:00
Emili Castells Guasch
b5e1f1530a
Add update subscription (WIP)
2023-03-01 16:12:26 +01:00
Emili Castells Guasch
8ceb7e0664
Add create subscription e2e test
2023-02-28 17:00:24 +01:00
Emili Castells Guasch
c1d7d30f04
Fix merge conflicts
2023-02-28 11:07:03 +01:00
Emili Castells Guasch
4737f9d203
Merge branch 'trunk' into PCP-591-save-and-display-vaulted-payment-methods-in-woo-commerce-native-endpoint
2023-02-28 10:00:35 +01:00
Emili Castells Guasch
0a3afeac99
Fix merge conflict
2023-02-23 17:48:13 +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
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
6ab0c84c3a
Merge pull request #1188 from popforce/patch-1
...
Add filter to fallback tracking_data['carrier']
2023-02-21 14:43:32 +01:00
Alex P
3ca9b444fe
Redirect to connection tab after manual credentials input
2023-02-21 10:38:11 +02: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
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
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
emilicastells
2a1b987f66
Handle payment sale completed webhook (WIP)
2023-02-10 17:25:51 +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
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
emilicastells
d30e85d8e7
Add payment sale completed webhook handler
2023-02-08 11:09:16 +01: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