<?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>Tim Groeneveld &#187; accounts</title>
	<atom:link href="http://timg.ws/tag/accounts/feed/" rel="self" type="application/rss+xml" />
	<link>http://timg.ws</link>
	<description>&#039;cause everyone loves a geek</description>
	<lastBuildDate>Wed, 14 Sep 2011 14:40:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3-beta3-19254</generator>
		<item>
		<title>Adding SWIFT to MyBanco</title>
		<link>http://timg.ws/2009/04/20/adding-swift-to-mybanco/</link>
		<comments>http://timg.ws/2009/04/20/adding-swift-to-mybanco/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 01:29:46 +0000</pubDate>
		<dc:creator>Tim Groeneveld</dc:creator>
				<category><![CDATA[MyBanco]]></category>
		<category><![CDATA[accounts]]></category>
		<category><![CDATA[communication]]></category>
		<category><![CDATA[interbank]]></category>
		<category><![CDATA[MyInfo]]></category>
		<category><![CDATA[protocols]]></category>
		<category><![CDATA[SWIFT]]></category>
		<category><![CDATA[transactions]]></category>

		<guid isPermaLink="false">http://timg.ws/?p=263</guid>
		<description><![CDATA[I have had a few emails regarding whether it would be possible to add Interbank communication support into MyBanco such as SWIFT, and I would just like to say here, YES! It is possible, and it is very easy to do. If you are looking to write a new plugin to do SWIFT transactions (or [...]]]></description>
			<content:encoded><![CDATA[<p>I have had a few emails regarding whether it would be possible to add Interbank communication support into MyBanco such as SWIFT, and I would just like to say here, YES! It is possible, and it is very easy to do.</p>
<p>If you are looking to write a new plugin to do SWIFT transactions (or any other type of external transactions) would be to do the following:</p>
<ol>
<li>Add a new $method to backend/Plugins/transfer.php
<pre>                'swift' =&gt; Array (
                         'title' =&gt; 'International bank transfer via SWIFT',
                         'description' =&gt; 'Transfer to another {bank} account',
                         'icon' =&gt; 'swift'
                 )</pre>
</li>
<li>If necessary, change __transfer_listValidTransferMethods to make only particular users/bank account types to be able to transfer money via swift (it&#8217;s near the bottom of the function)</li>
<li>Implement the following functions:
<ul>
<li>function _t_swift_required       &#8211; This function returns a list of extra information that is required for the transaction to take place. (ie, extra fields that the user must enter, the account # and $amount is not necessary, as these are sent by default)</li>
<li>function _t_swift_check_data       &#8211; Ensure that the data that has been imputed from the user is correct, for example, this would mean checking the LEK of a credit card transaction&#8230;</li>
<li> function _t_swift_preview       &#8211; Send the data for preview. Nothing exciting here really</li>
<li>function _t_swift_transfer       &#8211; This is where the fun stuff actually happens. This is where money would be removed from the account, the message put into the cron queue (if desired) or a real time message sent to SWIFTNet for the transaction to occur.</li>
</ul>
</li>
</ol>
<p>I would recommend that the way it be done would be to move the money wanting to be transferred into a temp. settlement account, and then add the item to a queue which would run on (another?) machine every 2-5 minutes.  I really want to add an open source implementation of the SWIFT messaging system to MyBanco, however, like I said earlier, I no longer have access to any of the information or to any of the SWIFT servers to make this possible.  If you have access to this sort of information, I would be happy to continue my development.</p>
<p>Hope this helps people out. By the way, if anyone has access to development documentation for SWIFTNet, I would really love to be able to access it, so just drop me a comment on this blog post.</p>
<p>Thanks,<br />
- Tim</p>
]]></content:encoded>
			<wfw:commentRss>http://timg.ws/2009/04/20/adding-swift-to-mybanco/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

