tomriley-active_merchant 1.4.2.4 → 1.4.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "active_merchant"
3
- s.version = "1.4.2.4"
3
+ s.version = "1.4.2.5"
4
4
  s.date = "2009-01-12"
5
5
  s.summary = "Active Merchant is a simple payment abstraction library used in and sponsored by Shopify."
6
6
  s.homepage = "http://www.activemerchant.org/"
@@ -244,10 +244,12 @@ module ActiveMerchant #:nodoc:
244
244
 
245
245
  add_pair(post, :ExpiryDate, format_date(credit_card.month, credit_card.year), :required => true)
246
246
 
247
- if requires_start_date_or_issue_number?(credit_card)
247
+ #if requires_start_date_or_issue_number?(credit_card)
248
+ if credit_card.start_month && credit_card.start_year
248
249
  add_pair(post, :StartDate, format_date(credit_card.start_month, credit_card.start_year))
249
- add_pair(post, :IssueNumber, credit_card.issue_number)
250
250
  end
251
+ add_pair(post, :IssueNumber, credit_card.issue_number) if credit_card.issue_number
252
+ #end
251
253
  add_pair(post, :CardType, map_card_type(credit_card))
252
254
 
253
255
  add_pair(post, :CV2, credit_card.verification_value)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tomriley-active_merchant
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2.4
4
+ version: 1.4.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Luetke