Commit graph

25 commits

Author SHA1 Message Date
Emili Castells Guasch
11105d913b Run eslint autofix 2024-07-12 12:58:34 +02:00
Daniel Dudzic
7af2162f1c
Sync with trunk 2024-04-10 11:28:51 +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
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
Daniel Dudzic
40e8aa2874
Migrate the PayPal buttons inside of the Express Checkout in the editor to @paypal/react-paypal-js with a unique namespace to avoid conflicts with the Pay Later messaging block 2024-03-29 13:59:35 +01:00
Daniel Dudzic
8b4594ad92
Pay Later messaging block: Update the PayPal script from paypal/paypal-js to paypal/react-paypal-js 2024-03-27 22:35:47 +01:00
Narek Zakarian
2fedd36dbf
Fix the placement label for block 2024-03-20 16:26:28 +04:00
Narek Zakarian
ded41850ff
Change placment names for the block 2024-03-19 18:07:19 +04:00
Narek Zakarian
dc002c7a9b
Adjust block options, add text-size 2024-03-14 17:54:02 +04:00
Narek Zakarian
91f6007921
Rely on placement existence also on admin panel 2024-03-12 17:23:55 +04:00
Alex P
fc1b5e9a1e
Show error message in paylater block when vaulting enabled 2023-12-20 16:44:38 +02:00
Alex P
7203cd0138
Always include messages component in editor
ajax request determines context incorrectly
2023-12-18 08:01:21 +02:00
Alex P
da0a17da6a
Fix wc import 2023-12-14 14:57:55 +02:00
Alex P
90d8fcc530
Show paylater amount in editor if cart/checkout 2023-12-14 10:36:15 +02:00
Alex P
ccc0e263dd
Allow to add paylater block inside block cart/checkout 2023-12-13 17:37:13 +02:00
Alex P
910c6ccb6d
Do not use react-paypal-js 2023-12-13 08:47:21 +02:00
Alex P
6d450d587f
Always include buttons and messages components when in editor 2023-12-12 10:55:23 +02:00
Alex P
a33d8dea3d
Fix react svg 2023-12-08 15:01:28 +02:00
Alex P
7e8881dc9d
Retrieve current script url params (client id, ...) in editor 2023-12-07 16:55:17 +02:00
Alex P
ee1e6538dc
Set placement 2023-12-07 08:15:05 +02:00
Alex P
c1376f927c
Add icon 2023-12-06 17:45:43 +02:00
Alex P
2f1c8f6c57
Hide logo position when not available 2023-12-06 17:33:13 +02:00
Alex P
baa3afeb9b
Render pay later blocks 2023-12-06 17:31:56 +02:00
Alex P
d8ff7f79e6
Add loading spinner 2023-12-05 21:35:41 +02:00
Alex P
9ded2bfa17
Add pay later block 2023-12-05 21:35:18 +02:00