Commit graph

5718 commits

Author SHA1 Message Date
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
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
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
fa76f1a73c
Merge pull request #2289 from woocommerce/PCP-3185-package-tracking-integration-throws-error-in-2-7-1
Fix the package tracking integration throws error in 2.7.1 (3185)
2024-05-31 14:10:26 +02:00
Emili Castells
44ef6e3249
Merge pull request #2278 from woocommerce/PCP-2830-paypal-button-on-block-checkout-page-is-displayed-even-express-checkout-is-removed-from-smart-button-location
Fix the Smart Buttons in Block Checkout not respecting the location setting (2830)
2024-05-31 12:38:02 +02:00
Emili Castells
805866602e
Merge pull request #2265 from woocommerce/PCP-2556-same-pay-pal-subscription-product-can-be-added-to-the-cart-multiple-times
Make PayPal Subscription products unique in cart (2556)
2024-05-31 09:49:22 +02:00
Narek Zakarian
5bb240bb9a
Surround with the integrations try/catch to avoid errors 2024-05-30 17:26:44 +04:00
Daniel Dudzic
653a99a242
Fix the Smart Buttons in Block Checkout not respecting the location setting (2830) 2024-05-30 14:44:29 +02:00
George Burduli
be95c3bb85
Fix setting 'sold individually' option 2024-05-30 15:25:18 +04:00
Emili Castells
cb74a719fc
Merge pull request #2273 from woocommerce/PCP-3160-google-pay-and-apple-pay-settings-button-from-connection-tab-have-wrong-links
Google Pay and Apple Pay Settings button from Connection tab have wrong links (3160)
2024-05-29 16:31:16 +02:00
Emili Castells
a0d0375ec0
Merge pull request #2271 from woocommerce/PCP-3131-improve-could-not-retrieve-order-error-message
Improve "Could not retrieve order" error message (3131)
2024-05-29 12:46:58 +02:00
Emili Castells
5b9057bb01
Merge pull request #2272 from woocommerce/PCP-3138-double-slash-in-messaging-configurator-script-path
double slash in messaging configurator script path (3138)
2024-05-29 12:46:21 +02:00
George Burduli
07d041fe1f
Replace update_metadata() with set_sold_individually() 2024-05-29 13:42:14 +04:00
George Burduli
cc2e121e2a
Remove whitespace 2024-05-29 11:48:41 +04:00
George Burduli
28257e3e38
Move function to appropriate place 2024-05-29 11:15:44 +04:00
Danae Millan
0cc4e1f9ce woorelease: Product version bump update 2024-05-29 01:55:24 +02:00
Philipp Stracker
639ced5c91
🩹 Fix incorrect links to AP/GP payment settings
The settings button for Apple Pay and Google Pay now directs users to the correct tab and section.
2024-05-28 16:41:33 +02:00
George Burduli
9db695af75
Disable 'Sold Individually' checkbox 2024-05-28 16:49:41 +04:00
George Burduli
47e6b8d281
Check 'sold individually' option on product save if ppcp subscription is active 2024-05-28 16:26:00 +04:00
George Burduli
cf77c37d69
Replace get_post_meta() with get_meta() for future-proofing 2024-05-28 15:57:13 +04:00
Philipp Stracker
94259b6bca
Fix asset URL double-slash in PayLater settings
Refactored service return value to align with plugin-wide convention: unslashed folder path with slash-prefixed relative file path.
2024-05-27 18:28:05 +02:00
Philipp Stracker
63300d9412
Change error message to standard WooCommerce copy 2024-05-27 16:41:37 +02:00
Emili Castells
ed3a48e520
Merge pull request #2267 from woocommerce/release/2.7.1-rc6
Release 2.7.1-rc6
2024-05-27 16:13:42 +02:00
Emili Castells Guasch
286be5724f Update changelog 2024-05-27 15:59:52 +02:00
Emili Castells
b54bb7f807
Merge pull request #2266 from woocommerce/PCP-3177-shipping-callback-doesnt-work-in-2-7-1-rc-5
Enable the Shipping Callback handlers (3177)
2024-05-27 15:57:50 +02:00
Narek Zakarian
802c13cf8e
Enable the Shipping Callback handlers 2024-05-27 17:46:02 +04:00
George Burduli
34acb8ce80
Fix Psalm, phpcs errors 2024-05-27 17:07:31 +04:00
George Burduli
f42814fc1d
Remove test string 2024-05-27 17:01:52 +04:00
George Burduli
9b3febfdeb
Make PayPal Subscription products unique in cart 2024-05-27 16:57:07 +04:00
Niklas Gutberlet
f3d7640480
Merge pull request #2255 from woocommerce/PCP-3161-2-7-1-the-arrow-of-the-express-button-doesnt-display-the-dropdown-menu-2254
Do not add shipping handlers when the "final confirmation" is checked
2024-05-22 19:39:05 +02:00
Narek Zakarian
796196bbbe
Remove unnecessary console log 2024-05-22 21:14:36 +04:00
Narek Zakarian
8301da1550
Do not add shipping handlers when option is checked 2024-05-22 21:02:42 +04:00
Emili Castells
5e2218685c
Merge pull request #2252 from woocommerce/release/2.7.1-rc4
Release 2.7.1-rc4
2024-05-22 13:12:45 +02:00
Emili Castells Guasch
9648e0a3ce Update changelog 2024-05-22 12:49:43 +02:00
Emili Castells
bd7980d62c
Merge pull request #2251 from woocommerce/PCP-3158-update-apple-developer-merchantid-domain-association-certificate
Update the apple-developer-merchantid-domain-association validation strings for Apple Pay (3158)
2024-05-22 12:47:14 +02:00
Emili Castells
d95adc65fa
Merge pull request #2249 from woocommerce/PCP-3139-improve-loading-saved-settings-in-pay-later-messaging-configurator
Pay Later messaging configurator sometimes displays old settings after saving (3139)
2024-05-22 12:46:42 +02:00
Daniel Dudzic
5d30ac1349
Update the Apple validation string 2024-05-22 11:05:38 +02:00
Daniel Dudzic
3b59c44234
PayLater Configurator: Add data fetching for the config on the client side 2024-05-21 21:35:27 +02:00
Niklas Gutberlet
2986500a96
Merge pull request #2248 from woocommerce/PCP-3157-unsuccessfully-payment-with-standard-card-button-gateway
Fix standard card button gateway + shipping callback conflict
2024-05-21 19:35:09 +02:00
Narek Zakarian
43f938f0a4
Fix payment with standard card button gateway + shipping callback 2024-05-21 20:48:13 +04:00
Emili Castells
06d80325c9
Merge pull request #2240 from woocommerce/release/2.7.1-rc2-v2
Release 2.7.1-rc2
2024-05-17 17:09:57 +02:00
Emili Castells Guasch
cb3e2639d0 Update changelog 2024-05-17 16:58:07 +02:00
Emili Castells
be0506ada6
Merge pull request #2238 from woocommerce/PCP-3130-randomizer-for-shipping-callback
Randomizer for shipping callback (3130)
2024-05-17 16:42:52 +02:00
Narek Zakarian
572b1eb0bc
Add filter to disable/enable the checkbox 2024-05-17 18:12:14 +04:00
Narek Zakarian
d7b513ec02
Merge branch 'trunk' into PCP-3130-randomizer-for-shipping-callback 2024-05-17 18:10:37 +04:00
Emili Castells
22dd86074b
Merge pull request #2237 from woocommerce/PCP-2815-allow-shipping-callback-and-skipping-confirmation-page-from-any-express-button
Add settings message
2024-05-17 16:09:45 +02:00
Narek Zakarian
81ac6ced36
Merge branch 'trunk' into PCP-3130-randomizer-for-shipping-callback 2024-05-17 18:07:45 +04:00
Narek Zakarian
4ab2c0ff48
Add filter to on and off the toggle 2024-05-17 18:07:06 +04:00
Narek Zakarian
be071e2101
Add settings message 2024-05-17 17:35:11 +04:00