Commit graph

291 commits

Author SHA1 Message Date
Emili Castells Guasch
3d924e0a04 Merge branch 'trunk' into PCP-2722-add-block-checkout-compatibility-to-advanced-card-processing 2024-05-08 14:27:40 +02:00
Emili Castells
e0afc257b9
Merge pull request #2153 from woocommerce/PCP-2794-add-pay-later-messaging-to-block-cart-checkout
Refactor the Pay Later Messaging block and add dedicated Cart/Checkout blocks (2794)
2024-04-22 16:56:28 +02:00
Emili Castells
37cabf35b1
Merge pull request #2161 from woocommerce/PCP-2942-add-data-page-type-script-attribute-to-every-jssdk-load
Add the `data-page-type` attribute for JS SDK (2942)
2024-04-22 09:13:43 +02:00
Daniel Dudzic
2317c90db4
Resolve merge conflict 2024-04-20 19:38:41 +02:00
Emili Castells Guasch
94379e4feb Add card fields component (WIP) 2024-04-17 16:22:36 +02:00
Daniel Dudzic
43869993c6
Remove all unnecessary registerCheckoutBlock code in favor of the correct simplified solution 2024-04-17 02:06:41 +02:00
Narek Zakarian
0ece922427
Add the data-page-type attribute for JS SDK 2024-04-16 17:12:28 +04:00
Daniel Dudzic
ad2c8e9aed
Re-add the is_pay_later_messaging_enabled_for_location() method code 2024-04-16 00:59:10 +02:00
Emili Castells Guasch
a2e0f68f1b Get variation plan id from cart in checkout page 2024-04-12 16:07:39 +02:00
Emili Castells Guasch
bd9f80f82f Fix phpcs 2024-04-10 17:05:33 +02:00
Daniel Dudzic
7af2162f1c
Sync with trunk 2024-04-10 11:28:51 +02:00
Daniel Dudzic
708fcc0faa
Fix PHPCS errors 2024-04-09 23:44:51 +02:00
Emili Castells Guasch
197e70607a Add payment token for guest free trial subscription (WIP) 2024-04-09 17:34:51 +02:00
Daniel Dudzic
00e1e16fa5
Minor condition refactor 2024-04-09 14:17:25 +02:00
Daniel Dudzic
64bd0a2da8
Limit Pay Later Messaging block to only 1 per page. Fix Pay Later WC blocks messaging. Ensure proper config renders both in the editor and the page. 2024-04-08 23:35:53 +02:00
Emili Castells Guasch
457e9f0182 Allow free trial subscription without payment token for logged-in users 2024-04-06 17:31:57 +02:00
Emili Castells Guasch
bc0eb57460 Do not create PayPal order for free trial subscription if user has payment token 2024-04-04 16:52:08 +02:00
Emili Castells Guasch
a83d022228 Merge branch 'trunk' into PCP-2768-zero-sum-subscriptions-cause-cannot-be-zero-or-negative-when-using-vault-v-3 2024-04-03 14:30:11 +02:00
Emili Castells Guasch
2bf3c14feb Do not execute current free trial flow if vault v3 enabled 2024-04-03 09:59:40 +02:00
Daniel Dudzic
d30b44d18e
First attempt at fixing the PayLater Messaging block on the frontend. The block renders but with default config and not block specific settings. 2024-04-02 16:15:22 +02:00
Emili Castells
bb8734d788
Merge pull request #2125 from woocommerce/PCP-285-feature-request-more-fraud-prevention-capabilities-by-storing-additional-data-in-the-order
feature request: more fraud prevention capabilities by storing additional data in the order (285)
2024-04-02 16:09:05 +02:00
Pedro Silva
510a6c6913
Improve fraud prevention capabilities 2024-03-27 11:50:40 +00:00
Pedro Silva
eec344f35d
Fix lint 2024-03-25 16:08:49 +00:00
Pedro Silva
fdca5c56a5
Adjustments funding source naming 2024-03-25 15:45:12 +00:00
Narek Zakarian
1f5e32c0b0
Use the new way to check if block should be enabled 2024-03-05 17:08:10 +04:00
Emili Castells
11e7f79efa
Merge pull request #2053 from woocommerce/PCP-2692-messaging-configurator-feedback
Improve the messaging configurator styles (2692)
2024-02-29 11:55:58 +01:00
Emili Castells Guasch
7ee7cc82f8 Exclude PayPal subscriptions products from automatic only payment gateways 2024-02-26 15:45:23 +01:00
Narek Zakarian
93d4f64270
use the text-size for rendering messages 2024-02-23 15:42:00 +04:00
Emili Castells
2bd7d2bf0d
Merge pull request #1958 from woocommerce/PCP-2522-venmo-vaulting-integration
Venmo Vaulting integration (2522)
2024-01-17 14:50:47 +01:00
Pedro Silva
408503af1a
Fix PayPal button display on blocks conditions 2024-01-16 16:05:03 +00:00
Pedro Silva
751edc8353
Add support for Venmo button with vault v3 2024-01-15 16:55:36 +00:00
Emili Castells Guasch
51aa79af11 Disable save to account checkout if subscription in the cart 2024-01-11 12:29:36 +01:00
Emili Castells
02722a3c97
Merge pull request #1897 from woocommerce/PCP-1486-paylater-block
Add Pay Later Messaging block
2024-01-05 15:04:01 +01:00
Alex P
40e4658576
Fix buttons loading in block editor 2024-01-05 09:52:28 +02:00
Pedro Silva
2348db69dc
Fix PHP 8.2 deprecation notices. 2024-01-03 17:34:58 +00:00
Alex P
f4ac4401c1
Do no load messaging (or paypal sdk) when disabled in settings 2023-12-20 15:18:39 +02:00
Alex P
1962823eb3
Split is_pay_later_messaging_enabled 2023-12-20 15:17:07 +02:00
Alex P
a87eba2044
Use cart amount on any page 2023-12-20 15:04:09 +02:00
Alex P
c83975f293
Merge branch 'trunk' into PCP-1486-paylater-block 2023-12-20 09:00:57 +02:00
Alex P
340704756b
Do not render paylater block if module disabled 2023-12-20 09:00:16 +02:00
Alex P
22e908ff25
Fix context check 2023-12-20 08:59:47 +02:00
Alex P
93997fac7e
Fix messages check in editor 2023-12-13 08:34:07 +02:00
Alex P
6d450d587f
Always include buttons and messages components when in editor 2023-12-12 10:55:23 +02:00
Alex P
baa3afeb9b
Render pay later blocks 2023-12-06 17:31:56 +02:00
Pedro Silva
7f5454dcdb
Fix buttons on classic checkout and cart blocks. 2023-12-05 17:57:07 +00:00
Emili Castells Guasch
29669b501a Add context for add payment method 2023-12-05 09:34:34 +01:00
Emili Castells Guasch
5811b5f60d Merge branch 'PCP-1393-update-to-vault-v-3' into PCP-1393-acdc-vault-v3 2023-11-28 12:05:08 +01:00
Emili Castells Guasch
9e87e93985 Merge branch 'trunk' into PCP-1393-update-to-vault-v-3 2023-11-28 12:03:51 +01:00
Emili Castells Guasch
7a8650dbfa Add filter to disable card custom fields render 2023-11-27 12:48:10 +01:00
Alex P
dc119e7978
Do not ignore disabled APMs list in block
Looks like we were overwriting this value removing the previously added disabled APMs (could affect only Venmo currently).
Now adding instead of overwriting everything (there is an array_unique call before outputting).
2023-11-24 18:43:34 +02:00