<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/">
  <title>Viithiisys</title>
  <link rel="alternate" href="" />
  <subtitle>Viithiisys</subtitle>
  <entry>
    <title>Validate your XHTML/HTML from your desktop</title>
    <link rel="alternate" href="http://www.viithiisys.com/c/blogs/find_entry?entryId=15805" />
    <author>
      <name>Rajbir Saini</name>
    </author>
    <id>http://www.viithiisys.com/c/blogs/find_entry?entryId=15805</id>
    <updated>2009-11-18T05:19:45Z</updated>
    <published>2009-11-18T05:19:26Z</published>
    <summary type="html">&lt;p&gt;&lt;meta content="text/html; charset=utf-8" http-equiv="CONTENT-TYPE" /&gt; 	&lt;title&gt;&lt;/title&gt; 	&lt;meta content="OpenOffice.org 3.1  (Unix)" name="GENERATOR" /&gt; 	&lt;style type="text/css"&gt;
	&lt;!--
		@page { margin: 2cm }
		P { margin-bottom: 0.21cm }
		A:link { so-language: zxx }
	--&gt;
	&lt;/style&gt;  &lt;p style="margin-bottom: 0cm;" class="western"&gt;&lt;font face="Verdana, sans-serif"&gt;Other day I was struggling to find a tool to beautify HTML code. Eclipse HTML editor was not really up to the mark. Google search led me to the &amp;ldquo;tidy&amp;rdquo; XML/XHTML/HTML beautifier and code validator. This utility runs very &lt;/font&gt;&lt;font face="Verdana, sans-serif"&gt;fast and works on command line. &lt;/font&gt;&lt;/p&gt;    &lt;p style="margin-bottom: 0cm;" class="western"&gt;&lt;font face="Verdana, sans-serif"&gt;Tidy is available at &lt;a href="http://tidy.sourceforge.net/"&gt;http://tidy.sourceforge.net&lt;/a&gt;&lt;/font&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm;" class="western"&gt;&amp;nbsp;&lt;/p&gt;&lt;/p&gt;</summary>
    <dc:creator>Rajbir Saini</dc:creator>
    <dc:date>2009-11-18T05:19:26Z</dc:date>
  </entry>
  <entry>
    <title>Apache ProxyPassReverse Directive</title>
    <link rel="alternate" href="http://www.viithiisys.com/c/blogs/find_entry?entryId=15630" />
    <author>
      <name>Rajbir Saini</name>
    </author>
    <id>http://www.viithiisys.com/c/blogs/find_entry?entryId=15630</id>
    <updated>2009-11-17T05:35:58Z</updated>
    <published>2009-11-17T05:23:47Z</published>
    <summary type="html">&lt;p&gt;It is a common practice to use mod_proxy_ajp while fronting the Apache web server with Apache Tomcat server. Few directives like ProxyPassReverse,&amp;nbsp; ProxyPassReverseCookiePath ProxyPassReverseCookieDomain are very critical if your application uses redirects and cookies. Although, there are plenty of resources including Apache HTTPd office documentation, it went wrong for me many times. Following are the resources I found very helpful and saved my time. Many thanks to their authors.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.humboldt.co.uk/2009/02/the-mystery-of-proxypassreverse.html"&gt;http://www.humboldt.co.uk/2009/02/the-mystery-of-proxypassreverse.html&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.micronovae.com/ModRewrite/ref/ProxyPassReverse.html"&gt;http://www.micronovae.com/ModRewrite/ref/ProxyPassReverse.html&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;</summary>
    <dc:creator>Rajbir Saini</dc:creator>
    <dc:date>2009-11-17T05:23:47Z</dc:date>
  </entry>
  <entry>
    <title>SagePay Payment Gateway Configuration</title>
    <link rel="alternate" href="http://www.viithiisys.com/c/blogs/find_entry?entryId=15138" />
    <author>
      <name>Abdullah Shaikh</name>
    </author>
    <id>http://www.viithiisys.com/c/blogs/find_entry?entryId=15138</id>
    <updated>2009-11-27T07:54:28Z</updated>
    <published>2009-11-10T08:38:59Z</published>
    <summary type="html">&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;I was required to implement SagePay payment gateway for my client, as I had never implemented a payment gateway in Ofbiz before, I went through the test processor's method in PaymentGatewayServices and authorizedotnet payment gateway implementation code, and it helped me in implementing one myself.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;When I started implementing, because of time constraint, I did it in an adhoc manner, and once it was working fine, I thought of contributing the code, for this again I had to properly structure the code and clean it up, anyways next time onwards I am planning of putting a bit more time and doing it correct at first time itself, so that I dont have to work again&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size: medium;"&gt; &lt;img src="http://www.viithiisys.com/html/js/editor/fckeditor/editor/images/smiley/msn/teeth_smile.gif" alt="" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;If somebody wants to use SagePay as the payment gateway and if the code still isn't commited in Ofbiz, you can download the patch from&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;div class="portlet-msg-info"&gt;&lt;a target="_blank" href="https://issues.apache.org/jira/browse/OFBIZ-3180"&gt;&lt;span style="font-size: x-small;"&gt;https://issues.apache.org/jira/browse/OFBIZ-3180&lt;/span&gt;&lt;/a&gt;&lt;/div&gt; &lt;p&gt;&amp;nbsp;&lt;span style="font-size: small;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Anyways let's get to the point, the implementation lets you configure all the usual parameters like the vendor name, version, payment gateway urls, but apart from this as SagePay has different transaction types, they too are configurable.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Now anybody using SagePay or planning to do so, may be aware of different transaction types available in SagePa&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size: medium;"&gt;y.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Below are the transaction types available in SagePay &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-size: medium;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;1) PAYMENT - This is basically an authcapture.&lt;br /&gt; 2) AUTHENTICATE/AUTHORISE - This one is a normal auth/capture.&lt;br /&gt; 3) DEFERRED/RELEASE - This is same as auth/capture, but deferred transaction are not sent to the bank until you send a RELEASE request, ideally all deferred transacton should be released within 6 days.&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;So instead of hardcoding the transaction type in ccAuth &amp;amp; ccCapture service, the transaction type is take from the configuration, so it's easy to switch between the desired transactin types by just setting the config parameter. This should be clear by the screen shots below.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Once you have downloaded the code or applied the patch, you need to follow the steps below :&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;br /&gt; &lt;br /&gt; &lt;span style="font-size: small;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;1) Run run-install-seed, this will build, create a new entity PaymentGatewaySagePay which stores the payment gateway configuration and insert seed configuration data.&lt;br /&gt; 2) Start ofbiz&lt;br /&gt; 3) Go to Accounting - Payment Gateway Config - select SagePay Payment Gateway from Payment Gateway Config Type Id from the dropdown and click LOOKUP&lt;br /&gt; 4) Click on SagePay Config from Search Results&lt;br /&gt; 5) Put your vendor name in Vendor Name field, I guess result all configuration will do, anyways check it out, and also notice the dropdown's for transaction types.&lt;br /&gt; 6) Click Update&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;We are done with payment gateway configuration, next is to configure payment services for store.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;7) Go to Catalog - Stores - your store (am using ecommerce) - Payments&lt;br /&gt; 8) Configure the payment services, services are sagepayCCAuth, sagepayCCCapture, sagepayCCRefund &amp;amp; sagepayCCRelease, don't forget to set Payment Gateway Config Id to SagePay Config&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;That's it and you are ready to GO !!&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;For any suggestion/comment please feel free to email me at abdullah.shaikh@viithiisys.com&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;div class="portlet-msg-info"&gt;Screen Shots&lt;/div&gt; &lt;p&gt;&lt;span style="font-size: medium;"&gt;&lt;img align="left" width="800" vspace="20" hspace="20" height="454" src="http://www.viithiisys.com/image/image_gallery?uuid=2d690ebc-2079-4a5b-b78e-61c4651e755d&amp;amp;groupId=11229&amp;amp;t=1257866510592" alt="Find Payment Gateway Config" /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;img align="left" width="800" vspace="20" hspace="20" height="454" alt="Find Payment Gateway Config (Search Results)" src="http://www.viithiisys.com/image/image_gallery?uuid=1c9eb592-60e2-4f10-9a95-e5746da2980a&amp;amp;groupId=11229&amp;amp;t=1257866958516" /&gt;&lt;/p&gt; &lt;p&gt;&lt;img align="left" width="800" vspace="20" hspace="20" height="454" alt="Update Payment Gateway Config SagePay" src="http://www.viithiisys.com/image/image_gallery?uuid=b031ef59-a3fa-438c-9f1b-b5c252719d0e&amp;amp;groupId=11229&amp;amp;t=1257867011592" /&gt;&lt;/p&gt; &lt;p&gt;&lt;img align="left" width="800" vspace="20" hspace="20" height="454" alt="Product Store Payment Setup" src="http://www.viithiisys.com/image/image_gallery?uuid=61d3ac68-8647-47a7-9d61-54671070b1d6&amp;amp;groupId=11229&amp;amp;t=1257867095689" /&gt;&lt;/p&gt;</summary>
    <dc:creator>Abdullah Shaikh</dc:creator>
    <dc:date>2009-11-10T08:38:59Z</dc:date>
  </entry>
</feed>

