diff --git a/Model/Config/Source/Express/ApplePay/ButtonType.php b/Model/Config/Source/Express/ApplePay/ButtonType.php index ed83c49..f4c1c79 100644 --- a/Model/Config/Source/Express/ApplePay/ButtonType.php +++ b/Model/Config/Source/Express/ApplePay/ButtonType.php @@ -39,10 +39,10 @@ public function toOptionArray() 'value' => 'order', 'label' => __('Order') ], - [ - 'value' => 'plain', - 'label' => __('Plain') - ], + // [ + // 'value' => 'plain', + // 'label' => __('Plain') + // ], [ 'value' => 'reload', 'label' => __('Reload') diff --git a/Model/Config/Source/Express/GooglePay/ButtonType.php b/Model/Config/Source/Express/GooglePay/ButtonType.php index 07f5bf3..48ca704 100644 --- a/Model/Config/Source/Express/GooglePay/ButtonType.php +++ b/Model/Config/Source/Express/GooglePay/ButtonType.php @@ -35,10 +35,10 @@ public function toOptionArray() 'value' => 'pay', 'label' => __('Pay') ], - [ - 'value' => 'plain', - 'label' => __('Plain') - ], + // [ + // 'value' => 'plain', + // 'label' => __('Plain') + // ], [ 'value' => 'subscribe', 'label' => __('Subscribe') diff --git a/etc/adminhtml/system/card.xml b/etc/adminhtml/system/card.xml index a2ca816..abab642 100644 --- a/etc/adminhtml/system/card.xml +++ b/etc/adminhtml/system/card.xml @@ -19,7 +19,7 @@ - + Enable Credit Card Magento\Config\Model\Config\Source\Yesno payment/airwallex_payments_card/active diff --git a/etc/adminhtml/system/express.xml b/etc/adminhtml/system/express.xml index 9a2bfc8..ac64397 100644 --- a/etc/adminhtml/system/express.xml +++ b/etc/adminhtml/system/express.xml @@ -7,7 +7,7 @@ - + @@ -43,7 +43,7 @@ 1 - + diff --git a/view/frontend/web/css/airwallex_payment.css b/view/frontend/web/css/airwallex_payment.css index d65c003..795a175 100644 --- a/view/frontend/web/css/airwallex_payment.css +++ b/view/frontend/web/css/airwallex_payment.css @@ -84,3 +84,13 @@ #co-payment-form .airwallex-express-checkout .express-title { display: block; } + +@media screen and (min-width: 768px) { + @media (min-width: 769px), print { + .box-tocart .airwallex-express-checkout { + margin-bottom: 15px; + width: 49%; + min-width: 240px; + } + } +} \ No newline at end of file