<?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>Jared Harrington &#187; Magento</title>
	<atom:link href="http://jared-harrington.com/category/magento/feed/" rel="self" type="application/rss+xml" />
	<link>http://jared-harrington.com</link>
	<description>Random collection of PHP, jQuery, and MySQL</description>
	<lastBuildDate>Thu, 31 Mar 2016 20:26:28 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.8.41</generator>
	<item>
		<title>Magento change order invoice status at your whim</title>
		<link>http://jared-harrington.com/magento-change-order-invoice-status-at-your-whim/</link>
		<comments>http://jared-harrington.com/magento-change-order-invoice-status-at-your-whim/#comments</comments>
		<pubDate>Tue, 30 Oct 2012 16:35:21 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://jared-harrington.com/?p=34</guid>
		<description><![CDATA[This was a huge problem for our customer service team and ultimately it&#8217;s a simple fix. Although you need to be careful depending on how your card processing is setup, etc. In Magento 1.6.2.0+ On line 34 change: &#60;?php foreach &#40;$this-&#62;getStatuses&#40;&#41; as $_code=&#62;$_label&#41;: ?&#62; To: &#60;?php foreach &#40;Mage::getSingleton&#40;'sales/order_config'&#41;-&#62;getStatuses&#40;&#41; as $_code=&#62;$_label&#41;: ?&#62; Shamelessly reposted from here [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>This was a huge problem for our customer service team and ultimately it&#8217;s a simple fix. Although you need to be careful depending on how your card processing is setup, etc.</p>
<p>In Magento 1.6.2.0+<br />
On line 34 change:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getStatuses</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$_code</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$_label</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>
To:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span>Mage<span style="color: #339933;">::</span><span style="color: #004000;">getSingleton</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'sales/order_config'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getStatuses</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$_code</span><span style="color: #339933;">=&gt;</span><span style="color: #000088;">$_label</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span> <span style="color: #000000; font-weight: bold;">?&gt;</span></pre></td></tr></table></div>

<p>
Shamelessly reposted from <a href="http://www.magentocommerce.com/boards/viewthread/9976/">here</a> with credit to RamRamM.</p>
]]></content:encoded>
			<wfw:commentRss>http://jared-harrington.com/magento-change-order-invoice-status-at-your-whim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento Paypal Payflow Pro not being able to refund line items</title>
		<link>http://jared-harrington.com/magento-paypal-payflow-pro-not-being-able-to-refund-line-items/</link>
		<comments>http://jared-harrington.com/magento-paypal-payflow-pro-not-being-able-to-refund-line-items/#comments</comments>
		<pubDate>Fri, 19 Oct 2012 17:52:51 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Payflow Pro]]></category>
		<category><![CDATA[Paypal]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://jared-harrington.com/?p=19</guid>
		<description><![CDATA[If you are using Magento 1.7 and Paypal&#8217;s Payflow Pro you might have noticed that it does not let you refund line items on orders like you can do with other processors. Each processor class in Magento has a list of variables that define what it can and can&#8217;t do. For some reason Payflow Pro [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>If you are using Magento 1.7 and Paypal&#8217;s Payflow Pro you might have noticed that it does not let you refund line items on orders like you can do with other processors. Each processor class in Magento has a list of variables that define what it can and can&#8217;t do. For some reason Payflow Pro does not have <code>$_canRefundInvoicePartial</code> enabled. This variable controls whether or not you can refund line items on an order. With it disabled your ability to issue refunds via a Credit Memo is severely limited. You are reduced to using convoluted math via the Adjustment field and the customer can&#8217;t see which items were refunded.</p>
<p>Fortunately the fix is fairly simple. First make sure your Payflow Pro account has reference transactions enabled. Then you&#8217;ll want to copy Payflow Pro payment class to your local directory. It is found in: <code>/app/code/core/Mage/Paypal/Model/Payflowpro.php</code></p>
<p>After line 90 add</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="php" style="font-family:monospace;">    <span style="color: #000000; font-weight: bold;">protected</span> <span style="color: #000088;">$_canRefundInvoicePartial</span> <span style="color: #339933;">=</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">;</span></pre></td></tr></table></div>

<p>That&#8217;s it, you&#8217;re done. You can now use Credit Memos as they&#8217;re described in Magento&#8217;s own documentation. Simple select the Qty of the item to refund and click Refund.</p>
]]></content:encoded>
			<wfw:commentRss>http://jared-harrington.com/magento-paypal-payflow-pro-not-being-able-to-refund-line-items/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
