Commit graph

6013 commits

Author SHA1 Message Date
Philipp Stracker
ab0f25ffd7
🔀 Merge branch 'trunk' 2024-06-07 21:16:40 +02:00
Philipp Stracker
6f73e82d3e
Preview buttons can be static
When the current page does not contain any edit-fields for the current APM preview button, it enters “static” mode. Static buttons ignore most update requests, and render as they were defined during page load
2024-06-07 21:14:12 +02:00
Philipp Stracker
93f3e4e7ac
🦺 Add check for config that causes infinite loop 2024-06-07 21:12:34 +02:00
Emili Castells
a08f70bf95
Merge pull request #2324 from woocommerce/release/2.8.0-rc4
Release 2.8.0-rc4
2024-06-07 16:33:17 +02:00
Emili Castells Guasch
1c515d7f1a Update changelog 2024-06-07 16:24:24 +02:00
Emili Castells
c59c8cb911
Merge pull request #2323 from woocommerce/PCP-3213-credit-card-is-not-saved-when-subscription-product-is-bought-as-a-guest-acdc-block
ACDC Block - Credit card is not saved when subscription product is bought as a guest (3213)
2024-06-07 16:19:20 +02:00
Emili Castells
bf32d256ef
Merge pull request #2321 from woocommerce/PCP-3214-critical-error-on-pay-for-order-page-when-we-try-to-pay-with-acdc-gateway-new-or-saved-card
Critical error on pay for order page when we try to pay with ACDC gateway (3214)
2024-06-07 16:00:02 +02:00
Philipp Stracker
33c6c06e85
🐛 Fix button specific config-preparation 2024-06-07 15:42:16 +02:00
Philipp Stracker
da64ffbac5
Add preview button for Apple Pay on ACDC
Note: `phpcbf` adjusted whitespace in extensions.php
2024-06-07 15:00:15 +02:00
Emili Castells Guasch
ebccacf964 Ensure save payment method when subscription in cart 2024-06-07 14:50:09 +02:00
Philipp Stracker
a01f1ea77f
🔀 Merge branch 'trunk' 2024-06-07 12:32:32 +02:00
Philipp Stracker
c03f83f2e5
Add Google Pay preview button to ACP tab
Note: `phpcbf` adjusted tons of whitespace.
2024-06-07 12:28:49 +02:00
Philipp Stracker
b1cc83b238
🔥 Remove old preview button code comment 2024-06-07 12:23:35 +02:00
Philipp Stracker
93c6b40abc
♻️ Clean up the Google Pay preview button code 2024-06-07 12:23:03 +02:00
Philipp Stracker
180afaad89
♻️ Fix logic in preview button base classes
- Promise-based initialization is executed in correct order
- Support to redraw single APM type of button
- Fix the button style
- Simplify the PreviewButton code
2024-06-07 12:19:39 +02:00
Daniel Dudzic
457ac5a5cd
CSS clean up 2024-06-07 11:41:30 +02:00
Emili Castells Guasch
8f86945059 Get purchase units from order when in pay for order context 2024-06-07 10:46:03 +02:00
George Burduli
924aa18ddc
Fix psalm errors 2024-06-07 11:35:48 +04:00
George Burduli
7485a1d233
Only prevent multiple subscription products in cart if PayPal Subscriptions API is active 2024-06-07 11:32:18 +04:00
Daniel Dudzic
0a06a913e7
Refactor the code 2024-06-07 00:35:55 +02:00
Daniel Dudzic
0ba33e9bb8
Adding the spinner and overlay on top of the submit button 2024-06-06 16:08:30 +02:00
Emili Castells
120e76b46a
Merge pull request #2246 from woocommerce/PCP-2722-add-block-checkout-compatibility-to-advanced-card-processing
Add block Checkout compatibility to Advanced Card Processing (2722)
2024-06-06 09:53:45 +02:00
Daniel Dudzic
38fc9906b7
First attempt: Add a continue button next to the email input 2024-06-06 01:16:52 +02:00
Daniel Dudzic
1ff8ac6ade
Fix Psalm errors 2024-06-05 22:15:04 +02:00
Daniel Dudzic
144c8da3f6
Add Litespeed Cache and W3 Total Cache compatibility 2024-06-05 20:50:39 +02:00
Philipp Stracker
202f308850
🔀 Merge branch 'trunk' into PCP-3179-apple-pay-google-pay-buttons-no-longer-visible-in-standard-payments-button-previews-after-moving-them-to-advanced-card-processing-tab 2024-06-05 18:43:47 +02:00
Philipp Stracker
0b326fbaa9
🔥 Remove debug code 2024-06-05 18:40:01 +02:00
Philipp Stracker
d69fb5bc70
🐛 Load button preview JS on ACDC settings page
Renamed the DI service name; this service is only used in two places (APM modules), which were also updated.
2024-06-05 18:05:06 +02:00
Philipp Stracker
ebb1f6962f
♻️ Create generic base classes for preview buttons 2024-06-05 17:58:54 +02:00
Emili Castells
aa09869236
Merge pull request #2315 from woocommerce/release/2.8.0-rc2
Release 2.8.0-rc2
2024-06-05 16:52:17 +02:00
Emili Castells Guasch
08f0b42f1c Update changelog 2024-06-05 15:52:54 +02:00
Emili Castells
306db4c953
Merge pull request #2314 from woocommerce/PCP-3131-improve-could-not-retrieve-order-error-message
Improve "Could not retrieve order" error message (3131)
2024-06-05 15:49:11 +02:00
Emili Castells Guasch
76bcc99bc5 Rename method 2024-06-05 15:35:47 +02:00
Philipp Stracker
3c8144de42
🩹 Remove HTML from the error message
As outlined in the linked issue: HTML code is escaped by the exception handler, instead of displaying a clickable link.
2024-06-05 15:24:13 +02:00
Emili Castells
5e71f76b26
Merge pull request #2312 from woocommerce/fix/fatal-service-not-found-axo-smart-button-location-notice
Fix axo.smart-button-location-notice service not found
2024-06-05 12:13:47 +02:00
Emili Castells Guasch
c8b2f99e65 Fix axo.smart-button-location-notice service not found 2024-06-05 11:59:04 +02:00
Philipp Stracker
9342086f33
♻️ Refactor Google Pay preview button
Mainly, separate the preview code into three main parts:
- Configuration
- Button
- ButtonManager

Remove dependency from DOM structure
2024-06-04 22:10:37 +02:00
Emili Castells Guasch
559d0654a2 Show save card checkbox checked and disabled if subscription in cart 2024-06-04 18:17:33 +02:00
Emili Castells
048a5d75dd
Merge pull request #2310 from woocommerce/fastlane
Fastlane latest
2024-06-04 17:53:45 +02:00
Emili Castells Guasch
cb96f888a0 Add card icons component 2024-06-04 17:33:28 +02:00
Emili Castells Guasch
b64523f2a3 Remove wc subscriptions plugin check 2024-06-04 16:10:33 +02:00
Emili Castells Guasch
4ee33d5fd0 Merge trunk 2024-06-04 15:59:00 +02:00
Emili Castells
df0906d098
Merge pull request #2294 from woocommerce/PCP-3184-fastlane-and-acdc-gateways-visible-when-checkout-page-configuration-unsupported
AXO: Only enqueue Fastlane JS scripts on the WooCommerce checkout page (3184)
2024-06-04 11:08:21 +02:00
Daniel Dudzic
1bc7968e52
Add WPML compatibility to the settings 2024-06-03 17:49:00 +02:00
Philipp Stracker
d1a93a1b55
🎨 Isolate condition for preview buttons
This step makes it easier to refactor/update the logic in the next step.
2024-06-03 17:19:18 +02:00
Emili Castells Guasch
78794594a5 Merge branch 'trunk' into PCP-2722-add-block-checkout-compatibility-to-advanced-card-processing 2024-06-03 15:17:37 +02:00
Emili Castells
fe2fcd7089
Merge pull request #2306 from woocommerce/release/2.8.0-rc1
Release 2.8.0-rc1
2024-06-03 15:16:15 +02:00
Emili Castells Guasch
f4b34b6a32 Bump 2.7.1-rc1 version 2024-06-03 14:47:00 +02:00
Emili Castells Guasch
210d70a551 Return error type when catching submit eror 2024-06-03 14:32:51 +02:00
Emili Castells
a34ada2f12
Merge pull request #2296 from woocommerce/PCP-3133-unsuccessfully-payment-with-coupon-from-short-cart-when-require-final-confirmation-on-checkout-is-not-enabled
Calculate totals after adding shipping to include taxes (3133)
2024-06-03 14:26:17 +02:00