Commit graph

102 commits

Author SHA1 Message Date
George Burduli
49faab654a
Prevent enabling Standard Card Button when ACDC is enabled 2024-07-10 09:23:04 +04: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
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
d2f0cb1c31
♻️ Consolidate preview-HTML in a new setting type 2024-06-27 18:01:06 +02:00
Philipp Stracker
c23129cb91
🐛 Render preview when enabling the button
Before this, the “is enabled” checkbox was not observed; enabling it did not cause a preview button to render, and required changing any other form field that was linked to the button

Also start to extract some logic to a new helper file.
2024-06-12 18:12:07 +02:00
Philipp Stracker
cdc98159b8
🔥 Remove unused import 2024-06-10 16:12:53 +02:00
Philipp Stracker
33c6c06e85
🐛 Fix button specific config-preparation 2024-06-07 15:42:16 +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
Daniel Dudzic
c6a775298a
Fastlane notice location and color changes 2024-05-16 23:59:03 +02:00
Daniel Dudzic
41ac4197ee
Force cart and block-cart button loctions when AXO is active (3091) 2024-05-15 14:42:40 +02:00
Daniel Dudzic
2adc7d1289
Update the AXO warning messages 2024-05-13 17:22:33 +02:00
Daniel Dudzic
1f3bc01526
Add the checkout detection notice to the AXO gateway settings 2024-05-10 02:07:51 +02:00
Daniel Dudzic
1f613567ed
Add the additional description to the Fastlane Privacy setting 2024-04-29 22:58:46 +02:00
Pedro Silva
c71c56973a
Implement AXO order processing
Implement AXO settings
2024-04-10 15:51:19 +01:00
Pedro Silva
9d2525ffcb
Fix admin ident styles 2024-02-16 15:04:36 +00:00
Pedro Silva
9fd69e7f55
Fix styles and behaviours on AXO module 2024-02-15 17:58:56 +00:00
Pedro Silva
ffb2de496d
Refactor AXO module 2024-02-14 18:17:03 +00:00
Pedro Silva
e71c34913f
Implement AXO settings 2024-02-13 14:37:50 +00:00
Pedro Silva
8e71665ec4
Add status message to feature availability reload. 2024-01-04 15:23:01 +00:00
Emili Castells
ea23d09010
Merge pull request #1900 from woocommerce/PCP-2177-uniform-smart-button-display-for-pay-pal-google-pay-and-apple-pay
Uniform Smart Button Display for PayPal, Google Pay, and Apple Pay (2177)
2023-12-14 09:56:11 +01:00
Pedro Silva
81f606912f
Adds nonce validation to refresh feature status request. 2023-12-12 18:12:48 +00:00
Pedro Silva
d2abeb5dbf
Add mechanism to refresh feature status. 2023-12-12 17:30:55 +00:00
Pedro Silva
46c575a401
Fix apm button styling 2023-12-07 18:20:58 +00:00
Alex P
2492957dba
Add block styling settings 2023-11-22 17:25:24 +02:00
Alex P
a3fec63153
Refactor preview id determination 2023-11-21 17:37:41 +02:00
Emili Castells
af638334ae
Merge pull request #1827 from woocommerce/PCP-1771-separate-card-button-style
Add Standard Card Button gateway styling settings & preview (1771)
2023-11-21 15:03:31 +01:00
Pedro Silva
3a39bccc54
Add ApplePay checkout data mode settings option.
Refactor admin indentation.
2023-11-08 18:07:19 +00:00
Alex P
6c933e52c3
Add card button preview 2023-11-08 10:57:49 +02:00
Alex P
c72a335cdd
Hide card button in previews when has acdc or separate gateway 2023-11-08 09:46:52 +02:00
Narek Zakarian
ad7de79b38
Check if language selector exists 2023-10-31 19:48:48 +04:00
Narek Zakarian
7b02136f51
handle live preview for smart button language 2023-10-31 19:36:06 +04:00
Emili Castells
c07e8eaa87
Merge pull request #1719 from woocommerce/PCP-2006-google-pay-settings-improvements
Google Pay Settings improvements (2006)
2023-10-17 14:24:57 +02:00
Alex P
7da5d8d68a
Simplify message wrapper rendering and add shop, home locations 2023-10-16 21:41:17 +03:00
Alex P
e867488ee2
Fix message previews 2023-10-16 18:36:23 +03:00
Pedro Silva
b38658aeeb
Fix GooglePay preview rendering race condition. 2023-10-16 15:32:25 +01:00
Pedro Silva
8750cc01cc
Commented console logs in DisplayManager 2023-10-16 09:59:17 +01:00
Pedro Silva
ad018766a6
Merge branch 'trunk' into PCP-2006-google-pay-settings-improvements 2023-09-21 16:10:28 +01:00
Pedro Silva
08d8cded5b
Add GooglePlay preview in admin settings. 2023-09-21 11:58:51 +01:00
Pedro Silva
3c98f0d430
Fix hide/show method for SubElementsHandler 2023-09-18 09:32:19 +01:00
Pedro Silva
71fc53f495
Add admin display rules adjustments 2023-09-18 08:54:54 +01:00
Pedro Silva
e31e09f0c7
Refactor DisplayManager for admin field display rules centralization. 2023-09-15 17:32:00 +01:00
Pedro Silva
0cddf83b9d
Add FieldDisplayManager.
Refactor admin field show/hide.
2023-09-14 17:48:46 +01:00
Emili Castells
104aa3b22a
Merge pull request #1588 from woocommerce/PCP-1926-improve-invalid-currency-backend-notice
improve invalid currency backend notice (1926)
2023-09-04 17:17:08 +02:00
Pedro Silva
d41a51fa63
Add handler support for settings fields
Add settings SubElementsHandler
2023-08-30 16:57:06 +01:00
Pedro Silva
1b87257fdb
Refactor unsupported currency notice to show only on payment pages and under the PayPal plugin. 2023-08-11 10:35:50 +01:00
Pedro Silva
9434a84301
Fix set paypal object to widgetBuilder on preview buttons 2023-07-26 15:21:31 +01:00
Alex P
3439f67ec9
Do not send buyer-country for previews in live mode to avoid error 2023-02-14 11:25:23 +02:00
Narek Zakarian
eb080c9275
Merge branch 'trunk' into PCP-1083-update-standard-payments-tab-settings 2022-12-20 19:37:51 +04:00
Narek Zakarian
c54c42a46d
Fix preview overlapping 2022-12-20 19:24:58 +04:00