Commit graph

99 commits

Author SHA1 Message Date
Alex P
df81e5e411
Remove unused 2023-05-31 16:17:09 +03:00
Emili Castells Guasch
3c0e807758 Fix merge conflicts 2023-05-16 12:44:14 +02:00
Alex P
071dbe145e
Add WP-CLI command for updating settings 2023-05-02 12:40:35 +03:00
Emili Castells Guasch
d9fa6e2c5d Add subscriptions support for PayPal and ACDC gateways 2023-04-27 17:07:30 +02:00
Emili Castells Guasch
f857315055 Cleanup caching data on plugin upgrade 2023-03-21 12:22:53 +01:00
Emili Castells
f633995307
Merge pull request #1229 from woocommerce/PCP-1470-changing-to-bad-creds-error
Fix duplicated auth error when credentials become wrong
2023-03-16 15:14:26 +01:00
Alex P
8bfc58f0da
Fix duplicated auth error 2023-03-06 17:07:31 +02:00
Alex P
f7323210f0
Show funding source as payment method 2023-03-01 10:20:04 +02: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
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
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
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
c3329c5e9d
Add filter for disabling fees on wc order admin pages 2023-02-01 16:31:43 +02:00
emilicastells
9055c702e7
Fix merge conflicts 2023-01-17 15:03:20 +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
Narek Zakarian
1a4f9f6535
Register the FraudNet JS 2022-11-29 17:06:17 +04:00
Narek Zakarian
2775f7dd9d Disable funding soures for Pay Later preview 2022-11-17 16:58:58 +04: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
Narek Zakarian
d0f26fb891 consider disabled funding sources setting for pay later preview 2022-11-10 15:16:35 +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
Narek Zakarian
4d0adae73b Use "admin dummy client ID" when messaging is eligible 2022-11-09 17:57:52 +04:00
Alex P
818dbcf107 Add isolated container and dhii modularity deps 2022-11-09 10:13:03 +02:00
dinamiko
f548c9dfd4 Fix merge conflict 2022-11-03 12:31:52 +01:00
Narek Zakarian
0596f84b21 Add necessary config for preview scripts 2022-11-02 17:36:08 +04:00
dinamiko
31f91cd976 Enable OXXO/Credit Card button and add OXXO contact message 2022-11-02 12:27:03 +01:00
Alex P
59472bf140 Hide the subscription option without js
It was causing js error + no reason to use js for this
2022-10-31 16:14:55 +02:00
Alex P
ab618b200e Add button preview in settings 2022-10-21 17:56:48 +03:00
dinamiko
3bbaeb9e10 fix psalm 2022-10-10 15:17:05 +02:00
dinamiko
eec6ba8167 Refactor 2022-10-10 15:14:34 +02:00
dinamiko
99aa80c3ec Use wc order update meta data intead of wp function 2022-10-10 15:10:00 +02:00
dinamiko
e4e968a823 Fix merge conflict 2022-09-14 12:22:46 +02:00
dinamiko
ae11b15164 Do not show subscription behavior setting if subscriptions plugin is not active 2022-09-02 12:59:53 +02:00
Emili Castells
8d6ce555fa
Merge pull request #793 from woocommerce/PCP-155-tracking-api
Tracking API
2022-08-19 09:30:57 +02:00
Emili Castells
5a5ebd0e58
Merge pull request #794 from woocommerce/pcp-355-hide-gateways
Hide additional gateways when not onboarded or not available
2022-08-19 09:29:09 +02:00
dinamiko
8a052166ff Merge branch 'trunk' into PCP-155-tracking-api 2022-08-18 15:50:16 +02:00
Alex P
dda243f1c9 Perform the full dcc/pui status check on the gateway list page 2022-08-17 16:16:50 +03:00
Narek Zakarian
9b63ab0b91 Merge remote-tracking branch 'origin/trunk' into PCP-155-tracking-api
# Conflicts:
#	modules/ppcp-wc-gateway/services.php
#	modules/ppcp-wc-gateway/src/Helper/PayUponInvoiceHelper.php
#	tests/PHPUnit/WcGateway/Helper/PayUponInvoiceHelperTest.php
2022-08-17 17:11:20 +04:00
Narek Zakarian
d3d79f4ef1 fix PHPcs problems 2022-08-17 16:25:23 +04:00
Alex P
d2189d7d22 Show oxxo only for Mexican shops 2022-08-17 15:06:11 +03:00
Alex P
3b90e0521c Hide additional gateways when not onboarded or not available 2022-08-17 15:05:36 +03:00
Narek Zakarian
2231b7836c Fix Psalm errors 2022-08-17 15:03:57 +04:00
Alex P
b7260aa185 Add header on settings page 2022-08-16 13:56:36 +03:00
dinamiko
65c8cce2a6 Do not check store currency when registering pui gateway 2022-08-10 10:44:36 +02:00
Emili Castells
46352ba16e
Merge pull request #765 from woocommerce/pcp-841-card-button-no-paypal
Do not show card button gateway if PayPal gateway disabled
2022-08-10 09:21:17 +02:00
dinamiko
3470010958 Fix phpcs 2022-08-10 09:10:38 +02:00
Alex P
3e014bad84 Render tabs later (after WC Payments links) 2022-08-10 10:04:33 +03:00
Alex P
63e1d113ff Render sections as tabs instead of links 2022-08-10 10:04:33 +03:00
Alex P
40365c5afb Do not show card button gateway if paypal gateway disabled 2022-08-03 09:37:40 +03:00
dinamiko
e14fc10141 Fix wrong disabling oxxo 2022-08-02 12:24:22 +02:00