Commit graph

3303 commits

Author SHA1 Message Date
Alex P
16fbb5b4d1
Extract module flag check 2023-12-20 08:56:23 +02:00
Alex P
5c767e7bf6
Register block later
otherwise WC category is not registered yet
2023-12-18 08:03:35 +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
6dd3d47649
Fix webpack config 2023-12-16 13:49:40 +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
c8632e3826
Update paylater amount in block cart/checkout 2023-12-13 21:42:23 +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
93997fac7e
Fix messages check in editor 2023-12-13 08:34:07 +02:00
Alex P
a99fbc6eb3
Do not load paypal script on checkout block methods registration 2023-12-12 10:58:44 +02:00
Alex P
5ab6d3b27d
Do not fail script loading if no script_attributes or data_client_id 2023-12-12 10:57:31 +02:00
Alex P
4e34332c0b
Do not include APM buttons in editor
canMakePayment is not called, so cannot hide if not available
2023-12-12 10:55:54 +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
2985687b4e
Fix block errors when not onboarded 2023-12-08 15:01:14 +02:00
Alex P
ab0fcadb06
Fix block name 2023-12-08 09:33:02 +02:00
Alex P
7e8881dc9d
Retrieve current script url params (client id, ...) in editor 2023-12-07 16:55:17 +02:00
Alex P
2ecbf089f5
Update block description 2023-12-07 10:18:57 +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
Alex P
0d016b94ec
Add paylater-block module 2023-12-05 21:32:32 +02:00
Emili Castells Guasch
290f4bc193 Fix phpcs 2023-12-05 10:11:42 +01:00
Emili Castells Guasch
bf0b549292 Fix psalm 2023-12-05 09:45:40 +01:00
Emili Castells Guasch
29669b501a Add context for add payment method 2023-12-05 09:34:34 +01:00
Emili Castells Guasch
cb7612851f Merge branch 'trunk' into PCP-1393-acdc-vault-v3 2023-11-30 14:40:04 +01:00
Emili Castells
8ab5ec93ad
Merge pull request #1874 from woocommerce/PCP-2380-ui-fixes
Change default "Place Order" button text, add additional "Place Order" description in block
2023-11-30 09:36:03 +01:00
Emili Castells
9b62e136a4
Merge pull request #1873 from woocommerce/improve-address-retrieval
Improve address retrieval in block
2023-11-30 09:34:07 +01:00
Alex P
5e520ebb49
Fix disable-funding field access
Fixed usage of the `disabled-funding` field usage because It can be missing, it is added only if there are disabled funding sources.
2023-11-30 08:39:08 +02:00
Alex P
9542a1b920
Fix text 2023-11-29 18:40:23 +02:00
Emili Castells Guasch
92a574f4fa Add pay with save payment method (WIP) 2023-11-29 17:29:20 +01:00
Alex P
de1ab5b7bf
Add addition Place Order description in block 2023-11-29 17:01:55 +02:00
Alex P
9d933b2b73
Change Place Order text 2023-11-29 16:59:59 +02:00
Alex P
b0ef0649bb
Improve fallback to shipping address when no billing 2023-11-29 11:59:32 +02:00
Alex P
dc2c60a6f2
Do not fail when cannot fill form in block continuation 2023-11-29 11:58:41 +02: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
7ca609555a
Merge pull request #1872 from woocommerce/fix-apple-css
Fix Apple Pay CSS
2023-11-28 11:24:23 +01:00
Emili Castells
0e19c8925f
Merge pull request #1870 from woocommerce/fix-continuation-label
Keep default "Place order" button text in continuation
2023-11-28 10:55:33 +01:00
Alex P
ea3dca0a26
Remove block spacing workaround 2023-11-28 11:46:18 +02:00
Alex P
b3680eb85b
Update apple pay css (similar to google) 2023-11-28 11:46:18 +02:00
Emili Castells Guasch
cd8564d81e Pass save payment method checkbox value 2023-11-27 16:00:12 +01:00
Alex P
3cd6f99266
Keep default "Place order" button text in continuation 2023-11-27 16:16:19 +02:00
Emili Castells Guasch
7a8650dbfa Add filter to disable card custom fields render 2023-11-27 12:48:10 +01:00
Emili Castells Guasch
2bb783f58c No need for checking null 2023-11-27 11:54:50 +01:00
Emili Castells Guasch
f94273c477 Check if payment source is not null 2023-11-27 11:40:36 +01:00