getConfigData('token'); if ($token === '' || strlen($token) !== 44) { // Hide the payment method $r = false; } } return $r; } }