Commit graph

3868 commits

Author SHA1 Message Date
Emili Castells Guasch
a0e125841b Bump 2.2.0 version 2023-07-06 11:01:48 +02:00
Emili Castells
65ac741535
Merge pull request #1461 from woocommerce/PCP-1825-prevent-repetitive-token-migration-and-database-overload-after-2-1-0-update
Prevent Repetitive Token Migration and Database Overload After 2.1.0 Update (1825)
2023-07-06 09:26:44 +02:00
Emili Castells Guasch
04adf15df2 Update user tokens migration message 2023-07-05 17:04:33 +02:00
Emili Castells
17a346cfc9
Merge pull request #1485 from woocommerce/PCP-1788-filter-to-conditionally-block-the-pay-pal-buttons
Filter to conditionally block the PayPal buttons (1788)
2023-07-05 10:15:34 +02:00
Emili Castells Guasch
45c69350e3 Fix skip empty key logic 2023-07-04 17:29:44 +02:00
Emili Castells
1d75e73b56
Merge pull request #1435 from woocommerce/PCP-860-apm
Improve handling of APMs when popup is not used or not redirected back to WC
2023-07-04 16:22:39 +02:00
Pedro Silva
f6e625718e
Refactor handleButtonStatus and shouldEnable methods in buttons bootstraps 2023-07-04 14:43:55 +01:00
Alex P
4a74911f6d
Fix funding source check 2023-07-04 16:43:37 +03:00
Alex P
298a72b6c5
Improve error message 2023-07-04 15:32:41 +03:00
Alex P
d20d4dd353
Check order id before requesting order 2023-07-04 15:31:19 +03:00
Emili Castells
79f0d476a6
Merge pull request #1483 from woocommerce/PCP-1856-blocks-flag
Make the blocks integration (partial) available without feature flag
2023-07-04 09:59:41 +02:00
Pedro Silva
87665401e5
Change filter names to plural woocommerce_paypal_payments_buttons_disabled and woocommerce_paypal_payments_product_buttons_disabled 2023-07-04 08:29:48 +01:00
Pedro Silva
6b03960de7
Refactor button renderer and filter woocommerce_paypal_payments_<context>_button_disabled 2023-07-03 17:35:01 +01:00
Alex P
3d61aa1ead
Make the blocks integration (partial) available without feature flag
The `woocommerce_paypal_payments_blocks_enabled` filter or `PCP_BLOCKS_ENABLED` env var are not used anymore, the blocks can be enabled in the settings without activating this feature flag first.
2023-07-03 17:17:45 +03:00
Emili Castells
5d488fb3aa
Merge pull request #1482 from woocommerce/PCP-1854-revert-elementor-pro-checkout-hook-compatibility
Revert Elementor Pro Checkout hook compatibility (1854)
2023-07-03 14:05:10 +02:00
Pedro Silva
5fb72b58dc
Remove hook rewrite filter for woocommerce_review_order_after_submit 2023-07-03 11:46:55 +01:00
Pedro Silva
74f28ca921
Add filter woocommerce_paypal_payments_<context>_button_disabled to disable PayPal buttons on a given context. 2023-07-03 11:40:37 +01:00
Emili Castells
1fd0899149
Merge pull request #1473 from woocommerce/PCP-1816-incompatibility-with-woo-commerce-one-page-checkout-or-similar-use-cases-in-version-2-1-0
Incompatibility with WooCommerce One Page Checkout (or similar use cases) in Version 2.1.0 (1816)
2023-07-03 11:55:28 +02:00
Emili Castells
313def09de
Merge pull request #1375 from fitimvata/trunk
[Fix] Undefined array key 0 when checking $retry_errors in process_payment method. (1698)
2023-07-03 11:46:35 +02:00
Pedro Silva
cdd4a69bf5
Fix lint 2023-07-03 08:31:27 +01:00
Pedro Silva
e94316aecd
Add filter woocommerce_paypal_payments_product_button_disabled to disable PayPal buttons on single product page. 2023-07-03 08:25:35 +01:00
Pedro Silva
f517ac4719
Add checkout detection in product page 2023-06-28 15:15:49 +01:00
Pedro Silva
4c33f0bee3
Add woocommerce-one-page-checkout detection in product page 2023-06-28 11:22:11 +01:00
Emili Castells
315ef2c2cd
Merge pull request #1471 from woocommerce/PCP-1827-update-system-report-plugin-status-for-vaulting
Update system report plugin status for Vaulting (1827)
2023-06-28 11:22:09 +02:00
Emili Castells
b4cc4dcfe9
Merge pull request #1469 from woocommerce/PCP-1607-smart-buttons-not-greyed-out-removed-on-single-product-when-deselecting-product-variation
Smart buttons not greyed out/removed on single product when deselecting product variation (1607)
2023-06-27 17:05:22 +02:00
Alex P
3ef53cce69
Merge branch 'trunk' into PCP-860-apm 2023-06-27 16:49:53 +03:00
Emili Castells
619dcb13bd
Merge pull request #1472 from woocommerce/fix-merge
Revert accidentally committed line
2023-06-27 15:48:53 +02:00
Alex P
0d34fead07
Revert accidentally committed line 2023-06-27 16:28:44 +03:00
Alex P
2b566fcf44
Merge branch 'trunk' into PCP-860-apm 2023-06-27 15:54:06 +03:00
Pedro Silva
bf5179d374
Add PayPal Vault enabled and ACDC Vault enabled on WooCommerce System status
Remove Vault enabled on WooCommerce System status
2023-06-27 11:00:59 +01:00
Emili Castells
7498417306
Merge pull request #1468 from woocommerce/PCP-1759-fix-caches-on-update
Refresh DCC/PUI status caches on plugin update
2023-06-27 11:41:34 +02:00
Emili Castells
f7ed9af081
Merge pull request #1408 from woocommerce/fix/PCP-1713_update_wroding_preview_button
Update wording in buttons previews
2023-06-27 11:40:43 +02:00
Emili Castells
715e9bcf17
Merge pull request #1384 from woocommerce/PCP-1700-js-error-event
Trigger WC checkout_error event
2023-06-27 11:40:01 +02:00
Emili Castells
4e7efbddfe
Merge pull request #1367 from woocommerce/fix/PCP-1675-type_error_with_advanced_columns_pro
Type error with advanced columns pro
2023-06-27 11:39:00 +02:00
Emili Castells
b52b0f32df
Merge pull request #1362 from woocommerce/PCP-1610-free-items
Do not exclude free items
2023-06-27 11:38:12 +02:00
Emili Castells
70412a8f27
Merge pull request #1358 from woocommerce/pcp-1583-card-button-no-location
Do not show broken card button gateway when no checkout location
2023-06-27 11:37:18 +02:00
Emili Castells
ad30fea667
Merge pull request #1363 from woocommerce/PCP-1544-pay-order-currency
Use order currency instead of shop currency on order-pay page
2023-06-27 11:36:47 +02:00
Emili Castells
bb39a86466
Merge pull request #1360 from woocommerce/PCP-1543-acdc-validation
Improve ACDC error message when empty fields
2023-06-27 11:36:09 +02:00
Emili Castells
6bfbc39d6f
Merge pull request #1433 from woocommerce/fix/PCP-159_currency_unsupported_notice
Add notice when shop currency is unsupported
2023-06-27 11:35:30 +02:00
Pedro Silva
82828c2991
Add support for PayPal SmartButtons enable / disable
Rename functions
Remove invalid function arguments
2023-06-26 18:14:41 +01:00
Pedro Silva
adf7a2e297
Remove unnecessary code 2023-06-26 11:55:30 +01:00
Alex P
f4c3caedcf
Refresh dcc/pui status caches on plugin update
Since #1273 we started clearing these caches on plugin updates. But we are updating these caches only on some admin pages ( 583dea8d99/modules/ppcp-wc-gateway/src/WCGatewayModule.php (L421-L428) ) to avoid the API calls on every request in some cases, so DCC may become hidden if not visited these pages after update. Maybe we can do it more frequently now after 92ae16f99. But for now simply refreshing the caches during plugin update.
2023-06-26 09:12:20 +03:00
Pedro Silva
75bf98c174
Add hide / show conditions on SingleProduct Buttons for when they shouldn't be rendered.
Refactor MessageRenderer not to reload when it has no changes.
2023-06-23 15:49:08 +01:00
Emili Castells Guasch
e38bd8f503 Revert action to re-run migration externally 2023-06-23 11:51:19 +02:00
Emili Castells Guasch
ba10ef98f3 Fix skip conditional 2023-06-23 11:39:25 +02:00
Emili Castells Guasch
73be9a11d9 Do not run migration if empty key by default 2023-06-23 11:23:59 +02:00
Alex P
a088c9cabb
Add APM tests in pw 2023-06-23 10:56:21 +03:00
Alex P
e0a39b1c4e
Refactor/fix continuation handling in pw 2023-06-23 10:55:43 +03:00
Alex P
39b5673435
Refactor openPaypalPopup options, add fundingSource 2023-06-23 10:54:18 +03:00
Pedro Silva
587e065fba
Refactored button display logic
Replaced show / hide buttons mode with enable / disable buttons mode
2023-06-23 08:23:11 +01:00