Commit graph

456 commits

Author SHA1 Message Date
Alex P
50ca4dc079
Disable via CSS class 2023-09-11 10:47:08 +03:00
Alex P
a2f61e9505
Ignore actions.enable/disable errors
Can happen when buttons were destroyed.
Unclear if we really need to call this at all, CSS may be enough already.
2023-09-11 10:39:35 +03:00
Alex P
465649ba15
Fire ppcp_buttons_enabled_changed 2023-09-11 10:36:16 +03:00
Alex P
bf64309bf5
Handle enable/disabled only when changed 2023-09-11 10:35:20 +03:00
carmenmaymo
a64bd0b762
Merge branch 'task/shared-apple-google' into feat/PCP-154-apple-pay-payment 2023-09-08 11:58:57 +02:00
carmenmaymo
ff6b3bf5ce
Merge branch 'trunk' into feat/PCP-154-apple-pay-payment 2023-09-08 11:58:33 +02:00
Pedro Silva
4c4e4f14ff
Add hide/show/enable/disable triggers to button helpers 2023-09-07 16:56:10 +01:00
Pedro Silva
bf92f8942d
Refactor ScriptLoading, removed timeout feature
Refactor SmartButton render hooks
2023-09-07 09:13:57 +01:00
carmenmaymo
614a37f234
Merge branch 'trunk' into feat/PCP-154-apple-pay-payment 2023-09-06 10:55:11 +02:00
Pedro Silva
72e64ef922
Refactor CartHelper endpoint for edge case configurations. 2023-09-01 14:19:29 +01:00
carmenmaymo
7394c809b7
Add logic of apple to session, validation and shipping 2023-08-31 16:43:40 +02:00
carmenmaymo
63ab1e383d
changes to mimic google implementation 2023-08-31 12:48:01 +02:00
Emili Castells
99e84d59e4
Merge pull request #1613 from woocommerce/PCP-1950-acdc-footer
Hide ACDC footer frame via CSS to avoid empty space
2023-08-30 11:04:22 +02:00
Pedro Silva
93afeeba68
Add ButtonModuleWatcher
Adjustments for APM support
2023-08-29 15:26:59 +01:00
Pedro Silva
2ae5e2bb4c
Add concurrent handling to ScriptLoading
Fix OnboardingRenderer
2023-08-24 10:26:23 +01:00
Alex P
a866fd355b
Hide ACDC footer frame via CSS to avoid empty space
It seems like this iframe (added when ACDC is enabled) can result in some empty space being shown because of some inherited `body` CSS about fonts/text. So hiding it via `display: none`, I think it will not cause any issues, because this iframe is not supposed to be visible anyway (`width`, `height` are set to `0`).
2023-08-22 10:50:58 +03:00
Pedro Silva
53bf234a4c
Fix single product page extra fields in array format 2023-08-11 16:09:11 +01:00
Pedro Silva
75bbdb6635
Merge branch 'trunk' into PCP-160-compatibility-with-woo-commerce-product-add-ons-plugin 2023-08-11 11:15:20 +01:00
Emili Castells
222d981df8
Merge pull request #1585 from woocommerce/PCP-1930-pay-pal-later-message-price-amount-doesnt-update-dynamically
PayPal Later message price amount doesn't update dynamically. (1930)
2023-08-11 11:45:06 +02:00
Emili Castells
402b87face
Merge pull request #1443 from woocommerce/PCP-991-v2-detach-vaulting-from-wc-subscriptions-support
PayPal Subscriptions API fixes and improvements (991)
2023-08-10 11:29:03 +02:00
Pedro Silva
cb36c31a78
Refactor BookingProduct 2023-08-10 08:22:36 +01:00
Pedro Silva
7baee26194
Add support for custom single product page fields 2023-08-09 17:50:03 +01:00
Pedro Silva
89288603c3
Fix in the Single Product load SingleProductBootstap when we have Messages even if buttons are not present 2023-08-09 15:03:54 +01:00
Emili Castells Guasch
4260dce97b Enable buttons when cart contains only one subscription product 2023-08-09 15:38:46 +02:00
Emili Castells
02de8ada7f
Merge pull request #1536 from woocommerce/PCP-1871-one-page-checkout-causes-mini-cart-not-showing-the-pp-button-on-certain-pages
One-page checkout causes mini cart not showing the PP button on certain pages (1871)
2023-08-09 11:03:26 +02:00
Emili Castells Guasch
02e35bbe9d Prevent PayPal subscription buttons to be rendered multiple times 2023-08-08 12:10:31 +02:00
Emili Castells Guasch
be8015b8dd Add variations get subscription products 2023-08-07 18:53:01 +02:00
Emili Castells Guasch
2d0726044f Merge trunk 2023-08-03 17:20:28 +02:00
Emili Castells
5675ebee48
Merge pull request #1530 from woocommerce/PCP-1896-missing-order-details
Improve WC order creation in webhook
2023-08-02 16:52:56 +02:00
Emili Castells
20bd01abbd
Merge pull request #1554 from woocommerce/PCP-1913-trigger-acdc-card-type-detection-earlier
Refactor hosted fields for early card detection
2023-08-01 17:34:47 +02:00
Emili Castells
a35bea207e
Merge pull request #1511 from woocommerce/PCP-1389-pay-later-button-and-message-get-hidden-when-product-cart-checkout-value-is-outside-of-range
Pay Later button and message get hidden when product/cart/checkout value is outside of range (1389, 1886, 1847)
2023-07-31 10:34:33 +02:00
Pedro Silva
781d539e7f
Refactor hosted fields for early card detection 2023-07-28 16:37:44 +01:00
Pedro Silva
ecbe4a9abf
* Fix add fix for Messages loading edge case and a Widget reload event listener. 2023-07-27 17:13:53 +01:00
Pedro Silva
9cdd11b3b3
Refactor paylater and buttons filters for simplicity
Add show / hide messages functionality on the frontend
2023-07-27 09:57:19 +01:00
Emili Castells Guasch
8779a5acaa Merge branch 'trunk' into PCP-991-v2-detach-vaulting-from-wc-subscriptions-support 2023-07-26 11:47:31 +02:00
Pedro Silva
0fed872c13
Add ability in WidgetBuilder to have multiple buttons rendered per wrapper. 2023-07-25 16:33:56 +01:00
Pedro Silva
cc79f62cab
* Remove commented code 2023-07-25 08:35:07 +01:00
Pedro Silva
59a68fb604
Add sanitize woocommerce_widget_cart_is_hidden filter for consistent values.
Remove context restrictions to mini-cart paypal buttons.
2023-07-24 17:09:45 +01:00
Pedro Silva
5d43dfeb8b
Change method to add an event listener on single product page.
Add check for price not found in DOM for single product page.
2023-07-24 08:35:23 +01:00
Alex P
8835f4b2a9
Always save form in checkout 2023-07-21 19:35:13 +03:00
Pedro Silva
044a704048
Remove unused debounce function 2023-07-21 10:39:18 +01:00
Pedro Silva
84a362a7c5
Fix lint
Add throttling to simulate_cart ajax call
2023-07-20 17:51:48 +01:00
Pedro Silva
a0480e35bb
Add paypal widget builder 2023-07-20 14:19:18 +01:00
Emili Castells Guasch
c13ac3ab73 Disable buttons in cart and checkout pages when no subscription plan exists 2023-07-20 14:29:37 +02:00
Emili Castells Guasch
c636192e98 Do not render buttons on single product page if there is not subscription plan 2023-07-20 12:27:14 +02:00
Pedro Silva
4e50d1d6ba
* Add paypal script reloading
* Add button reloading in cart and product page
* Add checking filters asynchronously
2023-07-20 08:02:15 +01:00
Emili Castells Guasch
d6c12ce29d Merge branch 'trunk' into PCP-991-v2-detach-vaulting-from-wc-subscriptions-support 2023-07-19 14:26:15 +02:00
Emili Castells
a29e597ff9
Merge pull request #1441 from woocommerce/PCP-1762-cart-paylater-amount
Update Pay Later amount on the cart page and checkout when total changes
2023-07-18 15:39:35 +02:00
Emili Castells
24a40a283c
Merge pull request #1510 from woocommerce/PCP-1873-complex-form-fields
Handle complex form fields when submitting checkout form
2023-07-18 15:37:57 +02:00
Emili Castells
9d906a1f4b
Merge pull request #1478 from woocommerce/PCP-895-buttons-not-working-on-single-product-page-for-woo-commerce-bookings-product
Buttons not working on single product page for WooCommerce Bookings product (895)
2023-07-18 15:36:00 +02:00