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
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
f25f5eefa8
Merge pull request #1565 from woocommerce/PCP-1925-when-onboarding-loading-the-return-url-too-fast-may-cause-the-onboarding-to-fail
...
When onboarding loading the return_url too fast may cause the onboarding to fail (1925)
2023-08-07 17:09:32 +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
Pedro Silva
246fb86c65
Changed the woocommerce_paypal_payments_order_approved_webhook_can_create_wc_order filter default value to false
2023-08-02 08:33:09 +01: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
ee5ceb15cd
Merge pull request #1542 from woocommerce/PCP-949-certain-coupons-with-pui-causing-amount-mismatch-error
...
Certain coupons with PUI causing AMOUNT_MISMATCH error (949)
2023-08-01 14:02:40 +02:00
Pedro Silva
39a4da6d52
Change onboarding parameters
2023-08-01 08:19:40 +01:00
Pedro Silva
c035cdaf3e
Add previous token validation for OnboardingUrl
...
Add retries on listen_for_merchant_id() to wait for client_id and signature
2023-07-31 18:20:39 +01: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
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
9434a84301
Fix set paypal object to widgetBuilder on preview buttons
2023-07-26 15:21:31 +01:00
Pedro Silva
77db626a92
Add discount and also handling, insurance, shipping_discount amounts to PUI total roundings
2023-07-26 09:43:06 +01:00
Pedro Silva
0fed872c13
Add ability in WidgetBuilder to have multiple buttons rendered per wrapper.
2023-07-25 16:33:56 +01:00
Emili Castells
75316431ca
Merge pull request #1430 from woocommerce/fix/PCP-1768_link_docs
...
Add link to manual credential docs
2023-07-25 14:22:45 +02:00
Pedro Silva
cc79f62cab
* Remove commented code
2023-07-25 08:35:07 +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
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
0cbc999684
Allow to disable order creation in webhook via filter
2023-07-21 19:37:34 +03:00
Alex P
e678967c55
Do not create wc order in webhook when no form data
2023-07-21 19:35:56 +03: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
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
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
0672ca4950
Merge pull request #1509 from woocommerce/PCP-468-validate-merchant-id-field-format-when-saving-settings
...
validate Merchant ID field format when saving settings (468)
2023-07-18 15:43:52 +02: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
75f73ea090
Merge pull request #1427 from woocommerce/feat/PCP-1709_soft_descriptor
...
Include soft descriptor for card's activity
2023-07-18 15:40:04 +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
0aac0cf4e5
Merge pull request #1490 from woocommerce/PCP-1842-auto-disabled-acdc-vaulting-after-updating-to-2-1-0
...
Auto-disabled ACDC vaulting after updating to 2.1.0 (1842)
2023-07-18 15:38:56 +02:00
Emili Castells
a58900f1f0
Merge pull request #1507 from woocommerce/PCP-1846-log-subscription-mode-configuration-in-system-report
...
log Subscription Mode configuration in system report (1846)
2023-07-18 15:38:28 +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
Emili Castells
40371cbf67
Merge pull request #1502 from woocommerce/PCP-1753-onboarding-from-connection-page-with-csrf-paramter-manipulates-email-and-merchant-id-fields
...
Onboarding from connection page with CSRF paramter manipulates email and merchant id fields (1753)
2023-07-14 11:50:42 +02:00
Pedro Silva
1df151fd49
Remove duplicate is_pay_later_filter_enabled_for_location condition check
2023-07-13 16:10:59 +01: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
Pedro Silva
35fbe42733
Refactor WooCommerce\PayPalCommerce\Onboarding\Exception\RuntimeException to \RuntimeException
...
Refactor to use add_query_arg in append_onboarding_token
2023-07-12 14:57:57 +01:00
Emili Castells
81f6340897
Merge pull request #1504 from woocommerce/PCP-1836-blocks
...
Improve blocks
2023-07-12 09:44:16 +02:00
Pedro Silva
1655a7aec9
Fix lint
2023-07-12 08:37:26 +01:00