Commit graph

2127 commits

Author SHA1 Message Date
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
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
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
Emili Castells Guasch
b0e269e95e Fix pay for order conditional 2023-03-23 16:29:26 +01: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
Emili Castells Guasch
808020357e Fix psalm 2023-03-21 12:35:51 +01:00
Emili Castells Guasch
f857315055 Cleanup caching data on plugin upgrade 2023-03-21 12:22:53 +01:00
Emili Castells Guasch
99c5351689 Refactor pui is active calls 2023-03-21 11:54:55 +01:00
Emili Castells Guasch
8a1d38ec0e Move settings sections service to sections render class 2023-03-21 11:00:47 +01:00
Alex P
e5c9ef86a3
Merge branch 'trunk' into PCP-506-api 2023-03-17 17:23:47 +02:00
Alex P
7a994f8d28
Do not save refund id after ppcp_refund_order 2023-03-17 17:23:33 +02:00
Alex P
7e64f81c19
Fix credentials change check for redirect 2023-03-17 16:22:04 +02:00
Alex P
5dce62fa78
Add API for refunding and voiding orders 2023-03-17 11:44:28 +02:00
Alex P
9ba93c9e11
Remove unneeded extension
no reason to put it into extension, only adds confusion
2023-03-17 10:22:28 +02:00
Alex P
cc21dd78e7
Fix tests, add http redirector 2023-03-16 18:13:41 +02:00
Emili Castells
337959feda
Merge pull request #1237 from woocommerce/PCP-1465-status-text
Change "Enabled" to "Available" in status text
2023-03-16 15:14:58 +01:00
Emili Castells
f633995307
Merge pull request #1229 from woocommerce/PCP-1470-changing-to-bad-creds-error
Fix duplicated auth error when credentials become wrong
2023-03-16 15:14:26 +01:00
Emili Castells
e332e62105
Merge pull request #1221 from woocommerce/PCP-1479-paylater-minicart
Allow Pay Later in mini-cart
2023-03-16 15:13:57 +01:00
Emili Castells
1b27a27313
Merge pull request #1226 from woocommerce/PCP-1482-remove-shortcode
Remove shortcodes from description
2023-03-16 15:13:27 +01:00
Emili Castells
9283c28bd1
Merge pull request #1234 from woocommerce/PCP-1483-price-suffix
Handle price suffix with price for product button check
2023-03-16 15:12:58 +01:00
Emili Castells
cbf64f5cb9
Merge pull request #1220 from woocommerce/PCP-259-log-payment-method
Show funding source as payment method
2023-03-16 15:12:27 +01:00
Emili Castells
aea0963812
Merge pull request #1239 from woocommerce/PCP-1481-webhook-storage
Fix webhook issues when switching sandbox, and delete all webhooks when unsubscribing
2023-03-16 09:17:56 +01:00
Alex P
bb7df745a1
Improve Divi and Elementor Pro compatibility 2023-03-15 10:52:27 +02:00
dependabot[bot]
c11d738f7b
Bump loader-utils from 2.0.0 to 2.0.4 in /modules/ppcp-vaulting
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-03-14 14:43:50 +00:00
dependabot[bot]
8f3c548c76
Bump loader-utils from 2.0.0 to 2.0.4 in /modules/ppcp-webhooks
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-03-14 11:20:41 +00:00
dependabot[bot]
9d96f7133c
Bump loader-utils from 2.0.2 to 2.0.4 in /modules/ppcp-order-tracking
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 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.2...v2.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 11:07:50 +00:00
dependabot[bot]
aaecb7a12f
Bump loader-utils from 2.0.2 to 2.0.4 in /modules/ppcp-button
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 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.2...v2.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 10:35:25 +00:00
dependabot[bot]
dd0787dfcc
Bump loader-utils from 2.0.2 to 2.0.4 in /modules/ppcp-onboarding
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 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.2...v2.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 08:39:09 +00:00
dependabot[bot]
c9b088db4c
Bump loader-utils from 2.0.2 to 2.0.4 in /modules/ppcp-compat
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 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.2...v2.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 08:17:06 +00:00
dependabot[bot]
6ac3b67d87
Bump loader-utils from 2.0.2 to 2.0.4 in /modules/ppcp-uninstall
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 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.2...v2.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 08:01:45 +00:00
Emili Castells Guasch
c600575d23 Do not call endpoint if not onboarded 2023-03-13 14:56:15 +01:00
Alex P
9adcfe4b7d
Hide webhook elements when sandbox state is not matching the server 2023-03-10 14:14:05 +02:00
Alex P
8188faeec4
Redirect on any credentials change (including sandbox checkbox)
otherwise we may use wrong state/host e.g. for webhook subscription
2023-03-10 10:39:02 +02:00
Alex P
4c59337247
Delete all webhooks before adding 2023-03-09 10:47:29 +02:00
Alex P
3d3fe37185
Improve webhook deletion error output 2023-03-09 10:46:25 +02:00