Pedro Silva
fcaf4d495e
Merge branch 'trunk' into PCP-1877-improve-line-item-mismatch-handling
2023-08-30 17:03:31 +01:00
Pedro Silva
33ea69d7c8
Add CartScriptParams returning currency and country code.
2023-08-30 08:37:09 +01:00
Pedro Silva
93afeeba68
Add ButtonModuleWatcher
...
Adjustments for APM support
2023-08-29 15:26:59 +01:00
Pedro Silva
e7e5ebde4e
Add ButtonInterface
...
Add render hooks to SmartButton
2023-08-24 16:17:29 +01:00
carmenmaymo
e66289b3a1
return filter
2023-08-24 11:01:19 +02:00
carmenmaymo
2563d41d83
add sdk components filter
2023-08-24 10:58:42 +02:00
Pedro Silva
bd6af7e957
Fix lint
2023-08-11 16:15:10 +01: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
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
7baee26194
Add support for custom single product page fields
2023-08-09 17:50:03 +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
Pedro Silva
1a0fa269ef
Add passing data between PayPal order and WC order via transient helper.
...
Add order notes when ditch oor extra line occurs.
2023-08-08 15:20:40 +01:00
Emili Castells Guasch
2d0726044f
Merge trunk
2023-08-03 17:20:28 +02:00
Pedro Silva
b25a124ffa
* Fix lint
2023-07-27 10:29:24 +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
Pedro Silva
d2fc0d3828
Fix lint
2023-07-24 17:24:34 +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
84a362a7c5
Fix lint
...
Add throttling to simulate_cart ajax call
2023-07-20 17:51:48 +01: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
Pedro Silva
e207a11b7e
Merge branch 'trunk' into PCP-1389-pay-later-button-and-message-get-hidden-when-product-cart-checkout-value-is-outside-of-range
2023-07-18 15:59:47 +01:00
Pedro Silva
76804c2582
Add simulate cart endpoint
2023-07-18 15:58:15 +01:00
Emili Castells
5361d4b3b2
Merge pull request #1489 from woocommerce/PCP-585-instant-payments
...
Send payee_preferred correctly for instant payments
2023-07-18 15:43:11 +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
Pedro Silva
cc97f84acb
Merge branch 'trunk' into PCP-1389-pay-later-button-and-message-get-hidden-when-product-cart-checkout-value-is-outside-of-range
2023-07-17 11:19:55 +01:00
Alex P
f811ea6a99
Do not complete non-checkout button orders via webhooks
2023-07-17 10:40:21 +03:00
Pedro Silva
1df151fd49
Remove duplicate is_pay_later_filter_enabled_for_location condition check
2023-07-13 16:10:59 +01:00
Emili Castells Guasch
59afa81160
Introduce paypal-js loading wrapper to be able to reload script
2023-07-13 16:22:57 +02:00
Alex P
6694c79617
Refactor form usage
2023-07-13 14:44:27 +03:00
Alex P
639e8409c8
Handle complex form fields when submitting checkout form
...
Our current way of handling the checkout form via ajax does not match the WC behavior which submits them in urlencoded request instead of JSON. When it is submitted as JSON object PHP does not parse it for $_POST etc., and we do not get its handling of arrays, breaking some plugin.
Now submitting the form as an urlencoded string inside JSON and parsing via `parse_str` which seems to handle it the same as $_POST.
The parsing is handled in `RequestData` to avoid duplicating it in multiple places and to keep our weird sanitization here. Not sure if it's a good idea to sanitize so early, but for now keeping it like this to avoid major refactoring or introducing new vulnerabilities.
2023-07-13 14:43:14 +03:00
Pedro Silva
d71e09bd09
Add woocommerce_paypal_payments_buttons_paylater_disabled and woocommerce_paypal_payments_product_buttons_paylater_disabled filters
2023-07-13 11:59:31 +01:00
Emili Castells Guasch
96e434d4b0
Merge trunk
2023-07-12 11:14:23 +02:00
Alex P
ced0828c2d
Merge branch 'trunk' into PCP-1762-cart-paylater-amount
2023-07-11 10:44:22 +03:00
Pedro Silva
c00b5906f7
Merge branch 'trunk' into PCP-895-buttons-not-working-on-single-product-page-for-woo-commerce-bookings-product
2023-07-05 09:34:11 +01: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
Alex P
c9bf899b75
Remove not working payment_method in root
2023-07-05 09:57:38 +03: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
Alex P
4a74911f6d
Fix funding source check
2023-07-04 16:43:37 +03: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
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
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
7b04290eac
Add support for WooCommerce Bookings on single product page
2023-06-30 10:00:44 +01:00
Emili Castells Guasch
c8e40b56c4
Add support for variable subscriptions (WIP)
2023-06-28 17:17:22 +02:00
Pedro Silva
f517ac4719
Add checkout detection in product page
2023-06-28 15:15:49 +01:00