activemerchant 1.4.0 → 1.4.1
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.
- data.tar.gz.sig +0 -0
- data/CHANGELOG +4 -0
- data/Rakefile +1 -1
- data/lib/active_merchant/billing/gateways/card_stream.rb +2 -3
- data/test/remote/gateways/remote_card_stream_test.rb +1 -1
- metadata +2 -4
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
|
Binary file
|
data/CHANGELOG
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
= ActiveMerchant CHANGELOG
|
|
2
2
|
|
|
3
|
+
== Version 1.4.1 (December 9, 2008)
|
|
4
|
+
|
|
5
|
+
* Update CardStream URL. Note that you will also need to update your login id. [cody]
|
|
6
|
+
|
|
3
7
|
== Version 1.4.0 (November 27, 2008)
|
|
4
8
|
|
|
5
9
|
* Return failed authorization when SkipJack purchase fails [Tron, cody]
|
data/Rakefile
CHANGED
|
@@ -18,8 +18,7 @@ module ActiveMerchant #:nodoc:
|
|
|
18
18
|
# * Visa Purchasing
|
|
19
19
|
#
|
|
20
20
|
class CardStreamGateway < Gateway
|
|
21
|
-
|
|
22
|
-
LIVE_URL = 'https://www.cardstream.com/merchantsecure/Cardstream/VPDirect.cfm'
|
|
21
|
+
URL = 'https://gateway.cardstream.com/process.ashx'
|
|
23
22
|
|
|
24
23
|
self.money_format = :cents
|
|
25
24
|
self.default_currency = 'GBP'
|
|
@@ -163,7 +162,7 @@ module ActiveMerchant #:nodoc:
|
|
|
163
162
|
end
|
|
164
163
|
|
|
165
164
|
def commit(action, parameters)
|
|
166
|
-
response = parse( ssl_post(
|
|
165
|
+
response = parse( ssl_post(URL, post_data(action, parameters)) )
|
|
167
166
|
|
|
168
167
|
Response.new(response[:response_code] == APPROVED, message_from(response), response,
|
|
169
168
|
:test => test?,
|
|
@@ -75,7 +75,7 @@ class RemoteCardStreamTest < Test::Unit::TestCase
|
|
|
75
75
|
:description => 'Store purchase'
|
|
76
76
|
}
|
|
77
77
|
end
|
|
78
|
-
|
|
78
|
+
|
|
79
79
|
def test_successful_mastercard_purchase
|
|
80
80
|
assert response = @gateway.purchase(100, @mastercard, @mastercard_options)
|
|
81
81
|
assert_equal 'APPROVED', response.message
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activemerchant
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tobias Luetke
|
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
|
30
30
|
hPaSTyVU0yCSnw==
|
|
31
31
|
-----END CERTIFICATE-----
|
|
32
32
|
|
|
33
|
-
date: 2008-
|
|
33
|
+
date: 2008-12-09 00:00:00 -05:00
|
|
34
34
|
default_executable:
|
|
35
35
|
dependencies:
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
@@ -349,13 +349,11 @@ files:
|
|
|
349
349
|
- script/generate
|
|
350
350
|
- CHANGELOG
|
|
351
351
|
- CONTRIBUTERS
|
|
352
|
-
- doc
|
|
353
352
|
- gem-public_cert.pem
|
|
354
353
|
- generators
|
|
355
354
|
- init.rb
|
|
356
355
|
- lib
|
|
357
356
|
- MIT-LICENSE
|
|
358
|
-
- pkg
|
|
359
357
|
- Rakefile
|
|
360
358
|
- README
|
|
361
359
|
- script
|
metadata.gz.sig
CHANGED
|
Binary file
|