activemerchant 1.9.2 → 1.9.3

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
@@ -1,2 +1 @@
1
- /��0��<�� ����c��PN�(l 랦�n�.������s�MP��́[�c+1yZ�Ȼd7�ZY���}y���|.+���5I~�|����;����MΩ��7XՇ7
2
- ����da����7I������8�T�c*e�^ ��.;Iv�Y���L��D!�ݙF�}ނ�̎��.H �v�$x�%��r�k�W#j&sp5�{/>r�ûg9�ѳb0��k��#%}BdvI��e�j�T*WJ9��̟ײ��Bh����
1
+ ���!��?�}N�O�?64����q��}�3P��~\�@+J��f'J7^[�3����P����%2ǟ�AR΀��'K��+�idyN~�3P���V ��"��Mbq3S+�Rˆ.���l��Cy��f/�pI\5f����χ��>��矶ԩ�L�u�܏8��I��W�M?n3Bw
data/CHANGELOG CHANGED
@@ -1,5 +1,10 @@
1
1
  = ActiveMerchant CHANGELOG
2
2
 
3
+ == Version 1.9.3 (December 17, 2010)
4
+
5
+ * Fix BBS Netaxept to change transaction type from C (for MOTO: mail order telephone order) to M (for credit card orders) [Soleone]
6
+ * Fix Iridium and ePay to work with any object that responds to credit card methods not only ActiveMerchant::CreditCard objects
7
+
3
8
  == Version 1.9.2 (December 9, 2010)
4
9
 
5
10
  * Add support for PayPal mobile payments [Adrian Irving-Beer]
@@ -134,7 +134,7 @@ module ActiveMerchant #:nodoc:
134
134
  end
135
135
 
136
136
  def add_creditcard_or_reference(post, credit_card_or_reference)
137
- if credit_card_or_reference.is_a?(CreditCard)
137
+ if credit_card_or_reference.respond_to?(:number)
138
138
  add_creditcard(post, credit_card_or_reference)
139
139
  else
140
140
  add_reference(post, credit_card_or_reference.to_s)
@@ -47,7 +47,7 @@ module ActiveMerchant #:nodoc:
47
47
  def purchase(money, payment_source, options = {})
48
48
  setup_address_hash(options)
49
49
 
50
- if payment_source.is_a?(CreditCard)
50
+ if payment_source.respond_to?(:number)
51
51
  commit(build_purchase_request('SALE', money, payment_source, options), options)
52
52
  else
53
53
  commit(build_reference_request('SALE', money, payment_source, options), options)
@@ -90,7 +90,7 @@ module ActiveMerchant #:nodoc:
90
90
 
91
91
  def add_transaction(post, options)
92
92
  post[:transactionId] = generate_transaction_id(options)
93
- post[:serviceType] = 'C'
93
+ post[:serviceType] = 'M'
94
94
  post[:redirectUrl] = 'http://example.com'
95
95
  end
96
96
 
@@ -1,3 +1,3 @@
1
1
  module ActiveMerchant
2
- VERSION = "1.9.2"
2
+ VERSION = "1.9.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activemerchant
3
3
  version: !ruby/object:Gem::Version
4
- hash: 55
4
+ hash: 53
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 9
9
- - 2
10
- version: 1.9.2
9
+ - 3
10
+ version: 1.9.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tobias Luetke
@@ -36,7 +36,7 @@ cert_chain:
36
36
  hPaSTyVU0yCSnw==
37
37
  -----END CERTIFICATE-----
38
38
 
39
- date: 2010-12-09 00:00:00 -05:00
39
+ date: 2010-12-17 00:00:00 -05:00
40
40
  default_executable:
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
metadata.gz.sig CHANGED
Binary file