Commit graph

31 commits

Author SHA1 Message Date
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
f1c91d5508
Fix type
Sometimes this service returns DisabledSmartButton
2023-05-24 09:36:36 +03:00
Alex P
2df970a74a
Handle payment errors in blocks 2023-05-22 10:38:31 +03:00
dependabot[bot]
0488670bf2
Bump json5 from 2.2.1 to 2.2.3 in /modules/ppcp-blocks
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 11:04:20 +00:00
dependabot[bot]
6db83fdd5a
Bump webpack from 5.75.0 to 5.76.0 in /modules/ppcp-blocks
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-17 10:55:41 +00:00
Alex P
703bedf810
Update final review checkbox 2023-05-08 15:04:25 +03:00
Alex P
694aafd346
Use "Pay now" label only if no review 2023-04-27 12:49:26 +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
47d6933288
Replace no final review alert with description 2023-04-25 16:16:37 +03:00
Alex P
9d638a57e3
Show shipping methods in paypal if express without review 2023-04-25 15:06:24 +03:00
Alex P
8efa0e6da3
Fix pay now button
not sure if the action parameter in order creation request affects anything, but the docs say that it should match the js sdk commit parameter
2023-04-24 08:15:22 +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
29e1b0cbd0
Show notice if cannot init blocks 2023-04-19 11:20:11 +03:00
Alex P
f435796cbe
Add final review checkbox 2023-04-18 23:34:29 +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
ccb5391d81
Allow pay later button in block 2023-04-05 17:55:58 +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
Alex P
02bec2b611
Handle missing shipping address for express block (virtual products) 2023-03-23 09:02:17 +02:00
Alex P
b824de4e33
Handle missing billing address for express block 2023-03-21 10:27:02 +02:00
Alex P
ea3e5bbeb6
Add express checkout block (wip) 2023-02-15 10:52:25 +02:00