Commit graph

6013 commits

Author SHA1 Message Date
Emili Castells
e7f2d33623
Merge pull request #2377 from woocommerce/PCP-3309-check-available-features-this-button-is-non-functional
Enable the gateway settings JS file on connection tab (3309)
2024-07-01 15:39:05 +02:00
Emili Castells
eb726d6e42
Merge pull request #2382 from woocommerce/PCP-3326-pay-by-link-capturing-order-from-guest-user-causing-fatal-error-when-vaulting-is-enabled
Pay by link - Capturing order from guest user causing fatal error when Vaulting is enabled (3326)
2024-07-01 15:38:21 +02:00
Philipp Stracker
0197896500
🥅 Catch several JS/API related preview issues 2024-07-01 15:25:06 +02:00
Philipp Stracker
5307225ef3
🐞 Fix JS error during PayLater preview
Incorrect selector for `payLaterButtonPreview` caused the preview to fail when the “Enable Pay Later Button” was unchecked during page load.
2024-07-01 14:12:31 +02:00
Philipp Stracker
c0e3dd7be0
🐛 Hide the PayLater preview when using Vaultig 2024-07-01 14:02:22 +02:00
Emili Castells Guasch
59d0ae943e Ensure purchase units payments is not null before usign it 2024-07-01 12:40:42 +02:00
Philipp Stracker
a1562ff0f3
🔥 Remove deprecated giropay reference 2024-06-28 18:36:38 +02:00
Emili Castells Guasch
7be9a7751a Ensure express card button is not rendered when advanced card gateway is enabled 2024-06-28 17:20:16 +02:00
Emili Castells Guasch
0e6f6bfc97 Add unit tests 2024-06-28 16:28:57 +02:00
Emili Castells Guasch
43f4d15cea Extract disabled funding sources logic into a new class 2024-06-28 14:47:23 +02:00
Narek Zakarian
034d21da6f
Enable the gateway settings JS file on connection tab. 2024-06-28 16:04:23 +04:00
Philipp Stracker
2e07b0f6c0
🚨 Fix reported CI error 2024-06-28 11:47:05 +02:00
Emili Castells Guasch
a08ce87839 Ensure shipping callback is removed from venmo button 2024-06-28 11:27:34 +02:00
Philipp Stracker
f606b87c85
💄 Complete rewrite of the preview box styling
Original styling designed for one use case (variable number of buttons, floating on the far right side).

Meanwhile we have multiple preview boxes, displaying, a fixed or variable amount of buttons; some preview boxes are also positioned inside a “frame” that requires custom padding and responsive checks.
2024-06-27 19:42:39 +02:00
Philipp Stracker
d1318d7247
Add preview button eligibility check 2024-06-27 18:32:31 +02:00
Philipp Stracker
d2f0cb1c31
♻️ Consolidate preview-HTML in a new setting type 2024-06-27 18:01:06 +02:00
Philipp Stracker
dcd8307118
♻️ Optional init value for trigger selector 2024-06-26 18:54:09 +02:00
Philipp Stracker
4c10c37782
♻️ Extract button-refresh logic to own helper file
- Exrtract repeat event-init logic to new helper file
- Remove the jQuery dependency
2024-06-26 18:16:54 +02:00
Philipp Stracker
5ed2f37bd4
Listeners for custom “refresh button” event 2024-06-26 17:57:45 +02:00
Philipp Stracker
25c5ef2e9e
New helper to monitor multistep checkout forms
The new script adds an interval to monitor the visibility of the “woocommerce-checkout-payment” element to initialize payment buttons with a delay, if needed.
2024-06-26 17:56:48 +02:00
Philipp Stracker
4214821eb1
🔥 Remove unused dependencies
Left overs from PCP-3179
2024-06-25 16:40:05 +02:00
Narek Zakarian
8d48e7ffff
Log the error if problem getting tracking info 2024-06-25 18:39:23 +04:00
Philipp Stracker
f95bf333df
🐛 Load the preview button logic on Pay Later tab 2024-06-25 16:38:27 +02:00
Emili Castells
167c2c6883
Merge pull request #2368 from woocommerce/release/2.8.1-rc1
Release 2.8.1-rc1
2024-06-25 15:00:18 +02:00
Emili Castells Guasch
cade517527 Update changelog 2024-06-25 14:48:39 +02:00
Narek Zakarian
d36e230f78
Merge branch 'trunk' into PCP-3314-pay-pal-package-tracking-not-to-break-orders-screen-when-there-is-an-exception-for-package-tracking 2024-06-25 16:27:36 +04:00
Narek Zakarian
b1ec5e3d8f
Add logger 2024-06-25 16:23:57 +04:00
Emili Castells Guasch
be0eaca175 Bump 2.8.1-rc1 version 2024-06-25 14:13:10 +02:00
Emili Castells
fb4f4cb753
Merge pull request #2360 from woocommerce/PCP-3289-could-not-retrieve-order-error-in-package-tracking-metabox-breaking-wc-order
Don't render tracking metaBox if can't retrieve PayPal order (3289)
2024-06-25 14:01:00 +02:00
Philipp Stracker
9bdd9b5c16
💄 Fix the Apple Pay button layout
“White with outline” correctly displays the outline
2024-06-25 13:09:36 +02:00
Philipp Stracker
0e6e079e40
💄 Fix Google Pay button style
Make the outline of the payment button visible
2024-06-25 12:52:33 +02:00
Emili Castells Guasch
429e7b99a4 Remove card fields test for now 2024-06-22 16:51:56 +02:00
Emili Castells Guasch
d3cad1105a Add test for checkout handler component 2024-06-22 16:11:00 +02:00
Emili Castells Guasch
986918f86b Add test for checkout handler component 2024-06-22 15:53:46 +02:00
Emili Castells Guasch
ddcdf67816 Add babel and jest config 2024-06-22 15:37:01 +02:00
Emili Castells Guasch
b68e0a6eb5 Add react testing library 2024-06-22 12:32:36 +02:00
Danny Dudzic
71eef44539
Merge pull request #2358 from woocommerce/PCP-3295-billing-details-for-guest-user-on-short-checkout-greyed-out-and-payment-not-possible-when-fastlane-enabled
AXO: Disable Fastlane for subscription products (3295)
2024-06-21 14:34:16 +02:00
Danny Dudzic
e2346baeec
Merge pull request #2351 from woocommerce/PCP-3249-fastlane-improve-checkout-fields-layout-in-ryan-flow
AXO: Fix the layout with the Twenty Twenty-Four theme (3249)
2024-06-21 14:33:51 +02:00
Emili Castells
b40b1d2056
Merge pull request #2362 from woocommerce/PCP-3300-server-500-error-when-adding-to-cart-1-product-if-pcp-is-activated
2.8.1-alpha1 - Server 500 error when adding to cart >1 product if PCP is activated (3300)
2024-06-20 17:02:39 +02:00
Emili Castells Guasch
67074a6c9f Ensure subscriptions mode setting exist 2024-06-20 15:07:34 +02:00
Emili Castells Guasch
1d0d4d21ad Ensure subscriptions mode setting exist 2024-06-20 15:06:35 +02:00
Narek Zakarian
13b2f30edc
Improve docs 2024-06-19 20:23:51 +04:00
Narek Zakarian
5fbfba61c6
Fix the coding styles 2024-06-19 20:17:02 +04:00
Narek Zakarian
17030cae12
Don't render tracking metaBox if can't retrieve PayPal order 2024-06-19 20:02:31 +04:00
Daniel Dudzic
1e69a36e6e
Disable AXO for subscription products 2024-06-19 14:19:38 +02:00
Daniel Dudzic
b05c59c59e
AXO: Add col-1 class to fix layout on the Twenty Twenty-Four theme 2024-06-17 14:47:03 +02:00
Emili Castells
ba77510e2e
Merge pull request #2346 from woocommerce/PCP-3181-place-order-button-not-visible-with-advanced-card-processing
Add filter for adding more contexts in can_render_dcc checker
2024-06-17 11:43:56 +02:00
Emili Castells
ac3b99d776
Merge pull request #2342 from woocommerce/PCP-3128-fastlane-gateway-appear-in-unfunctional-state-if-pay-pal-checkout-button-location-is-disabled
AXO: Disable Fastlane when ACDC is disabled (3128)
2024-06-17 09:31:31 +02:00
Emili Castells
f5803f1c99
Merge pull request #2325 from woocommerce/PCP-3179-apple-pay-google-pay-buttons-no-longer-visible-in-standard-payments-button-previews-after-moving-them-to-advanced-card-processing-tab
Apple Pay & Google Pay buttons no longer visible in Standard Payments button previews after moving them to Advanced Card Processing tab (3179)
2024-06-17 09:30:47 +02:00
Emili Castells Guasch
7fd0d2e431 Add package script for running js tests and regenerate yarn.lock 2024-06-16 10:36:19 +02:00