You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: improve settings descriptions and UI consistency
- Update API Key Mode description to match PrestaShop
- Improve Account ID and API Key descriptions
- Change Pre-Authorize from checkbox to select dropdown with Sale/Authorization options
- Add line breaks to Payment Action and Log Level descriptions for better readability
- Standardize 'Recommended' labels across settings
- Remove desc_tip to show descriptions below fields instead of tooltips
- Add hint for Credit Card redirect flow
- Match PrestaShop setting descriptions for consistency
Copy file name to clipboardExpand all lines: includes/admin/monei-cc-settings.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@
36
36
'type' => 'checkbox',
37
37
'label' => __( 'This will redirect the customer to the Hosted Payment Page.', 'monei' ),
38
38
'default' => 'no',
39
-
'description' => sprintf( __( 'If disabled the credit card input will be rendered directly on the checkout page.', 'monei' ) ),
39
+
'description' => __( 'If disabled the credit card input will be rendered directly on the checkout page. It is recommended to enable redirection in cases where card payments do not function correctly.', 'monei' ),
'description' => __( "Place a hold on the funds when the customer authorizes the payment, but don't capture the funds until later. Only works with payment methods that support authorization (Credit Card, PayPal).<br>You can capture the payment by changing order status to <strong>Completed</strong> or <strong>Processing</strong>.<br>You can cancel the payment by changing order to <strong>Cancelled</strong> or <strong>Refunded</strong>.", 'monei' ),
100
-
'default' => 'no',
101
-
'id' => 'monei_pre_authorize',
91
+
'title' => __( 'Payment Action', 'monei' ),
92
+
'type' => 'select',
93
+
'desc' => __( 'Choose payment flow: Immediate charge or Pre-authorization.<br>Pre-authorization is supported for: Card, Apple Pay, Google Pay, PayPal.<br>Not supported for: MBWay, Multibanco.', 'monei' ),
'desc' => __( 'Set minimum log level. Only messages at or above this level will be logged. Logs are available in WooCommerce > Status > Logs > Select MONEI Logs. WARNING: INFO level may impact performance.', 'monei' ),
107
-
'desc_tip' => false,
108
-
'id' => 'monei_log_level',
109
-
'default' => '3',
110
-
'options' => array(
102
+
'title' => __( 'Log Level', 'monei' ),
103
+
'type' => 'select',
104
+
'desc' => __( 'Set minimum log level. Only messages at or above this level will be logged.<br>Logs are available in WooCommerce > Status > Logs > Select MONEI Logs.<br>WARNING: INFO level may impact performance.', 'monei' ),
0 commit comments