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
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
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
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
dinamiko
8f4f681964
Improve message on settings when access token creation fails
2021-07-28 16:56:22 +02:00
Kirill Braslavsky
4bd4613255
auto fix phpcs errors
2021-07-27 19:56:59 +03:00
Kirill Braslavsky
257842b7f7
don't redirect to gateway settings if onboarded
2021-07-27 19:53:54 +03:00
Kirill Braslavsky
b91ede355c
store onboarded flag in the class properties
2021-07-27 19:20:51 +03:00
dinamiko
145b8085ab
Check if variable exist before calling it, persist vault enabled when token creation fails
2021-07-27 10:47:16 +02:00
dinamiko
119543ae2d
Update dhii/module-interface
to version 0.3
2021-07-14 14:58:23 +02:00
Emili Castells
2efb300be8
Merge pull request #187 from woocommerce/PCP-179-incorrect-api-credentials-cause-
...
Incorrect API credentials cause fatal error
2021-07-12 11:41:32 +02:00
dinamiko
060d3561a5
Fix phpcs errors
2021-07-12 11:37:46 +02:00
dinamiko
362b782387
Fix phpcs errors
2021-07-12 11:22:19 +02:00
dinamiko
d8817134a9
Update dhii\module-interface
2021-07-06 09:41:30 -05:00
dinamiko
db4e1422d8
Remove unused class
2021-07-02 12:36:59 +02:00
dinamiko
e7e80c3095
Fix unhandled exceptions when token creation fails
2021-07-02 12:31:20 +02:00
Emili Castells
1711628cf7
Merge pull request #181 from woocommerce/PCP-158-mini-cart-button-size
...
Add button height setting for mini cart
2021-07-01 09:45:53 +02:00
dinamiko
2dab2452db
Fix merge conflicts
2021-07-01 09:34:47 +02:00
dinamiko
00b4d4a78e
Add button height setting for mini cart
2021-06-17 17:04:02 +02:00
dinamiko
b493ec5a54
Add paylater
to enable funding when pay later messaging is enabled
2021-06-17 11:51:43 +02:00
dinamiko
9e7b12f16b
Do not send customer email when order status is on hold
2021-06-10 11:05:29 +02:00
dinamiko
f50628adad
Fix merge conflicts
2021-05-26 15:23:09 +02:00
Emili Castells
0e1f345f8e
Merge pull request #150 from woocommerce/PCP-141-disable-vault-setting-if-not-in-
...
Disable vault setting if vaulting feature is not available
2021-05-20 11:42:01 +02:00
dinamiko
746e26397a
Remove unused property
2021-05-19 16:01:09 +02:00
dinamiko
47c4c62d6f
Refactoring
2021-05-19 15:39:33 +02:00
Emili Castells
437a6654c5
Merge pull request #146 from woocommerce/fix/PCP-130-fix-cc-fields
...
Fix/pcp 130 fix cc fields
2021-05-17 11:09:14 +02:00
dinamiko
1783467af4
Add create payment token for credit card (work in progress)
2021-05-17 11:00:57 +02:00
Emili Castells
13d681f1cc
Merge pull request #145 from woocommerce/fix/PCP-109-wrong-order-status-virtual-downloadable
...
Wrong order status for orders with contain only products which are both virtual and downloadable
2021-05-13 17:05:21 +02:00
dinamiko
da4388c507
Subscriptions vaulting integration (work in progress)
2021-05-10 17:12:46 +02:00
dinamiko
1725d2da18
Do not redirect when handling vault_enabled
settings, also return false if there is no scope yet
2021-05-03 12:20:07 +02:00
dinamiko
ccf357d790
Disable vault setting if vaulting feature is not available in access token
2021-04-29 17:40:41 +02:00
dinamiko
ea23200de6
Consolidate vaulting settings in one single one
2021-04-23 10:33:28 +02:00
dinamiko
267a4704c9
Do not report subscriptions support if gateways are not enabled
2021-04-22 12:43:17 +02:00
Kirill Braslavsky
0a2a571e3e
fix docblock
2021-04-20 16:51:48 +03:00
Kirill Braslavsky
d38697dddf
auto fix phpcs errors
2021-04-20 16:43:08 +03:00
Kirill Braslavsky
9fd1822c0f
replace WC CVV field label
2021-04-20 16:34:51 +03:00
Kirill Braslavsky
80892ca739
fix phpcs errors
2021-04-16 19:46:19 +03:00