Commit graph

441 commits

Author SHA1 Message Date
Alex P
c09c1efc9c Improve logging 2021-10-01 10:05:10 +03:00
dinamiko
9ebedbfd85 Renaming class names 2021-09-30 16:30:52 +02:00
dinamiko
57ff2cc649 Fix merge conflicts 2021-09-30 12:52:15 +02:00
dinamiko
065fc4c241 Update all packages to latest versions 2021-09-29 11:10:56 +02:00
dinamiko
b6cde1f593 Regenerate yarn.lock files 2021-09-29 10:20:11 +02:00
dinamiko
7d893b40d3 Fix phpcs errors 2021-09-28 10:41:43 +02:00
dinamiko
2a31c3ce03 Add authorization flow for saved credit cards 2021-09-27 17:49:08 +02:00
dinamiko
2db0162988 Move payment tokens repository to vaulting package 2021-09-17 17:11:36 +02:00
Alex P
0b029a9392 Add webhooks status page 2021-09-16 12:44:29 +03:00
Alex P
fa6f9eb188 Support passing field value without settings
Pass as function to not perform e.g. HTTP requests if the field is not needed.
2021-09-16 12:42:30 +03:00
Alex P
6b109be316 Add table field renderer 2021-09-16 12:41:08 +03:00
Alex P
620f25d88d Refactor field page checking
Reduce code duplication and support more than 2 pages.
Also remove 'all'
2021-09-16 12:40:00 +03:00
Alex P
80d56f293c Do not detect credentials change on DCC settings page 2021-09-14 13:32:35 +03:00
Alex P
09cef78577 Fix and refactor credential change handling 2021-09-14 10:25:50 +03:00
Anton Ukhanev
72216ba44a Change case of WCGatewayModule class name
See https://github.com/woocommerce/woocommerce-paypal-payments/pull/235#issuecomment-910082924.
2021-09-13 16:33:41 +02:00
Anton Ukhanev
6078de235f Change case of DCCProductStatus class name 2021-09-13 16:31:09 +02:00
Emili Castells
079e8e6acc
Merge pull request #250 from woocommerce/PCP-256-disable-funding-credit-cards-aff
Disable funding credit cards affecting hosted fields, unset for GB
2021-09-10 15:24:58 +02:00
Alex P
ccf3c88432 Merge branch 'trunk' into pcp-178-gateways 2021-09-09 12:09:32 +03:00
dinamiko
3580462efc Add tooltip description 2021-09-08 14:39:56 +02:00
dinamiko
6e0f739a00 Remove disabling card for UK 2021-09-08 11:40:13 +02:00
Alex P
34ae2ee30b Show notice only on ppcp and payments page 2021-09-01 16:28:17 +03:00
Alex P
9408d1a9e5 Fix text 2021-09-01 16:01:07 +03:00
Alex P
527d14eb4a Simplify type hint 2021-08-31 10:20:34 +03:00
Alex P
33e6280aa3 Add notice DCC enabled without the main gateway 2021-08-31 10:20:11 +03:00
Anton Ukhanev
df185157bd Update parameter name
Fixes PHPCS
2021-08-30 08:10:43 +02:00
Anton Ukhanev
3a72a73ae3 Auto-fix PHPCS 2021-08-30 08:08:41 +02:00
Alex P
f60f6b0556 Show CC gateway in admin payments list
allow changing order, enabling/disabling, opening settings via it
2021-08-27 13:50:31 +03:00
Alex P
3ebd3b29bd Fix return value 2021-08-27 13:46:54 +03:00
Alex P
45bef752fd Simplify if 2021-08-27 13:43:25 +03:00
Alex P
bc141ae7fb Refactor gateway page check 2021-08-27 13:43:00 +03:00
Anton Ukhanev
b56484e46c Bring remaining classes to comply with PSR-4 2021-08-26 17:17:28 +02:00
Anton Ukhanev
69d9631a73 Now using modularity standard v0.3
This is the newest release, and is the first one that is compatible
with PHP 8. Other changes are BC-breaking, but very very minor.
2021-08-26 11:11:49 +02:00
Anton Ukhanev
cabcb7d9e4 Add Container typehint to all service definitions 2021-08-26 11:10:16 +02:00
Anton Ukhanev
d4c8282518 Use Composer modules and convert modules to PSR-4
PSR-4 is much more robust and predictable. But to do this,
a source root dir must be specified for every module.
This could be done in the root file, but this is not very modular.
Instead, now every module declares its own source root by using
the amazing Composer Merge Plugin. This approach allows each module
to also declare its own dependencies. Together, these changes allow
modules to be easily extractable to separate pacakges when the need
arises, and in general improves modularity significantly.
2021-08-26 11:01:20 +02:00
Alex P
b988e08c66 Add "No 3DS" option 2021-08-23 12:29:43 +03:00
Alex P
31bd954870 Add 3d secure contingency settings 2021-08-20 17:25:24 +03:00
Oscar Gare
852fbe9f54 fix REFUND_CAPTURE_CURRENCY_MISMATCH 2021-08-17 12:06:49 +02:00
dinamiko
9b16d92565 Update order status to failed when can not process order 2021-08-13 11:00:55 +02:00
dinamiko
ba07030dac Update order status to failed when instrument is declined 2021-08-11 15:01:23 +02:00
Emili Castells
5a84bd1430
Merge pull request #202 from woocommerce/PCP-176-currency-japananese-yen-jpy-is-n
Do not send decimals when currency does not support them
2021-08-10 11:39:46 +02:00
dinamiko
b49970be41 Merge branch 'trunk' into PT-51-plugin-information---support 2021-08-09 13:00:10 +02:00
dinamiko
33f106934f Update admin notice error 2021-08-09 12:59:39 +02:00
Emili Castells
4afa9d6096
Merge pull request #203 from woocommerce/feature/PCP-184-extend-plugin-modification-options
Extend plugin modification options
2021-08-09 12:30:20 +02:00
dinamiko
8cb26a2aa0 Add filters for button label default value 2021-08-09 12:25:50 +02:00
Emili Castells
e1586131fb
Merge pull request #210 from woocommerce/PCP-180-use-get_icon-for-credit-card-gat
Use `get_icon` to display credit card gateway icons
2021-08-04 09:41:58 +02:00
dinamiko
00cc013767 Remove double slash in icons src 2021-08-03 13:00:28 +02:00
dinamiko
008fcbc5f9 Implement update_option method in PayPal gateway to synchronize gateway enabled option 2021-08-02 16:24:41 +02:00
dinamiko
1d1efcb807 Do not display admin message for currencies that does not support decimals 2021-07-29 16:06:10 +02:00
dinamiko
a123a63afe Use get_icon to display credit card gateway icons 2021-07-29 15:33:16 +02:00
dinamiko
83a18dc5b4 Display warning admin notice in case currency does not support decimals 2021-07-29 12:56:52 +02:00