Commit graph

67 commits

Author SHA1 Message Date
Pedro Silva
939424a56a
Rafactor remove Mozart isolation. 2023-12-20 15:24:46 +00:00
Pedro Silva
5837d65b18
Merge branch 'trunk' into modularity-full-migration
# Conflicts:
#	modules/ppcp-blocks/src/BlocksModule.php
2023-12-19 10:28:47 +00:00
Pedro Silva
e540484805
Fix extensions. 2023-12-19 10:13:45 +00:00
Pedro Silva
144474169b
Refactor some modules to native modularity support. 2023-12-15 14:16:53 +00:00
Niklas Gutberlet
ebc2dc4f70
Merge pull request #1904 from woocommerce/PCP-2389-block-checkout-reloads-when-submitting-order-with-empty-fields
Block Checkout reloads when submitting order with empty fields (2389)
2023-12-15 09:57:16 +01:00
Pedro Silva
1a2038bd78
Change block variable name. 2023-12-14 09:39:02 +00:00
Pedro Silva
2f0f0a7e0f
Fix block checkout page reloading on form errors. 2023-12-13 16:42:16 +00:00
Pedro Silva
ec0dd5221d
Adjustments to apm button layouts. 2023-12-11 17:14:43 +00:00
Pedro Silva
55c7900a3e
Adjust block button styles. 2023-12-11 12:02:06 +00: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
de1ab5b7bf
Add addition Place Order description in block 2023-11-29 17:01:55 +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
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
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