<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,6 @@
 = ActiveMerchant CHANGELOG
 
+* Use basic SkipJack host for all non-authorization transactions. Fix status method [cody]
 * Strip non alpha numeric chars out of MerchantWare order number [cody]
 * Parse complete response of Authorize.net CIM gateway [Patrick Joyce]
 * Update to PayPal Sandbox URL for testing Payflow Pro Express Checkout. See Express Checkout for Payflow Pro guide [cody]</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -245,9 +245,7 @@ module ActiveMerchant #:nodoc:
       end
 
       def status(order_id)
-        post = { }
-        post[:szOrderNumber] = :order_id
-        commit(:get_status, nil, post)
+        commit(:get_status, nil, :szOrderNumber =&gt; order_id)
       end
       
       private
@@ -278,7 +276,7 @@ module ActiveMerchant #:nodoc:
       
       def url_for(action)
         result = test? ? TEST_HOST : LIVE_HOST
-        result += advanced? ? ADVANCED_PATH : BASIC_PATH
+        result += advanced? &amp;&amp; action == :authorization ? ADVANCED_PATH : BASIC_PATH
         result += &quot;?#{ACTIONS[action]}&quot;
       end
       </diff>
      <filename>lib/active_merchant/billing/gateways/skip_jack.rb</filename>
    </modified>
    <modified>
      <diff>@@ -116,24 +116,65 @@ class SkipJackTest &lt; Test::Unit::TestCase
     assert_equal &quot;https://developer.skipjackic.com/scripts/evolvcc.dll?AuthorizeAPI&quot;, @gateway.send(:url_for, :authorization)
   end
   
+  def test_basic_test_url_non_authorization
+    @gateway.stubs(:test?).returns(true)
+    @gateway.stubs(:advanced?).returns(false)
+    assert_equal &quot;https://developer.skipjackic.com/scripts/evolvcc.dll?SJAPI_TransactionChangeStatusRequest&quot;, @gateway.send(:url_for, :change_status)
+  end
+  
   def test_advanced_test_url
     @gateway.stubs(:test?).returns(true)
     @gateway.stubs(:advanced?).returns(true)
     assert_equal &quot;https://developer.skipjackic.com/evolvcc/evolvcc.aspx?AuthorizeAPI&quot;, @gateway.send(:url_for, :authorization)
   end
   
+  def test_advanced_test_url_non_authorization
+    @gateway.stubs(:test?).returns(true)
+    @gateway.stubs(:advanced?).returns(true)
+    assert_equal &quot;https://developer.skipjackic.com/scripts/evolvcc.dll?SJAPI_TransactionChangeStatusRequest&quot;, @gateway.send(:url_for, :change_status)
+  end
+  
   def test_basic_live_url
     @gateway.stubs(:test?).returns(false)
     @gateway.stubs(:advanced?).returns(false)
     assert_equal &quot;https://www.skipjackic.com/scripts/evolvcc.dll?AuthorizeAPI&quot;, @gateway.send(:url_for, :authorization)
   end
   
+  def test_basic_live_url_non_authorization
+    @gateway.stubs(:test?).returns(false)
+    @gateway.stubs(:advanced?).returns(false)
+    assert_equal &quot;https://www.skipjackic.com/scripts/evolvcc.dll?SJAPI_TransactionChangeStatusRequest&quot;, @gateway.send(:url_for, :change_status)
+  end
+  
   def test_advanced_live_url
     @gateway.stubs(:test?).returns(false)
     @gateway.stubs(:advanced?).returns(true)
     assert_equal &quot;https://www.skipjackic.com/evolvcc/evolvcc.aspx?AuthorizeAPI&quot;, @gateway.send(:url_for, :authorization)
   end
   
+  def test_advanced_live_url_non_authorization
+    @gateway.stubs(:test?).returns(false)
+    @gateway.stubs(:advanced?).returns(true)
+    assert_equal &quot;https://www.skipjackic.com/scripts/evolvcc.dll?SJAPI_TransactionChangeStatusRequest&quot;, @gateway.send(:url_for, :change_status)
+  end
+  
+  def test_paymentech_authorization_success    
+    @gateway.expects(:ssl_post).returns(successful_paymentech_authorization_response)
+
+    assert response = @gateway.authorize(@amount, @credit_card, @options)
+    assert_instance_of Response, response
+    assert_success response
+    assert_equal '40000024585892.109', response.authorization
+  end
+  
+  def test_paymentech_authorization_failure
+    @gateway.expects(:ssl_post).returns(unsuccessful_paymentech_authorization_response)
+
+    assert response = @gateway.authorize(@amount, @credit_card, @options)
+    assert_instance_of Response, response
+    assert_failure response
+  end
+  
   private
   def successful_authorization_response
     &lt;&lt;-CSV
@@ -154,4 +195,19 @@ class SkipJackTest &lt; Test::Unit::TestCase
 &quot;AUTHCODE&quot;,&quot;szSerialNumber&quot;,&quot;szTransactionAmount&quot;,&quot;szAuthorizationDeclinedMessage&quot;,&quot;szAVSResponseCode&quot;,&quot;szAVSResponseMessage&quot;,&quot;szOrderNumber&quot;,&quot;szAuthorizationResponseCode&quot;,&quot;szIsApproved&quot;,&quot;szCVV2ResponseCode&quot;,&quot;szCVV2ResponseMessage&quot;,&quot;szReturnCode&quot;,&quot;szTransactionFileName&quot;,&quot;szCAVVResponseCode&quot;\r\n&quot;EMPTY&quot;,&quot;000386891209&quot;,&quot;100&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;b1eec256d0182f29375e0cbae685092d&quot;,&quot;&quot;,&quot;0&quot;,&quot;&quot;,&quot;&quot;,&quot;-35&quot;,&quot;&quot;,&quot;&quot;
     CSV
   end
+  
+  def unsuccessful_paymentech_authorization_response
+    &lt;&lt;-CSV
+&quot;AUTHCODE&quot;,&quot;szSerialNumber&quot;,&quot;szTransactionAmount&quot;,&quot;szAuthorizationDeclinedMessage&quot;,&quot;szAVSResponseCode&quot;,&quot;szAVSResponseMessage&quot;,&quot;szOrderNumber&quot;,&quot;szAuthorizationResponseCode&quot;,&quot;szIsApproved&quot;,&quot;szCVV2ResponseCode&quot;,&quot;szCVV2ResponseMessage&quot;,&quot;szReturnCode&quot;,&quot;szTransactionFileName&quot;,&quot;szCAVVResponseCode&quot;,
+&quot;EMPTY&quot;,&quot;000000000000&quot;,&quot;1.00&quot;,&quot;&quot;,&quot;&quot;,&quot;&quot;,&quot;43985b7953199d1f02c3017f948e9f13&quot;,&quot;&quot;,&quot;0&quot;,&quot;&quot;,&quot;&quot;,&quot;-83&quot;,&quot;&quot;,&quot;&quot;,    
+    CSV
+  end
+  
+  def successful_paymentech_authorization_response
+    &lt;&lt;-CSV
+&quot;AUTHCODE&quot;,&quot;szSerialNumber&quot;,&quot;szTransactionAmount&quot;,&quot;szAuthorizationDeclinedMessage&quot;,&quot;szAVSResponseCode&quot;,&quot;szAVSResponseMessage&quot;,&quot;szOrderNumber&quot;,&quot;szAuthorizationResponseCode&quot;,&quot;szIsApproved&quot;,&quot;szCVV2ResponseCode&quot;,&quot;szCVV2ResponseMessage&quot;,&quot;szReturnCode&quot;,&quot;szTransactionFileName&quot;,&quot;szCAVVResponseCode&quot;,
+&quot;093223&quot;,&quot;000000000000&quot;,&quot;1.00&quot;,&quot;&quot;,&quot;Y&quot;,&quot;Card authorized, exact address match with 5 digit zip code.&quot;,&quot;5ac0f04e737baea5a5370037afe827f6&quot;,&quot;093223&quot;,&quot;1&quot;,&quot;M&quot;,&quot;Match&quot;,&quot;1&quot;,&quot;40000024585892.109&quot;,&quot;&quot;,    
+    CSV
+  end
 end
+</diff>
      <filename>test/unit/gateways/skip_jack_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2dc4fb2f72ecbe200bcb9783ce333a20b6219910</id>
    </parent>
  </parents>
  <author>
    <name>Cody Fauser</name>
    <email>codyfauser@gmail.com</email>
  </author>
  <url>http://github.com/Shopify/active_merchant/commit/a3d18bd755595ba78b897237a116bafc464bed55</url>
  <id>a3d18bd755595ba78b897237a116bafc464bed55</id>
  <committed-date>2009-10-08T06:20:42-07:00</committed-date>
  <authored-date>2009-10-08T06:20:42-07:00</authored-date>
  <message>Use basic SkipJack host for all non-authorization transactions. Fix status method</message>
  <tree>8eac7be3c923223bda06419690f2dc025eaad255</tree>
  <committer>
    <name>Cody Fauser</name>
    <email>codyfauser@gmail.com</email>
  </committer>
</commit>
