<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Agence de Développement Informatique du Nord &#187; payment method</title>
	<atom:link href="http://blog.adin.pro/tag/payment-method/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adin.pro</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Thu, 26 Dec 2019 08:54:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>Magento &#8211; where is calculated available payment method ?</title>
		<link>http://blog.adin.pro/2018-12-28/magento-where-is-calculated-available-payment-method/</link>
		<comments>http://blog.adin.pro/2018-12-28/magento-where-is-calculated-available-payment-method/#comments</comments>
		<pubDate>Fri, 28 Dec 2018 14:12:41 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[payment method]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=575</guid>
		<description><![CDATA[<p>Available payment method for your order is calculated here : src/src/app/code/core/Mage/Payment/Helper/Data.php::getStoreMethods() And call src/src/app/code/core/Mage/Payment/Model/Method/Abstract.php::isAvailable() &#038;&#038; isApplicableToQuote()</p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2018-12-28/magento-where-is-calculated-available-payment-method/">Magento &#8211; where is calculated available payment method ?</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Available payment method for your order is calculated here :<br />
 src/src/app/code/core/Mage/Payment/Helper/Data.php::getStoreMethods()</p>
<p>And call<br />
 src/src/app/code/core/Mage/Payment/Model/Method/Abstract.php::isAvailable() &#038;&#038; isApplicableToQuote()</p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2018-12-28/magento-where-is-calculated-available-payment-method/">Magento &#8211; where is calculated available payment method ?</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2018-12-28/magento-where-is-calculated-available-payment-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento &#8211; All payment methods</title>
		<link>http://blog.adin.pro/2018-08-29/magento-all-payment-methods/</link>
		<comments>http://blog.adin.pro/2018-08-29/magento-all-payment-methods/#comments</comments>
		<pubDate>Wed, 29 Aug 2018 08:43:40 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[payment method]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=572</guid>
		<description><![CDATA[<p>Is there a function to get all available payment methods in magento ? YES app/code/core/Mage/Payment/Model/Config.php</p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2018-08-29/magento-all-payment-methods/">Magento &#8211; All payment methods</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Is there a function to get all available payment methods in magento ? YES</p>
<p>app/code/core/Mage/Payment/Model/Config.php</p>
<pre class="brush: php; title: ; notranslate">
public function getActiveMethods($store=null)
    {
        $methods = array();
        $config = Mage::getStoreConfig('payment', $store);
        foreach ($config as $code =&gt; $methodConfig) {
            if (Mage::getStoreConfigFlag('payment/'.$code.'/active', $store)) {
                if (array_key_exists('model', $methodConfig)) {
                    $methodModel = Mage::getModel($methodConfig['model']);
                    if ($methodModel &amp;&amp; $methodModel-&gt;getConfigData('active', $store)) {
                        $methods[$code] = $this-&gt;_getMethod($code, $methodConfig);
                    }
                }
            }
        }
        return $methods;
    }
</pre>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2018-08-29/magento-all-payment-methods/">Magento &#8211; All payment methods</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2018-08-29/magento-all-payment-methods/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>magento get payment method from order</title>
		<link>http://blog.adin.pro/2018-02-06/magento-get-payment-method-from-order/</link>
		<comments>http://blog.adin.pro/2018-02-06/magento-get-payment-method-from-order/#comments</comments>
		<pubDate>Tue, 06 Feb 2018 07:31:22 +0000</pubDate>
		<dc:creator><![CDATA[blogadmin]]></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[payment method]]></category>

		<guid isPermaLink="false">http://blog.adin.pro/?p=552</guid>
		<description><![CDATA[<p>To get payment method from an order, you can do this :</p>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2018-02-06/magento-get-payment-method-from-order/">magento get payment method from order</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>To get payment method from an order, you can do this :</p>
<pre class="brush: php; title: ; notranslate">
$order-&gt;getPayment()-&gt;getMethodInstance()-&gt;getCode();
</pre>
<p>The post <a rel="nofollow" href="http://blog.adin.pro/2018-02-06/magento-get-payment-method-from-order/">magento get payment method from order</a> appeared first on <a rel="nofollow" href="http://blog.adin.pro">Agence de Développement Informatique du Nord</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.adin.pro/2018-02-06/magento-get-payment-method-from-order/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
