Commit graph

2167 commits

Author SHA1 Message Date
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
8f3e9c4554
Disable card button for blocks
not working well with express, cannot fill fields
2023-04-21 09:46:28 +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
6049f8b396
Merge branch 'trunk' into pcp-157-blocks 2023-04-17 17:12:44 +03:00
Emili Castells Guasch
a892214ca7 Merge branch 'trunk' into PCP-1599-boolean-false-type-sent-as-empty-value-when-setting-cache 2023-04-17 13:50:21 +02:00
dependabot[bot]
b0be8d98dd
Bump json5 from 2.2.0 to 2.2.3 in /modules/ppcp-wc-gateway
Bumps [json5](https://github.com/json5/json5) from 2.2.0 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.0...v2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:57:18 +00:00
dependabot[bot]
e902cc329d
Bump json5 from 2.2.0 to 2.2.3 in /modules/ppcp-webhooks
Bumps [json5](https://github.com/json5/json5) from 2.2.0 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.0...v2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:54:17 +00:00
dependabot[bot]
a3eb52f4bc
Bump json5 from 2.2.0 to 2.2.3 in /modules/ppcp-vaulting
Bumps [json5](https://github.com/json5/json5) from 2.2.0 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.0...v2.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:53:03 +00:00
dependabot[bot]
34b51e063d
Bump json5 from 2.2.1 to 2.2.3 in /modules/ppcp-order-tracking
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-04-17 10:51:56 +00:00
dependabot[bot]
1d1b01ac1c
Bump json5 from 2.2.1 to 2.2.3 in /modules/ppcp-button
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-04-17 10:50:46 +00:00
dependabot[bot]
9db77a801b
Bump json5 from 2.2.1 to 2.2.3 in /modules/ppcp-onboarding
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-04-17 10:49:34 +00:00
dependabot[bot]
96268c46df
Bump json5 from 2.2.1 to 2.2.3 in /modules/ppcp-compat
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-04-17 10:48:28 +00:00
dependabot[bot]
55760670ec
Bump json5 from 2.2.1 to 2.2.3 in /modules/ppcp-uninstall
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-04-17 10:47:14 +00:00
dependabot[bot]
f5bc239293
Bump webpack from 5.74.0 to 5.76.0 in /modules/ppcp-button
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:46:01 +00:00
dependabot[bot]
5e1f52a357
Bump webpack from 5.74.0 to 5.76.0 in /modules/ppcp-onboarding
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:44:46 +00:00
dependabot[bot]
24cd27709f
Bump webpack from 5.74.0 to 5.76.0 in /modules/ppcp-vaulting
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:43:40 +00:00
dependabot[bot]
149af62047
Bump webpack from 5.74.0 to 5.76.0 in /modules/ppcp-order-tracking
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:42:25 +00:00
dependabot[bot]
935b177edd
Bump webpack from 5.74.0 to 5.76.0 in /modules/ppcp-wc-gateway
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:41:11 +00:00
dependabot[bot]
4ad19a7b51
Bump webpack from 5.74.0 to 5.76.0 in /modules/ppcp-webhooks
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:39:51 +00:00
dependabot[bot]
2fae1e5a5b
Bump webpack from 5.74.0 to 5.76.0 in /modules/ppcp-compat
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:38:35 +00:00
dependabot[bot]
03992eef3a
Bump webpack from 5.74.0 to 5.76.0 in /modules/ppcp-uninstall
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:37:06 +00:00
dependabot[bot]
63b77d8442
Bump loader-utils from 2.0.0 to 2.0.4 in /modules/ppcp-wc-gateway
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.0 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.0...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:32:46 +00:00
Emili Castells Guasch
97561d3f34 Use string instead of boolean when caching to avoid issues in some environments 2023-04-17 12:09:44 +02:00
Alex P
211c57b938
Add final review for blocks 2023-04-17 10:23:52 +03:00
Alex P
b444c1ef55
Fix block context 2023-04-17 10:23:13 +03:00
Emili Castells
59ff2d3ca8
Merge pull request #1294 from woocommerce/PCP-1572-coupon-validation
Refresh checkout totals after validation if needed
2023-04-12 09:29:34 +02:00
Alex P
493933a1c1
Handle continuation mode in blocks 2023-04-07 15:58:59 +03:00
Alex P
b0a0eea752
Refactor cancellation 2023-04-07 15:57:52 +03:00
Alex P
ccb5391d81
Allow pay later button in block 2023-04-05 17:55:58 +03:00
Emili Castells
9c96dfd8bc
Merge pull request #1254 from woocommerce/PCP-234-page-builder-hooks
Improve Divi and Elementor Pro compatibility
2023-04-05 09:42:03 +02:00
Alex P
3c557907f2
Refresh checkout totals after validation if needed
Refreshing the totals the same way as WC does this.
2023-04-04 11:35:16 +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
dc3fde5abf
Refactor SmartButton script loading checks 2023-03-29 20:12:39 +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
Emili Castells Guasch
b0e269e95e Fix pay for order conditional 2023-03-23 16:29:26 +01: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
2a0fa49800
Merge branch 'trunk' into pcp-157-blocks 2023-03-22 23:23:06 +02:00
Emili Castells Guasch
8d97954f42 Add content type json to all fetch ajax endpoints 2023-03-22 17:26:58 +01:00
Emili Castells Guasch
5ceb39c9e0 Fix code style 2023-03-22 17:00:16 +01:00
Emili Castells Guasch
df2c215ec9 Add content type json to all fetch ajax endpoints 2023-03-22 16:53:26 +01:00
Emili Castells Guasch
b0de49125e Merge branch 'trunk' into PCP-506-api 2023-03-22 12:28:32 +01:00