Commit graph

52 commits

Author SHA1 Message Date
Pedro Silva
408503af1a
Fix PayPal button display on blocks conditions 2024-01-16 16:05:03 +00:00
Pedro Silva
868806a629
Add block PayPal subscription address change handler.
Validate PayPal button eligibility on block pages with subscriptions.
2024-01-12 11:18:35 +00:00
Pedro Silva
f3b30902db
Add subscription support for Block Cart and Block Checkout. 2024-01-10 18:12:01 +00:00
Alex P
c83975f293
Merge branch 'trunk' into PCP-1486-paylater-block 2023-12-20 09:00:57 +02:00
Pedro Silva
1a2038bd78
Change block variable name. 2023-12-14 09:39:02 +00:00
Alex P
c8632e3826
Update paylater amount in block cart/checkout 2023-12-13 21:42:23 +02:00
Pedro Silva
2f0f0a7e0f
Fix block checkout page reloading on form errors. 2023-12-13 16:42:16 +00:00
Alex P
a99fbc6eb3
Do not load paypal script on checkout block methods registration 2023-12-12 10:58:44 +02: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
Alex P
de1ab5b7bf
Add addition Place Order description in block 2023-11-29 17:01:55 +02:00
Alex P
dc2c60a6f2
Do not fail when cannot fill form in block continuation 2023-11-29 11:58:41 +02:00
Alex P
9038119618
Fix block editing 2023-11-24 09:56:52 +02:00
Alex P
758bb5da29
Add place order method in block together with express 2023-11-23 09:59:14 +02:00
Alex P
ea35893a82
Fix method id check 2023-11-23 08:46:48 +02:00
Alex P
b014403031
Register/render each express button separately 2023-11-22 17:19:08 +02:00
Alex P
f232946afa
Replace place order text in block 2023-11-16 16:01:32 +02:00
Alex P
3672c5a651
Do not load paypal sdk for continuation in block 2023-11-15 09:46:15 +02:00
Alex P
33ed474ae1
Support place order button mode in block 2023-11-15 09:45:15 +02:00
Alex P
7f072be611
Fix address merge 2023-10-27 09:59:55 +03:00
Alex P
14f54e1df1
Default to wc data when filling checkout 2023-10-24 10:22:55 +03:00
Alex P
539e211e6b
Fill form when continuation in block 2023-10-23 20:59:49 +03:00
Alex P
f13fc1d987
Redirect to continuation on block server error 2023-10-19 16:56:07 +03:00
Alex P
bb92792420
Update deprecated event name 2023-10-19 15:55:57 +03:00
Alex P
9059ef7f25
Fill form locally before submit when no-review mode 2023-10-12 10:18:58 +03:00
Alex P
18f8b83b61
Fix failed validation response
the 2nd check seems to not needed now
2023-10-11 10:43:33 +03:00
Alex P
613665f43e
Revert "check validation before submit", also check in onPaymentSetup 2023-10-11 10:10:45 +03:00
Alex P
47ad89bab9
Check validation errors before submit in block 2023-09-25 15:31:38 +03:00
Alex P
099b50728e
Remove unused 2023-09-25 09:52:53 +03:00
Alex P
d86b315229
Merge branch 'trunk' into PCP-1874-block-validation 2023-09-21 08:12:51 +03:00
Pedro Silva
c6379ca980
Refactor GooglePay contect handlers to reuse action handlers. 2023-09-06 17:54:08 +01:00
Pedro Silva
4a1d369ad2
Add GooglePay context handler classes 2023-08-28 17:19:07 +01:00
Alex P
08fb1d3350
Check validation errors when submitting in block 2023-07-21 10:49:50 +03:00
Alex P
d83eace9b8
Show buttons in block editing 2023-07-11 09:15:36 +03:00
Alex P
508fe0ee48
Do not sent order in approve response 2023-05-31 16:15:19 +03:00
Alex P
2df970a74a
Handle payment errors in blocks 2023-05-22 10:38:31 +03:00
Alex P
885d7cab19
Fix checkout address update
Looks like update* only sends to server, and set* fills UI without immediately sending to the server
2023-04-27 09:31:31 +03:00
Alex P
efb86acb1f
Handle shipping address/methods update 2023-04-27 09:06:38 +03:00
Alex P
9d638a57e3
Show shipping methods in paypal if express without review 2023-04-25 15:06:24 +03:00
Alex P
37959ad2d8
Handle final review option 2023-04-24 08:12:48 +03:00
Alex P
57414cff9f
Fix request params 2023-04-22 13:16:42 +03:00
Alex P
98f6d0de45
Save funding source for block orders 2023-04-21 16:39:59 +03:00
Alex P
0d8f86eefa
Fix block cart continuation 2023-04-17 17:15:37 +03:00
Alex P
211c57b938
Add final review for blocks 2023-04-17 10:23:52 +03:00
Alex P
493933a1c1
Handle continuation mode in blocks 2023-04-07 15:58:59 +03:00
Alex P
bfaf05a96e
Add locations for block, do not load non-block scripts on block pages 2023-03-29 20:15:42 +03:00
Alex P
21bba80f49
Check the current method in block 2023-03-27 10:59:08 +03:00
Alex P
5261484f11
Use react component from the standard sdk 2023-03-24 10:11:53 +02:00
Alex P
d887135951
Use onError instead of deprecated setExpressPaymentError 2023-03-23 15:54:24 +02:00
Alex P
e990eb2a6e
Use new event name 2023-03-23 11:59:15 +02:00
Alex P
e4b9cb3398
Set missing address fields to empty for express block
Fixes compatibility with latest wc blocks version
2023-03-23 10:52:19 +02:00