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
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
Alex P
c77f20d2f9
Fix name to avoid confusion
2023-03-08 17:36:38 +02:00
Alex P
3d096fb2ad
Handle price suffix with price for product button check
2023-03-07 16:20:01 +02:00
Alex P
c41cedc80d
Change "Enabled" to "Available" in status text
...
Now it is more clear because "enabled" can be understood as enabled gateway, while it only means that it is enabled in the PayPal account.
2023-03-07 09:46:45 +02:00
Alex P
8bfc58f0da
Fix duplicated auth error
2023-03-06 17:07:31 +02:00
Emili Castells Guasch
098ec6f057
Merge branch 'trunk' into PCP-1462-order-pay-later
2023-03-03 10:46:50 +01:00
Emili Castells
1debc92453
Merge pull request #965 from woocommerce/pcp-456-aub-choice
...
Improve cart subscriptions check and "All products for subscriptions" compatibility
2023-03-03 10:44:03 +01:00
Alex P
7e16b39bbb
Remove shortcodes from description
2023-03-03 09:48:45 +02:00
Alex P
2adc0d57e1
Do not remove mini-cart location for pay later
2023-03-01 16:18:21 +02:00
Alex P
2c1459b6b9
Fix phpcs
2023-03-01 10:23:14 +02:00
Alex P
f7323210f0
Show funding source as payment method
2023-03-01 10:20:04 +02:00
Alex P
8c1af84204
Refactor settings check
2023-02-27 12:04:43 +02:00
Alex P
f8daa7ff2f
Remove incorrect @throws
2023-02-27 12:04:08 +02:00
Alex P
8950b9ca13
Render pay later message before buttons on order pay page
2023-02-27 12:03:32 +02:00
Alex P
d35fdea592
Fix pay later enabling
...
It should be enabled only when enabled on the Pay Later tab, also we disabling we can use `paylater` instead of `credit`
2023-02-27 12:02:47 +02:00
Alex P
68b13a480b
Fix script loading logic in pay-now check
2023-02-27 11:33:22 +02:00
Alex P
38a8473e57
Remove redundant method
...
pay later is not available for mini-cart, and even if we add it we should not implement this check with such confusing naming (location and context)
2023-02-26 15:03:41 +02:00
Alex P
8640d3031d
Fix pay later on order pay page
2023-02-26 15:00:42 +02:00
Emili Castells Guasch
0a3afeac99
Fix merge conflict
2023-02-23 17:48:13 +01:00
Emili Castells Guasch
47b25a38a2
Merge branch 'trunk' into PCP-1436-error-messages
2023-02-23 11:56:27 +01:00
Emili Castells
de651b3ae8
Merge pull request #1185 from woocommerce/PCP-235-status-capture
...
Allow to capture automatically on status change
2023-02-23 11:53:29 +01:00
Emili Castells
018ef8603a
Merge pull request #1186 from woocommerce/PCP-1447-fix-preview-country
...
Do not send buyer-country for previews in live mode to avoid error
2023-02-23 11:52:28 +01:00
Alex P
13237fa68a
Remove type-hint to reduce third-party conflicts
2023-02-23 11:24:12 +02:00
Emili Castells Guasch
0864b723ef
Fix phpcs
2023-02-22 16:42:50 +01:00
Alex P
50b7066afb
Do not call get_available_payment_gateways early
...
Calling it during object construction causes issues with third-party plugins when it is executed too early or in irrelevant requests (WP ajax for saving posts, ...).
Now this function call is moved into a separate class to make it more difficult to accidentally execute early or when not needed.
2023-02-22 17:25:14 +02:00
Emili Castells Guasch
378bb209b9
Check both post and get values in the request
2023-02-22 16:17:54 +01:00