active_merchant_ideal 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{active_merchant_ideal}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Soemirno Kartosoewito, Matthijs Kadijk, Aloy Duran, Frank Oxener"]
12
- s.date = %q{2010-03-23}
12
+ s.date = %q{2010-03-30}
13
13
  s.description = %q{iDEAL payment gateway for ActiveMerchant (see http://www.ideal.nl and http://www.activemerchant.org/)}
14
14
  s.email = %q{frank.oxener@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -140,7 +140,7 @@ module ActiveMerchant #:nodoc:
140
140
  # Returns the URL to the issuer’s page where the consumer should be
141
141
  # redirected to in order to perform the payment.
142
142
  def service_url
143
- text('//issuerAuthenticationURL')
143
+ CGI::unescapeHTML(text('//issuerAuthenticationURL'))
144
144
  end
145
145
 
146
146
  # Returns the transaction ID which is needed for requesting the status
@@ -429,7 +429,7 @@ module IdealTestCases
429
429
  end
430
430
 
431
431
  def test_setup_purchase_returns_response_with_service_url
432
- assert_equal 'https://ideal.example.com/long_service_url', @setup_purchase_response.service_url
432
+ assert_equal 'https://ideal.example.com/long_service_url?X009=BETAAL&X010=20', @setup_purchase_response.service_url
433
433
  end
434
434
 
435
435
  def test_setup_purchase_returns_response_with_transaction_and_order_ids
@@ -622,7 +622,7 @@ ilZjTJIlLOkXk6uE8vQGjZy0BUnjNPkXOQGkTyj4jDxZ2z+z9Vy8BwfothdcYbZK
622
622
  <acquirerID>1545</acquirerID>
623
623
  </Acquirer>
624
624
  <Issuer>
625
- <issuerAuthenticationURL>https://ideal.example.com/long_service_url</issuerAuthenticationURL>
625
+ <issuerAuthenticationURL>https://ideal.example.com/long_service_url?X009=BETAAL&amp;X010=20</issuerAuthenticationURL>
626
626
  </Issuer>
627
627
  <Transaction>
628
628
  <transactionID>0001023456789112</transactionID>
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Soemirno Kartosoewito, Matthijs Kadijk, Aloy Duran, Frank Oxener
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-03-23 00:00:00 +01:00
17
+ date: 2010-03-30 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency