<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Add payment method handling cost</title>
	<atom:link href="http://www.candesprojects.com/magento/add-payment-method-handling-cost/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.candesprojects.com/magento/add-payment-method-handling-cost/</link>
	<description>Howdy! I&#039;m a UX &#38; UI consultant and Magento &#38; Drupal developer. Here you can find my thoughts and ideas. Feel free to look around and if you need my advice or services</description>
	<lastBuildDate>Mon, 06 Feb 2012 10:31:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Fredrik</title>
		<link>http://www.candesprojects.com/magento/add-payment-method-handling-cost/comment-page-1/#comment-1017</link>
		<dc:creator>Fredrik</dc:creator>
		<pubDate>Tue, 09 Aug 2011 17:20:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.candesprojects.com/?p=862#comment-1017</guid>
		<description>I can&#039;t get this to work. It seems to fail at $order-&gt;setShippingAmount( $shipping_amount + $MyPaymentMethod-&gt;getPostHandlingCost() );.
Is this way still possible with 1.4.1.1? Thanks for the head start though.</description>
		<content:encoded><![CDATA[<p>I can&#8217;t get this to work. It seems to fail at $order-&gt;setShippingAmount( $shipping_amount + $MyPaymentMethod-&gt;getPostHandlingCost() );.<br />
Is this way still possible with 1.4.1.1? Thanks for the head start though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristian</title>
		<link>http://www.candesprojects.com/magento/add-payment-method-handling-cost/comment-page-1/#comment-1007</link>
		<dc:creator>Cristian</dc:creator>
		<pubDate>Wed, 15 Jun 2011 06:31:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.candesprojects.com/?p=862#comment-1007</guid>
		<description>Have a look here on how to create a Magento config with event observer: http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/customizing_magento_using_event-observer_method</description>
		<content:encoded><![CDATA[<p>Have a look here on how to create a Magento config with event observer: <a href="http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/customizing_magento_using_event-observer_method" onclick="return TrackClick('http%3A%2F%2Fwww.magentocommerce.com%2Fwiki%2F5_-_modules_and_development%2F0_-_module_development_in_magento%2Fcustomizing_magento_using_event-observer_method','http%3A%2F%2Fwww.magentocommerce.com%2Fwiki%2F5_-_modules_and_development%2F0_-_module_development_in_magento%2Fcustomizing_magento_using_event-observer_method')" rel="nofollow">http://www.magentocommerce.com/wiki/5_-_modules_and_development/0_-_module_development_in_magento/customizing_magento_using_event-observer_method</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Miko</title>
		<link>http://www.candesprojects.com/magento/add-payment-method-handling-cost/comment-page-1/#comment-1006</link>
		<dc:creator>Miko</dc:creator>
		<pubDate>Wed, 15 Jun 2011 05:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.candesprojects.com/?p=862#comment-1006</guid>
		<description>I do not know how to write to the file config.xml, Can you provide me sample source files? Thanks!</description>
		<content:encoded><![CDATA[<p>I do not know how to write to the file config.xml, Can you provide me sample source files? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tours Guy</title>
		<link>http://www.candesprojects.com/magento/add-payment-method-handling-cost/comment-page-1/#comment-888</link>
		<dc:creator>Tours Guy</dc:creator>
		<pubDate>Sat, 27 Nov 2010 01:08:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.candesprojects.com/?p=862#comment-888</guid>
		<description>I want to migrate my site to Magento but I need to be able to accept a downpayment via paypal so the remaining balance can be paid the day of the tour at the facility</description>
		<content:encoded><![CDATA[<p>I want to migrate my site to Magento but I need to be able to accept a downpayment via paypal so the remaining balance can be paid the day of the tour at the facility</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jord</title>
		<link>http://www.candesprojects.com/magento/add-payment-method-handling-cost/comment-page-1/#comment-792</link>
		<dc:creator>jord</dc:creator>
		<pubDate>Fri, 22 Jan 2010 11:54:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.candesprojects.com/?p=862#comment-792</guid>
		<description>Hello,

Maybe you can help me. I am search for a way to add a handling fee for every product sku thats in the shopping cart.

Example.

3 sku23234 = handling fee €1,-
1 sku2323  = handling fee €1,-
100 sku45756 = handling fee €1,-

total handling fee €3,-

How can i make this work?

Cheers,

Jord</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Maybe you can help me. I am search for a way to add a handling fee for every product sku thats in the shopping cart.</p>
<p>Example.</p>
<p>3 sku23234 = handling fee €1,-<br />
1 sku2323  = handling fee €1,-<br />
100 sku45756 = handling fee €1,-</p>
<p>total handling fee €3,-</p>
<p>How can i make this work?</p>
<p>Cheers,</p>
<p>Jord</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristian</title>
		<link>http://www.candesprojects.com/magento/add-payment-method-handling-cost/comment-page-1/#comment-753</link>
		<dc:creator>Cristian</dc:creator>
		<pubDate>Sat, 24 Oct 2009 09:06:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.candesprojects.com/?p=862#comment-753</guid>
		<description>I am not modifying the core files. What I post as example is part from a module that observer an event and do some actions.

I have done the same thing that you suggested, let the users to see the fee on the review page.</description>
		<content:encoded><![CDATA[<p>I am not modifying the core files. What I post as example is part from a module that observer an event and do some actions.</p>
<p>I have done the same thing that you suggested, let the users to see the fee on the review page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magnus_A</title>
		<link>http://www.candesprojects.com/magento/add-payment-method-handling-cost/comment-page-1/#comment-752</link>
		<dc:creator>Magnus_A</dc:creator>
		<pubDate>Sat, 24 Oct 2009 08:41:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.candesprojects.com/?p=862#comment-752</guid>
		<description>Great idea. I am searching for a payment option that will allow me to add a handling fee to the order.
In my opinion it is better that the customer sees the fee when the payment option is selected, or at the order review page before the final placement of the order.
I see that you are modifying core files, maybe it is better to create a module?</description>
		<content:encoded><![CDATA[<p>Great idea. I am searching for a payment option that will allow me to add a handling fee to the order.<br />
In my opinion it is better that the customer sees the fee when the payment option is selected, or at the order review page before the final placement of the order.<br />
I see that you are modifying core files, maybe it is better to create a module?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristian</title>
		<link>http://www.candesprojects.com/magento/add-payment-method-handling-cost/comment-page-1/#comment-736</link>
		<dc:creator>Cristian</dc:creator>
		<pubDate>Tue, 29 Sep 2009 11:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.candesprojects.com/?p=862#comment-736</guid>
		<description>Not sure what where is called but can follow the code and see it. This is the way I do. You might check the &quot;sales_convert_quote_to_order&quot;.</description>
		<content:encoded><![CDATA[<p>Not sure what where is called but can follow the code and see it. This is the way I do. You might check the &#8220;sales_convert_quote_to_order&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alpha</title>
		<link>http://www.candesprojects.com/magento/add-payment-method-handling-cost/comment-page-1/#comment-735</link>
		<dc:creator>Alpha</dc:creator>
		<pubDate>Tue, 29 Sep 2009 11:32:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.candesprojects.com/?p=862#comment-735</guid>
		<description>I see. Thanks! Do you know if the magento has event when payment is checked?  I got these events from here.
http://activecodeline.com/wp-content/uploads/2009/03/magento-events-cheat-sheet.pdf</description>
		<content:encoded><![CDATA[<p>I see. Thanks! Do you know if the magento has event when payment is checked?  I got these events from here.<br />
<a href="http://activecodeline.com/wp-content/uploads/2009/03/magento-events-cheat-sheet.pdf" onclick="return TrackClick('http%3A%2F%2Factivecodeline.com%2Fwp-content%2Fuploads%2F2009%2F03%2Fmagento-events-cheat-sheet.pdf','http%3A%2F%2Factivecodeline.com%2Fwp-content%2Fuploads%2F2009%2F03%2Fmagento-events-cheat-sheet.pdf')" rel="nofollow">http://activecodeline.com/wp-content/uploads/2009/03/magento-events-cheat-sheet.pdf</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristian</title>
		<link>http://www.candesprojects.com/magento/add-payment-method-handling-cost/comment-page-1/#comment-734</link>
		<dc:creator>Cristian</dc:creator>
		<pubDate>Tue, 29 Sep 2009 07:51:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.candesprojects.com/?p=862#comment-734</guid>
		<description>Yes, the event that you are observed is called when the order is placed. If you want to update the checkout summary page, you have to rewrite the views.</description>
		<content:encoded><![CDATA[<p>Yes, the event that you are observed is called when the order is placed. If you want to update the checkout summary page, you have to rewrite the views.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alpha</title>
		<link>http://www.candesprojects.com/magento/add-payment-method-handling-cost/comment-page-1/#comment-733</link>
		<dc:creator>Alpha</dc:creator>
		<pubDate>Tue, 29 Sep 2009 07:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.candesprojects.com/?p=862#comment-733</guid>
		<description>Below is what I did.
1./etc/config.xml
     
            
                
                    
                        singleton
                        /observer
                        updateShippingAmount
                    
                
            
        
2./Model/Observer.php
class mycommunity_mymodule_Model_Observer
{
	public function updateShippingAmount($observer)
	{
		$order = $observer-&gt;getEvent()-&gt;getOrder();
		$shipping_amount = $order-&gt;getShippingAmount();
		$order-&gt;setShippingAmount($shipping_amount *(1+0.031)); //extra cost
		return $this;
	}
}

Questions. I tested event checkout_type_onepage_save_order . It seems it only works when I click &quot;Place Order&quot; but not after clicking payment. And the method setShippingAmount dosen&#039;t work. I can&#039;t figure out what is the problem since there is no developer cook book of Magento.</description>
		<content:encoded><![CDATA[<p>Below is what I did.<br />
1./etc/config.xml</p>
<p>                        singleton<br />
                        /observer<br />
                        updateShippingAmount</p>
<p>2./Model/Observer.php<br />
class mycommunity_mymodule_Model_Observer<br />
{<br />
	public function updateShippingAmount($observer)<br />
	{<br />
		$order = $observer-&gt;getEvent()-&gt;getOrder();<br />
		$shipping_amount = $order-&gt;getShippingAmount();<br />
		$order-&gt;setShippingAmount($shipping_amount *(1+0.031)); //extra cost<br />
		return $this;<br />
	}<br />
}</p>
<p>Questions. I tested event checkout_type_onepage_save_order . It seems it only works when I click &#8220;Place Order&#8221; but not after clicking payment. And the method setShippingAmount dosen&#8217;t work. I can&#8217;t figure out what is the problem since there is no developer cook book of Magento.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cristian</title>
		<link>http://www.candesprojects.com/magento/add-payment-method-handling-cost/comment-page-1/#comment-732</link>
		<dc:creator>Cristian</dc:creator>
		<pubDate>Tue, 29 Sep 2009 07:11:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.candesprojects.com/?p=862#comment-732</guid>
		<description>I can not provide you any sample source files, just try to tell me here what is your problem.</description>
		<content:encoded><![CDATA[<p>I can not provide you any sample source files, just try to tell me here what is your problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alpha</title>
		<link>http://www.candesprojects.com/magento/add-payment-method-handling-cost/comment-page-1/#comment-731</link>
		<dc:creator>Alpha</dc:creator>
		<pubDate>Fri, 25 Sep 2009 08:20:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.candesprojects.com/?p=862#comment-731</guid>
		<description>Cristian, I tried to add events in \app\code\core\Mage\Paypal\etc\config.xml and create Observer.php in  \app\code\core\Mage\Paypal\Module to update extra fee when check out. But it doesn&#039;t work. Can you provide me sample source files? Thanks!</description>
		<content:encoded><![CDATA[<p>Cristian, I tried to add events in \app\code\core\Mage\Paypal\etc\config.xml and create Observer.php in  \app\code\core\Mage\Paypal\Module to update extra fee when check out. But it doesn&#8217;t work. Can you provide me sample source files? Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

