Commit graph

1277 commits

Author SHA1 Message Date
dinamiko
da7450ccdf Dispatch hosted fields loaded event 2021-09-14 11:24:27 +02:00
dinamiko
ab32a20f68 Add and remove class for css opacity 2021-09-14 09:28:48 +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
dinamiko
12f1a2e40b Disable credit card fields when selecting saved payment 2021-09-09 17:28:16 +02:00
dinamiko
b1ce9191f9 Ignore disable funding card if card processing is enabled 2021-09-09 12:20:43 +02:00
dinamiko
31260b61f9 Fix merge conflicts 2021-09-08 15:22:28 +02:00
Alex P
a41f678ac6 Subscribe to form button click only once 2021-09-07 17:58:17 +03:00
Alex P
10d7574e22 Teardown hosted fields on re-render 2021-09-07 17:56:16 +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
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
0553ea62bf Send 3ds contingency in js 2021-08-20 17:47:32 +03:00
Emili Castells
8924fb884e
Merge pull request #205 from woocommerce/PT-51-plugin-information---support
Add PayPal onboarding information to WooCommerce system status
2021-08-10 11:33:20 +02:00
Emili Castells
c8d308ff9b
Merge pull request #178 from woocommerce/PCP-114-sca-when-required
set 3DS contingencies to 'SCA_WHEN_REQUIRED'
2021-08-10 10:26:02 +02:00
dinamiko
b49970be41 Merge branch 'trunk' into PT-51-plugin-information---support 2021-08-09 13:00:10 +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
94aead33ba Merge branch 'trunk' into PCP-114-sca-when-required 2021-08-03 15:20:23 +02:00
dinamiko
e25737f480 Do not display smart buttons if current states is not onboarded 2021-07-27 11:07:51 +02:00
Kirill Braslavsky
8a748b6e94
auto fix phpcs errors 2021-07-26 20:13:05 +03:00
Kirill Braslavsky
defae9cca0
fix filter name 2021-07-26 19:06:23 +03:00
Kirill Braslavsky
4f8e917c37
fix filter name 2021-07-26 19:02:52 +03:00
Kirill Braslavsky
1fbf5bae10
add filter for the product page renderer hook 2021-07-26 18:36:29 +03:00
Kirill Braslavsky
91fff09133
rename method 2021-07-26 18:32:16 +03:00
Kirill Braslavsky
049638d2b9
show submit button, dcc and message on same hook 2021-07-26 18:23:25 +03:00
Kirill Braslavsky
6ca363e379
Allow button renderer hook filter on mini cart 2021-07-26 10:50:52 +03:00
Kirill Braslavsky
03b76d9177
Allow dcc pay-order button renderer hook filter 2021-07-26 10:31:11 +03:00
Kirill Braslavsky
f81aa63f8b
Allow dcc checkout button renderer hook filter 2021-07-26 10:27:34 +03:00
Kirill Braslavsky
2391e7038e
Allow cart button renderer hook to be filtered 2021-07-26 10:18:43 +03:00
Kirill Braslavsky
fb32cec67b
Allow button renderer hook to be filtered 2021-07-26 09:58:54 +03:00
dinamiko
f47d69a6b0 Do not render save credit card checkbox is user is not logged in 2021-07-23 11:31:11 +02:00
dinamiko
c2a036c952 Check if array key exist before using it 2021-07-21 11:44:44 +02:00
dinamiko
7d2031da03 Check if array key exist before using it 2021-07-21 11:31:56 +02:00
Emili Castells
66aa4ab841
Merge pull request #193 from woocommerce/PCP-166-acdc-checkout-error-card-details
ACDC checkout error: "Card Details not valid"; but payment completes
2021-07-16 09:09:27 +02:00
dinamiko
f2ac9045bb Move hosted fields validation into validityChange event 2021-07-15 17:27:19 +02:00
Emili Castells
5c6bac0c7f
Merge pull request #195 from woocommerce/update-module-interface-to-0.3
Update module interface to 0.3
2021-07-15 14:08:31 +02:00
Emili Castells
bc5a84cdd2
Merge pull request #183 from woocommerce/PCP-170-add-bn-code-to-pay-later-messagi
Add BN Code to Pay Later Messaging
2021-07-15 09:08:37 +02:00
dinamiko
119543ae2d Update dhii/module-interface to version 0.3 2021-07-14 14:58:23 +02:00
dinamiko
a9922f36b1 Do not rerender hosted fields on each checkout form field update 2021-07-13 11:55:59 +02:00
dinamiko
fad6c27ae4 Fix typo in variable name 2021-07-13 09:43:30 +02:00
dinamiko
ab6f8a3c99 Check single product and mini card setting for displaying PayPal buttons 2021-07-12 17:16:26 +02:00
dinamiko
d8817134a9 Update dhii\module-interface 2021-07-06 09:41:30 -05: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
Emili Castells
60b03f5aae
Merge pull request #179 from woocommerce/PCP-156-remove-merchant-id-from-jssdk-lo
Remove `merchant-id` query parameter in JSSDK
2021-07-01 09:42:17 +02:00
dinamiko
6c20336bc8 Add venmo to enable funding by default 2021-07-01 09:39:18 +02:00
dinamiko
2dab2452db Fix merge conflicts 2021-07-01 09:34:47 +02:00
Emili Castells
a199a8ca63
Merge pull request #169 from woocommerce/PCP-150-venmo-update
Venmo update
2021-07-01 09:24:49 +02:00