Commit graph

1316 commits

Author SHA1 Message Date
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
dinamiko
d4f46b3056 Add data-partner-attribution-id data attribute to messages wrapper div 2021-06-23 11:59:52 +02:00
dinamiko
2fdd174621 Remove data-partner-attribution-id query parameter 2021-06-22 15:55:31 +02:00
dinamiko
74c8bc9b49 Add enable-funding=paylater to all button loads unless the merchant has added paylater to disable funding settings 2021-06-18 16:53:43 +02:00
dinamiko
6dc26ec06c Add data-partner-attribution-id parameter to jssdk when messaging is enabled 2021-06-18 15:29:19 +02:00
dinamiko
00b4d4a78e Add button height setting for mini cart 2021-06-17 17:04:02 +02:00
dinamiko
64f856b83d Remove payee repository on smart button class 2021-06-17 14:42:41 +02:00
dinamiko
b493ec5a54 Add paylater to enable funding when pay later messaging is enabled 2021-06-17 11:51:43 +02:00
dinamiko
8774879b79 Remove merchant-id parameter on js sdk script 2021-06-16 15:54:45 +02:00
Kirill Braslavsky
a80d81804b set 3DS contingencies to 'SCA_WHEN_REQUIRED' 2021-06-16 09:48:33 +03:00
dinamiko
bdd9bb7636 Remove vault conditional when adding venmo to enable funding 2021-06-15 15:52:55 +02:00
dinamiko
f2f3633df4 Refactoring 2021-06-15 14:44:47 +02:00