From f85b5b8b197b0bc4944fafb063b280eea34c1b4f Mon Sep 17 00:00:00 2001 From: leon-zhang-awx Date: Mon, 6 May 2024 17:18:42 +0800 Subject: [PATCH] Update display text in admin page to improve user clarity --- etc/adminhtml/system/card.xml | 5 ++-- etc/adminhtml/system/express.xml | 29 ++++++++++++--------- etc/adminhtml/system/express/apple_pay.xml | 4 +-- etc/adminhtml/system/express/google_pay.xml | 14 +++++----- 4 files changed, 28 insertions(+), 24 deletions(-) diff --git a/etc/adminhtml/system/card.xml b/etc/adminhtml/system/card.xml index 91a3f16..a2ca816 100644 --- a/etc/adminhtml/system/card.xml +++ b/etc/adminhtml/system/card.xml @@ -19,7 +19,8 @@ - + + Enable Credit Card Magento\Config\Model\Config\Source\Yesno payment/airwallex_payments_card/active @@ -29,7 +30,7 @@ payment/airwallex_payments_card/title - + Airwallex\Payments\Model\Config\Source\PaymentAction payment/airwallex_payments_card/airwallex_payment_action diff --git a/etc/adminhtml/system/express.xml b/etc/adminhtml/system/express.xml index 88c0f12..9a2bfc8 100644 --- a/etc/adminhtml/system/express.xml +++ b/etc/adminhtml/system/express.xml @@ -7,22 +7,16 @@ - + + + + Magento\Config\Model\Config\Source\Yesno payment/airwallex_payments_express/active - - - Airwallex\Payments\Model\Config\Source\PaymentAction - payment/airwallex_payments_express/airwallex_payment_action - - 1 - - - + Airwallex\Payments\Model\Config\Source\Express\DisplayArea payment/airwallex_payments_express/display_area @@ -31,15 +25,24 @@ - + - + payment/airwallex_payments_express/seller_name 1 + + + Airwallex\Payments\Model\Config\Source\PaymentAction + payment/airwallex_payments_express/airwallex_payment_action + + 1 + + diff --git a/etc/adminhtml/system/express/apple_pay.xml b/etc/adminhtml/system/express/apple_pay.xml index de851df..4a34450 100644 --- a/etc/adminhtml/system/express/apple_pay.xml +++ b/etc/adminhtml/system/express/apple_pay.xml @@ -3,12 +3,12 @@ - + Airwallex\Payments\Model\Config\Source\Express\ApplePay\ButtonTheme payment/airwallex_payments_express/apple_pay_button_theme - + Airwallex\Payments\Model\Config\Source\Express\ApplePay\ButtonType payment/airwallex_payments_express/apple_pay_button_type diff --git a/etc/adminhtml/system/express/google_pay.xml b/etc/adminhtml/system/express/google_pay.xml index 01dd136..64ce419 100644 --- a/etc/adminhtml/system/express/google_pay.xml +++ b/etc/adminhtml/system/express/google_pay.xml @@ -3,19 +3,19 @@ - + Airwallex\Payments\Model\Config\Source\Express\GooglePay\ButtonTheme payment/airwallex_payments_express/google_pay_button_theme - + Airwallex\Payments\Model\Config\Source\Express\GooglePay\ButtonType payment/airwallex_payments_express/google_pay_button_type - - - validate-number - payment/airwallex_payments_express/google_pay_sort_order - + + + + +