<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.gitmodules</filename>
    </added>
    <added>
      <filename>vendor/plugins/active_merchant</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -190,6 +190,7 @@ class Subscription &lt; ActiveRecord::Base
     # Check out http://letsfreckle.com/blog/2008/12/ecommerce-stuff/
     # Test charges need to be at least $1
     def test_card!
+      return unless gateway.respond_to?(:void)
       auth_response = gateway.authorize(100, card)
       gateway.void(auth_response.authorization) if auth_response.success?
       raise AuthorizationFailed.new(auth_response) unless auth_response.success?</diff>
      <filename>app/models/subscription.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>94ed0c3179268a7c1063b763a81fab021ce53e3d</id>
    </parent>
  </parents>
  <author>
    <name>Bodaniel Jeanes</name>
    <email>me@bjeanes.com</email>
  </author>
  <url>http://github.com/mocra/saasy/commit/6a240e0de0c083662d0bf05f9c5e639a86741b5e</url>
  <id>6a240e0de0c083662d0bf05f9c5e639a86741b5e</id>
  <committed-date>2009-02-01T15:39:24-08:00</committed-date>
  <authored-date>2009-02-01T15:38:43-08:00</authored-date>
  <message>submoduled Mocra's active merchant and changed test_card! to only perform the #void() operation if available (or payment express falls apart)</message>
  <tree>f87cc2261b03c10213990dd5bd4809ed5c7062bf</tree>
  <committer>
    <name>Bodaniel Jeanes</name>
    <email>me@bjeanes.com</email>
  </committer>
</commit>
