diff --git a/Gateway/Config/Config.php b/Gateway/Config/Config.php
index <HASH>..<HASH> 100755
--- a/Gateway/Config/Config.php
+++ b/Gateway/Config/Config.php
@@ -18,6 +18,7 @@
 namespace CheckoutCom\Magento2\Gateway\Config;
 
 use CheckoutCom\Magento2\Gateway\Config\Loader;
+use Magento\Payment\Model\MethodInterface;
 
 /**
  * Class Config
@@ -280,7 +281,7 @@ class Config
      */
     public function needsAutoCapture()
     {
-        return ($this->getValue('payment_action') == 'authorize_capture'
+        return ($this->getValue('payment_action') == MethodInterface::ACTION_AUTHORIZE_CAPTURE
         || (bool) $this->getValue('mada_enabled', 'checkoutcom_card_payment') === true);
     }
Updated a payment action value check