activemerchant 1.41.0 → 1.42.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +15 -0
  2. data/CHANGELOG +23 -1
  3. data/CONTRIBUTORS +12 -0
  4. data/README.md +3 -0
  5. data/lib/active_merchant/billing/gateway.rb +8 -1
  6. data/lib/active_merchant/billing/gateways/app55.rb +185 -0
  7. data/lib/active_merchant/billing/gateways/authorize_net.rb +12 -2
  8. data/lib/active_merchant/billing/gateways/balanced.rb +9 -3
  9. data/lib/active_merchant/billing/gateways/card_stream_modern.rb +2 -1
  10. data/lib/active_merchant/billing/gateways/elavon.rb +1 -1
  11. data/lib/active_merchant/billing/gateways/eway_rapid.rb +2 -2
  12. data/lib/active_merchant/billing/gateways/litle.rb +5 -5
  13. data/lib/active_merchant/billing/gateways/mercury.rb +22 -0
  14. data/lib/active_merchant/billing/gateways/orbital.rb +25 -2
  15. data/lib/active_merchant/billing/gateways/pac_net_raven.rb +187 -0
  16. data/lib/active_merchant/billing/gateways/paymill.rb +60 -28
  17. data/lib/active_merchant/billing/gateways/paypal/paypal_recurring_api.rb +1 -1
  18. data/lib/active_merchant/billing/gateways/secure_pay_au.rb +4 -2
  19. data/lib/active_merchant/billing/gateways/spreedly_core.rb +4 -2
  20. data/lib/active_merchant/billing/gateways/stripe.rb +35 -15
  21. data/lib/active_merchant/billing/gateways/swipe_checkout.rb +158 -0
  22. data/lib/active_merchant/billing/gateways/usa_epay_transaction.rb +62 -46
  23. data/lib/active_merchant/billing/gateways/webpay.rb +1 -2
  24. data/lib/active_merchant/billing/integrations/bit_pay.rb +2 -2
  25. data/lib/active_merchant/billing/integrations/bit_pay/helper.rb +15 -19
  26. data/lib/active_merchant/billing/integrations/bit_pay/notification.rb +38 -20
  27. data/lib/active_merchant/billing/integrations/notification.rb +2 -2
  28. data/lib/active_merchant/billing/integrations/wirecard_checkout_page.rb +39 -0
  29. data/lib/active_merchant/billing/integrations/wirecard_checkout_page/common.rb +104 -0
  30. data/lib/active_merchant/billing/integrations/wirecard_checkout_page/helper.rb +145 -0
  31. data/lib/active_merchant/billing/integrations/wirecard_checkout_page/notification.rb +101 -0
  32. data/lib/active_merchant/billing/integrations/wirecard_checkout_page/return.rb +35 -0
  33. data/lib/active_merchant/version.rb +1 -1
  34. metadata +16 -59
  35. data.tar.gz.sig +0 -0
  36. metadata.gz.sig +0 -0
@@ -61,8 +61,8 @@ module ActiveMerchant #:nodoc:
61
61
  def parse(post)
62
62
  @raw = post.to_s
63
63
  for line in @raw.split('&')
64
- key, value = *line.scan( %r{^([A-Za-z0-9_.]+)\=(.*)$} ).flatten
65
- params[key] = CGI.unescape(value)
64
+ key, value = *line.scan( %r{^([A-Za-z0-9_.-]+)\=(.*)$} ).flatten
65
+ params[key] = CGI.unescape(value.to_s) if key.present?
66
66
  end
67
67
  end
68
68
  end
@@ -0,0 +1,39 @@
1
+ =begin
2
+ * Shop System Plugins - Terms of use
3
+ *
4
+ * This terms of use regulates warranty and liability between Wirecard Central Eastern Europe (subsequently referred to as WDCEE) and it's
5
+ * contractual partners (subsequently referred to as customer or customers) which are related to the use of plugins provided by WDCEE.
6
+ *
7
+ * The Plugin is provided by WDCEE free of charge for it's customers and must be used for the purpose of WDCEE's payment platform
8
+ * integration only. It explicitly is not part of the general contract between WDCEE and it's customer. The plugin has successfully been tested
9
+ * under specific circumstances which are defined as the shopsystem's standard configuration (vendor's delivery state). The Customer is
10
+ * responsible for testing the plugin's functionality before putting it into production enviroment.
11
+ * The customer uses the plugin at own risk. WDCEE does not guarantee it's full functionality neither does WDCEE assume liability for any
12
+ * disadvantage related to the use of this plugin. By installing the plugin into the shopsystem the customer agrees to the terms of use.
13
+ * Please do not use this plugin if you do not agree to the terms of use!
14
+ =end
15
+
16
+ module ActiveMerchant #:nodoc:
17
+ module Billing #:nodoc:
18
+ module Integrations #:nodoc:
19
+ module WirecardCheckoutPage
20
+ autoload :Common, File.dirname(__FILE__) + '/wirecard_checkout_page/common.rb'
21
+ autoload :Helper, File.dirname(__FILE__) + '/wirecard_checkout_page/helper.rb'
22
+ autoload :Notification, File.dirname(__FILE__) + '/wirecard_checkout_page/notification.rb'
23
+ autoload :Return, File.dirname(__FILE__) + '/wirecard_checkout_page/return.rb'
24
+
25
+ mattr_accessor :service_url
26
+ self.service_url = 'https://checkout.wirecard.com/page/init.php'
27
+
28
+ def self.notification(post, options)
29
+ Notification.new(post, options)
30
+ end
31
+
32
+ def self.return(postdata, options)
33
+ Return.new(postdata, options)
34
+ end
35
+
36
+ end
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,104 @@
1
+ =begin
2
+ * Shop System Plugins - Terms of use
3
+ *
4
+ * This terms of use regulates warranty and liability between Wirecard Central Eastern Europe (subsequently referred to as WDCEE) and it's
5
+ * contractual partners (subsequently referred to as customer or customers) which are related to the use of plugins provided by WDCEE.
6
+ *
7
+ * The Plugin is provided by WDCEE free of charge for it's customers and must be used for the purpose of WDCEE's payment platform
8
+ * integration only. It explicitly is not part of the general contract between WDCEE and it's customer. The plugin has successfully been tested
9
+ * under specific circumstances which are defined as the shopsystem's standard configuration (vendor's delivery state). The Customer is
10
+ * responsible for testing the plugin's functionality before putting it into production enviroment.
11
+ * The customer uses the plugin at own risk. WDCEE does not guarantee it's full functionality neither does WDCEE assume liability for any
12
+ * disadvantage related to the use of this plugin. By installing the plugin into the shopsystem the customer agrees to the terms of use.
13
+ * Please do not use this plugin if you do not agree to the terms of use!
14
+ =end
15
+
16
+ module ActiveMerchant #:nodoc:
17
+ module Billing #:nodoc:
18
+ module Integrations #:nodoc:
19
+ module WirecardCheckoutPage
20
+ module Common
21
+
22
+ mattr_accessor :paymenttypes
23
+ self.paymenttypes = %w(
24
+ SELECT
25
+ CCARD
26
+ BANCONTACT_MISTERCASH
27
+ C2P
28
+ CCARD-MOTO
29
+ EKONTO
30
+ ELV
31
+ EPS
32
+ GIROPAY
33
+ IDL
34
+ INSTALLMENT
35
+ INSTANTBANK
36
+ INVOICE
37
+ MAESTRO
38
+ MONETA
39
+ MPASS
40
+ PRZELEWY24
41
+ PAYPAL
42
+ PBX
43
+ POLI
44
+ PSC
45
+ QUICK
46
+ SKRILLDIRECT
47
+ SKRILLWALLET
48
+ SOFORTUEBERWEISUNG)
49
+
50
+ def message
51
+ @message
52
+ end
53
+
54
+ def verify_response(params, secret)
55
+
56
+ logstr = ''
57
+ params.each { |key, value|
58
+ logstr += "#{key} #{value}\n"
59
+ }
60
+
61
+ @paymentstate = 'FAILURE'
62
+
63
+ unless params.has_key?('paymentState')
64
+ @message = "paymentState is missing"
65
+ return false
66
+ end
67
+
68
+ if params['paymentState'] == 'SUCCESS' || params['paymentState'] == 'PENDING'
69
+ unless params.has_key?('responseFingerprint')
70
+ @message = "responseFingerprint is missing"
71
+ return false
72
+ end
73
+
74
+ unless params.has_key?('responseFingerprintOrder')
75
+ @message = "responseFingerprintOrder is missing"
76
+ return false
77
+ end
78
+
79
+ end
80
+
81
+ if params['paymentState'] == 'SUCCESS' || params['paymentState'] == 'PENDING'
82
+ fields = params['responseFingerprintOrder'].split(",")
83
+ values = ''
84
+ fields.each { |f|
85
+ values += f == 'secret' ? secret : params[f]
86
+ }
87
+
88
+
89
+ if Digest::MD5.hexdigest(values) != params['responseFingerprint']
90
+ @message = "responseFingerprint verification failed"
91
+ return false
92
+ end
93
+ end
94
+
95
+ @paymentstate = params['paymentState']
96
+ true
97
+ end
98
+
99
+ end
100
+
101
+ end
102
+ end
103
+ end
104
+ end
@@ -0,0 +1,145 @@
1
+ module ActiveMerchant #:nodoc:
2
+ module Billing #:nodoc:
3
+ module Integrations #:nodoc:
4
+ module WirecardCheckoutPage
5
+ class Helper < ActiveMerchant::Billing::Integrations::Helper
6
+ include Common
7
+
8
+ PLUGIN_NAME = 'ActiveMerchant_WirecardCheckoutPage'
9
+ PLUGIN_VERSION = '1.0.0'
10
+
11
+ # Replace with the real mapping
12
+ mapping :account, 'customerId'
13
+ mapping :amount, 'amount'
14
+
15
+ mapping :order, 'xActiveMerchantOrderId'
16
+
17
+ mapping :customer, :first_name => 'consumerBillingFirstName',
18
+ :last_name => 'consumerBillingLastName',
19
+ :email => 'consumerEmail',
20
+ :phone => 'consumerBillingPhone',
21
+ :ipaddress => 'consumerIpAddress',
22
+ :user_agent => 'consumerUserAgent',
23
+ :fax => 'consumerBillingFax',
24
+ :birthdate => 'consumerBirthDate' # mandatory for INVOICE and INSTALLMENT
25
+
26
+ mapping :billing_address, :city => 'consumerBillingCity',
27
+ :address1 => 'consumerBillingAddress1',
28
+ :address2 => 'consumerBillingAddress2',
29
+ :state => 'consumerBillingState',
30
+ :zip => 'consumerBillingZipCode',
31
+ :country => 'consumerBillingCountry'
32
+
33
+ mapping :shipping_address, :first_name => 'consumerShippingFirstName',
34
+ :last_name => 'consumerShippingLastName',
35
+ :address1 => 'consumerShippingAddress1',
36
+ :address2 => 'consumerShippingAddress2',
37
+ :city => 'consumerShippingCity',
38
+ :state => 'consumerShippingState',
39
+ :country => 'consumerShippingCountry',
40
+ :zip => 'consumerShippingZipCode',
41
+ :phone => 'consumerShippingPhone',
42
+ :fax => 'consumerShippingFax'
43
+
44
+ mapping :currency, 'currency'
45
+ mapping :language, 'language' # language for displayed texts on payment page
46
+
47
+ mapping :description, 'orderDescription' # unique description of the consumer's order in a human readable form
48
+
49
+ mapping :shop_service_url, 'serviceUrl' # URL of your service page containing contact information
50
+
51
+ mapping :notify_url, 'confirmUrl'
52
+ mapping :return_url, 'successUrl'
53
+
54
+ # defaulting to return_url
55
+ mapping :cancel_return_url, 'cancelUrl'
56
+ mapping :pending_url, 'pendingUrl'
57
+ mapping :failure_url, 'failureUrl'
58
+
59
+ # optional parameters
60
+ mapping :window_name, 'windowName' # window.name of browser window where payment page is opened
61
+ mapping :duplicate_request_check, 'duplicateRequestCheck' # check for duplicate requests done by your consumer
62
+ mapping :customer_statement, 'customerStatement' # text displayed on invoice of financial institution of your consumer
63
+ mapping :order_reference, 'orderReference' # unique order reference id sent from merchant to financial institution
64
+ mapping :display_text, 'displayText' # text displayed to your consumer within the payment page
65
+ mapping :image_url, 'imageUrl' # URL of your web shop where your web shop logo is located
66
+ mapping :max_retries, 'maxRetries' # maximum number of attempted payments for the same order
67
+ mapping :auto_deposit, 'autoDeposit' # enable automated debiting of payments
68
+ mapping :financial_institution, 'financialInstitution' # based on pre-selected payment type a sub-selection of financial institutions regarding to pre-selected payment type
69
+
70
+ # not used
71
+ mapping :tax, ''
72
+ mapping :shipping, ''
73
+
74
+ def initialize(order, customer_id, options = {})
75
+ @paymenttype = options.delete(:paymenttype)
76
+
77
+ raise "Unknown Paymenttype: " + @paymenttype if paymenttypes.find_index(@paymenttype) == nil
78
+
79
+ @secret = options.delete(:secret)
80
+ @customer_id = customer_id
81
+ @shop_id = options.delete(:shop_id)
82
+ super
83
+ end
84
+
85
+ def add_version(shop_name, shop_version)
86
+ add_field('pluginVersion', Base64.encode64(shop_name + ';' + shop_version + ';ActiveMerchant;' + PLUGIN_NAME + ';' + PLUGIN_VERSION))
87
+ end
88
+
89
+ def add_standard_fields
90
+ addfields = {}
91
+ addfields['shopId'] = @shop_id if !@shop_id.blank?
92
+ addfields['paymentType'] = @paymenttype
93
+
94
+ addfields[mappings[:pending_url]] = @fields[mappings[:return_url]] unless @fields.has_key?(mappings[:pending_url])
95
+ addfields[mappings[:cancel_return_url]] = @fields[mappings[:return_url]] unless @fields.has_key?(mappings[:cancel_return_url])
96
+ addfields[mappings[:failure_url]] = @fields[mappings[:return_url]] unless @fields.has_key?(mappings[:failure_url])
97
+
98
+ addfields
99
+ end
100
+
101
+ def add_request_fingerprint(fpfields)
102
+ addfields = {}
103
+ fingerprint_order = %w(secret)
104
+ fingerprint_values = @secret.to_s
105
+ fpfields.each { |key, value|
106
+ next if key == 'pluginVersion'
107
+ fingerprint_order.append key
108
+ fingerprint_values += value.to_s
109
+ }
110
+
111
+ fingerprint_order.append 'requestFingerprintOrder'
112
+ fingerprint_values += fingerprint_order.join(',')
113
+
114
+ addfields['requestFingerprintOrder'] = fingerprint_order.join(',')
115
+ addfields['requestFingerprint'] = Digest::MD5.hexdigest(fingerprint_values)
116
+
117
+ return addfields
118
+ end
119
+
120
+ def form_fields
121
+ result = {}
122
+ result.merge!(@fields)
123
+ result.merge!(add_standard_fields)
124
+ result.merge!(add_request_fingerprint(result))
125
+ result
126
+ end
127
+
128
+ def secret
129
+ @secret
130
+ end
131
+
132
+ def customer_id
133
+ @customer_id
134
+ end
135
+
136
+ def shop_id
137
+ @shop_id
138
+ end
139
+
140
+ end
141
+
142
+ end
143
+ end
144
+ end
145
+ end
@@ -0,0 +1,101 @@
1
+ require 'net/http'
2
+
3
+ module ActiveMerchant #:nodoc:
4
+ module Billing #:nodoc:
5
+ module Integrations #:nodoc:
6
+ module WirecardCheckoutPage
7
+ class Notification < ActiveMerchant::Billing::Integrations::Notification
8
+ include Common
9
+
10
+ def complete?
11
+ @paymentstate == 'SUCCESS'
12
+ end
13
+
14
+ def item_id
15
+ params['xActiveMerchantOrderId']
16
+ end
17
+
18
+ def transaction_id
19
+ params['orderNumber']
20
+ end
21
+
22
+ # When was this payment received by the client.
23
+ def received_at
24
+ nil
25
+ end
26
+
27
+ # the money amount we received in X.2 decimal.
28
+ def gross
29
+ params['amount']
30
+ end
31
+
32
+ # Was this a test transaction?
33
+ def test?
34
+ false
35
+ end
36
+
37
+ def status
38
+ case @paymentstate
39
+ when 'SUCCESS'
40
+ 'Completed'
41
+ when 'PENDING'
42
+ 'Pending'
43
+ when 'CANCEL'
44
+ 'Cancelled'
45
+ when 'FAILURE'
46
+ 'Failed'
47
+ else
48
+ 'Error'
49
+ end
50
+ end
51
+
52
+ def status_code
53
+ @paymentstate
54
+ end
55
+
56
+
57
+ # Acknowledge the transaction to WirecardCheckoutPage. This method has to be called after a new
58
+ # apc arrives. WirecardCheckoutPage will verify that all the information we received are correct and will return a
59
+ # ok or a fail.
60
+ #
61
+ # Example:
62
+ #
63
+ # def ipn
64
+ # notify = WirecardCheckoutPageNotification.new(request.raw_post, options)
65
+ #
66
+ # if notify.acknowledge
67
+ # ... process order ... if notify.complete?
68
+ # else
69
+ # ... log possible hacking attempt ...
70
+ # end
71
+ def acknowledge
72
+ verify_response(params, @options[:secret])
73
+ end
74
+
75
+ def response(umessage = nil)
76
+ if @message || umessage
77
+ '<QPAY-CONFIRMATION-RESPONSE result="NOK" message="' + CGI.escapeHTML(umessage ? umessage : @message) + '"/>'
78
+ else
79
+ '<QPAY-CONFIRMATION-RESPONSE result="OK"/>'
80
+ end
81
+ end
82
+
83
+ def method_missing(method_id, *args)
84
+ return params[method_id.to_s] if params.has_key?(method_id.to_s)
85
+ end
86
+
87
+ private
88
+
89
+ # Take the posted data and move the relevant data into a hash
90
+ def parse(post)
91
+ @raw = post.to_s
92
+ for line in @raw.split('&')
93
+ key, value = *line.scan( %r{^([A-Za-z0-9_.]+)\=(.*)$} ).flatten
94
+ params[key] = CGI.unescape(value)
95
+ end
96
+ end
97
+ end
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,35 @@
1
+ module ActiveMerchant #:nodoc:
2
+ module Billing #:nodoc:
3
+ module Integrations #:nodoc:
4
+ module WirecardCheckoutPage
5
+ class Return < ActiveMerchant::Billing::Integrations::Return
6
+ include Common
7
+
8
+ def initialize(postdata, options = {})
9
+ @params = parse(postdata)
10
+ @options = options
11
+ verify_response(@params, options[:secret])
12
+ end
13
+
14
+ def success?
15
+ @paymentstate == 'SUCCESS'
16
+ end
17
+
18
+ def cancelled?
19
+ @paymentstate == 'CANCEL'
20
+ end
21
+
22
+ def pending?
23
+ @paymentstate == 'PENDING'
24
+ end
25
+
26
+ def method_missing(method_id, *args)
27
+ return params[method_id.to_s] if params.has_key?(method_id.to_s)
28
+ end
29
+
30
+ end
31
+ end
32
+ end
33
+ end
34
+ end
35
+
@@ -1,3 +1,3 @@
1
1
  module ActiveMerchant
2
- VERSION = "1.41.0"
2
+ VERSION = "1.42.0"
3
3
  end
metadata CHANGED
@@ -1,48 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activemerchant
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.41.0
5
- prerelease:
4
+ version: 1.42.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Tobias Luetke
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain:
12
- - !binary |-
13
- LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUROakNDQWg2Z0F3SUJB
14
- Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREJCTVJNd0VRWURWUVFEREFwamIy
15
- UjUKWm1GMWMyVnlNUlV3RXdZS0NaSW1pWlB5TEdRQkdSWUZaMjFoYVd3eEV6
16
- QVJCZ29Ka2lhSmsvSXNaQUVaRmdOagpiMjB3SGhjTk1EY3dNakl5TVRjeU1U
17
- STNXaGNOTURnd01qSXlNVGN5TVRJM1dqQkJNUk13RVFZRFZRUUREQXBqCmIy
18
- UjVabUYxYzJWeU1SVXdFd1lLQ1pJbWlaUHlMR1FCR1JZRloyMWhhV3d4RXpB
19
- UkJnb0praWFKay9Jc1pBRVoKRmdOamIyMHdnZ0VpTUEwR0NTcUdTSWIzRFFF
20
- QkFRVUFBNElCRHdBd2dnRUtBb0lCQVFDNlQ0SXF0NWlXdkFsVQppWEk2TDhV
21
- TzBVUlFoSUM2NVgvZ0o5aEwveDRsd1NsL2NrVm0vUi9iUHJKR21pZlQrWW9v
22
- RnY4MjROM3kvVElYCjI1by9sWnRSajFUVVpKSzRPQ2IwYVZ6b3NRVnhCSFNl
23
- NnJMbXhPOGNJdE5UTU9NOXduM3RoYUlURnJUYTFET1EKTzN3cUVqdlcyTDZW
24
- TW96VmZLMU1makw5SUdneTByQ25sKzJnNEdoNGpERHBrTGZuTUc1Q1dJNmNU
25
- Q2YzQzF5ZQp5dE9wV2dpMFhwT0V5OG5RV2NGbXQvS0NRL2tGZnpCbzRReHFK
26
- aTU0YjgwODQyRXl2eldUOU9CN09ldy9DWFpHCkYyeUlIdGlZeG9uejZOMDl2
27
- dlN6cTRDdkV1aXNvVUZMS1pua3RuZHhNRUJLd0pVM1hlU0hBYnVTN2l4NDBP
28
- S08KV0t1STU0ZkhBZ01CQUFHak9UQTNNQWtHQTFVZEV3UUNNQUF3Q3dZRFZS
29
- MFBCQVFEQWdTd01CMEdBMVVkRGdRVwpCQlI5UVFwZWZJM29EQ0F4aXFKVy8z
30
- R2c2akk2cWpBTkJna3Foa2lHOXcwQkFRVUZBQU9DQVFFQXMwbFgyNk8rCkhw
31
- eU1wN1dMK1NnWnVNOGs3NkFqZk9IdUthamwyR0VuM1M4cFdZR3BzYTB4dTA3
32
- SHRlaEpoS0xpYXZyZlVZZUUKcWxGdHlZTVV5T2g2LzFTMnZma0g2VnFqWDdt
33
- V2pvaTdYS0hXLzk5ZmtNUzQwQjVTYk4reXBBVXN0KzZjNVI4NAp3MzkwbWp0
34
- TEhwZERFNldRWWhTNmJGdkJONTN2SzZqRzNETHlDSmMwSzl1TVE3Z2RIV294
35
- cTdSbkc5Mm5jUXBUClRocFJBK2ZreTVYdDJRNjNZSkRuSnBrWUF6NzlRSWFt
36
- YTFlblNuZDRqc2xLelNsODlKUzJsdXEvemlvUGUvVXMKaGJ5YWxXUjErSHJo
37
- Z1BvU1BxN25rK3MyRlFVQko5VVpGSzFsZ016aG8vNGZaZ3pKd2J1K2NPOFNO
38
- dWFMUy9iagpoUGFTVHlWVTB5Q1Nudz09Ci0tLS0tRU5EIENFUlRJRklDQVRF
39
- LS0tLS0K
40
- date: 2013-10-24 00:00:00.000000000 Z
11
+ - gem-public_cert.pem
12
+ date: 2013-11-13 00:00:00.000000000 Z
41
13
  dependencies:
42
14
  - !ruby/object:Gem::Dependency
43
15
  name: activesupport
44
16
  requirement: !ruby/object:Gem::Requirement
45
- none: false
46
17
  requirements:
47
18
  - - ! '>='
48
19
  - !ruby/object:Gem::Version
@@ -53,7 +24,6 @@ dependencies:
53
24
  type: :runtime
54
25
  prerelease: false
55
26
  version_requirements: !ruby/object:Gem::Requirement
56
- none: false
57
27
  requirements:
58
28
  - - ! '>='
59
29
  - !ruby/object:Gem::Version
@@ -64,7 +34,6 @@ dependencies:
64
34
  - !ruby/object:Gem::Dependency
65
35
  name: i18n
66
36
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
37
  requirements:
69
38
  - - ~>
70
39
  - !ruby/object:Gem::Version
@@ -72,7 +41,6 @@ dependencies:
72
41
  type: :runtime
73
42
  prerelease: false
74
43
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
44
  requirements:
77
45
  - - ~>
78
46
  - !ruby/object:Gem::Version
@@ -80,23 +48,20 @@ dependencies:
80
48
  - !ruby/object:Gem::Dependency
81
49
  name: money
82
50
  requirement: !ruby/object:Gem::Requirement
83
- none: false
84
51
  requirements:
85
52
  - - <
86
53
  - !ruby/object:Gem::Version
87
- version: 6.0.0
54
+ version: 7.0.0
88
55
  type: :runtime
89
56
  prerelease: false
90
57
  version_requirements: !ruby/object:Gem::Requirement
91
- none: false
92
58
  requirements:
93
59
  - - <
94
60
  - !ruby/object:Gem::Version
95
- version: 6.0.0
61
+ version: 7.0.0
96
62
  - !ruby/object:Gem::Dependency
97
63
  name: builder
98
64
  requirement: !ruby/object:Gem::Requirement
99
- none: false
100
65
  requirements:
101
66
  - - ! '>='
102
67
  - !ruby/object:Gem::Version
@@ -107,7 +72,6 @@ dependencies:
107
72
  type: :runtime
108
73
  prerelease: false
109
74
  version_requirements: !ruby/object:Gem::Requirement
110
- none: false
111
75
  requirements:
112
76
  - - ! '>='
113
77
  - !ruby/object:Gem::Version
@@ -118,7 +82,6 @@ dependencies:
118
82
  - !ruby/object:Gem::Dependency
119
83
  name: json
120
84
  requirement: !ruby/object:Gem::Requirement
121
- none: false
122
85
  requirements:
123
86
  - - ~>
124
87
  - !ruby/object:Gem::Version
@@ -126,7 +89,6 @@ dependencies:
126
89
  type: :runtime
127
90
  prerelease: false
128
91
  version_requirements: !ruby/object:Gem::Requirement
129
- none: false
130
92
  requirements:
131
93
  - - ~>
132
94
  - !ruby/object:Gem::Version
@@ -134,7 +96,6 @@ dependencies:
134
96
  - !ruby/object:Gem::Dependency
135
97
  name: active_utils
136
98
  requirement: !ruby/object:Gem::Requirement
137
- none: false
138
99
  requirements:
139
100
  - - ~>
140
101
  - !ruby/object:Gem::Version
@@ -145,7 +106,6 @@ dependencies:
145
106
  type: :runtime
146
107
  prerelease: false
147
108
  version_requirements: !ruby/object:Gem::Requirement
148
- none: false
149
109
  requirements:
150
110
  - - ~>
151
111
  - !ruby/object:Gem::Version
@@ -156,7 +116,6 @@ dependencies:
156
116
  - !ruby/object:Gem::Dependency
157
117
  name: nokogiri
158
118
  requirement: !ruby/object:Gem::Requirement
159
- none: false
160
119
  requirements:
161
120
  - - ~>
162
121
  - !ruby/object:Gem::Version
@@ -164,7 +123,6 @@ dependencies:
164
123
  type: :runtime
165
124
  prerelease: false
166
125
  version_requirements: !ruby/object:Gem::Requirement
167
- none: false
168
126
  requirements:
169
127
  - - ~>
170
128
  - !ruby/object:Gem::Version
@@ -172,7 +130,6 @@ dependencies:
172
130
  - !ruby/object:Gem::Dependency
173
131
  name: rake
174
132
  requirement: !ruby/object:Gem::Requirement
175
- none: false
176
133
  requirements:
177
134
  - - ! '>='
178
135
  - !ruby/object:Gem::Version
@@ -180,7 +137,6 @@ dependencies:
180
137
  type: :development
181
138
  prerelease: false
182
139
  version_requirements: !ruby/object:Gem::Requirement
183
- none: false
184
140
  requirements:
185
141
  - - ! '>='
186
142
  - !ruby/object:Gem::Version
@@ -188,7 +144,6 @@ dependencies:
188
144
  - !ruby/object:Gem::Dependency
189
145
  name: mocha
190
146
  requirement: !ruby/object:Gem::Requirement
191
- none: false
192
147
  requirements:
193
148
  - - ~>
194
149
  - !ruby/object:Gem::Version
@@ -196,7 +151,6 @@ dependencies:
196
151
  type: :development
197
152
  prerelease: false
198
153
  version_requirements: !ruby/object:Gem::Requirement
199
- none: false
200
154
  requirements:
201
155
  - - ~>
202
156
  - !ruby/object:Gem::Version
@@ -204,7 +158,6 @@ dependencies:
204
158
  - !ruby/object:Gem::Dependency
205
159
  name: rails
206
160
  requirement: !ruby/object:Gem::Requirement
207
- none: false
208
161
  requirements:
209
162
  - - ! '>='
210
163
  - !ruby/object:Gem::Version
@@ -212,7 +165,6 @@ dependencies:
212
165
  type: :development
213
166
  prerelease: false
214
167
  version_requirements: !ruby/object:Gem::Requirement
215
- none: false
216
168
  requirements:
217
169
  - - ! '>='
218
170
  - !ruby/object:Gem::Version
@@ -220,7 +172,6 @@ dependencies:
220
172
  - !ruby/object:Gem::Dependency
221
173
  name: thor
222
174
  requirement: !ruby/object:Gem::Requirement
223
- none: false
224
175
  requirements:
225
176
  - - ! '>='
226
177
  - !ruby/object:Gem::Version
@@ -228,7 +179,6 @@ dependencies:
228
179
  type: :development
229
180
  prerelease: false
230
181
  version_requirements: !ruby/object:Gem::Requirement
231
- none: false
232
182
  requirements:
233
183
  - - ! '>='
234
184
  - !ruby/object:Gem::Version
@@ -257,6 +207,7 @@ files:
257
207
  - lib/active_merchant/billing/cvv_result.rb
258
208
  - lib/active_merchant/billing/expiry_date.rb
259
209
  - lib/active_merchant/billing/gateway.rb
210
+ - lib/active_merchant/billing/gateways/app55.rb
260
211
  - lib/active_merchant/billing/gateways/authorize_net.rb
261
212
  - lib/active_merchant/billing/gateways/authorize_net_cim.rb
262
213
  - lib/active_merchant/billing/gateways/balanced.rb
@@ -333,6 +284,7 @@ files:
333
284
  - lib/active_merchant/billing/gateways/orbital/avs_result.rb
334
285
  - lib/active_merchant/billing/gateways/orbital/orbital_soft_descriptors.rb
335
286
  - lib/active_merchant/billing/gateways/orbital.rb
287
+ - lib/active_merchant/billing/gateways/pac_net_raven.rb
336
288
  - lib/active_merchant/billing/gateways/pay_gate_xml.rb
337
289
  - lib/active_merchant/billing/gateways/pay_junction.rb
338
290
  - lib/active_merchant/billing/gateways/pay_secure.rb
@@ -380,6 +332,7 @@ files:
380
332
  - lib/active_merchant/billing/gateways/smart_ps.rb
381
333
  - lib/active_merchant/billing/gateways/spreedly_core.rb
382
334
  - lib/active_merchant/billing/gateways/stripe.rb
335
+ - lib/active_merchant/billing/gateways/swipe_checkout.rb
383
336
  - lib/active_merchant/billing/gateways/trans_first.rb
384
337
  - lib/active_merchant/billing/gateways/transax.rb
385
338
  - lib/active_merchant/billing/gateways/transnational.rb
@@ -550,6 +503,11 @@ files:
550
503
  - lib/active_merchant/billing/integrations/webmoney/helper.rb
551
504
  - lib/active_merchant/billing/integrations/webmoney/notification.rb
552
505
  - lib/active_merchant/billing/integrations/webmoney.rb
506
+ - lib/active_merchant/billing/integrations/wirecard_checkout_page/common.rb
507
+ - lib/active_merchant/billing/integrations/wirecard_checkout_page/helper.rb
508
+ - lib/active_merchant/billing/integrations/wirecard_checkout_page/notification.rb
509
+ - lib/active_merchant/billing/integrations/wirecard_checkout_page/return.rb
510
+ - lib/active_merchant/billing/integrations/wirecard_checkout_page.rb
553
511
  - lib/active_merchant/billing/integrations/world_pay/helper.rb
554
512
  - lib/active_merchant/billing/integrations/world_pay/notification.rb
555
513
  - lib/active_merchant/billing/integrations/world_pay.rb
@@ -565,26 +523,25 @@ files:
565
523
  homepage: http://activemerchant.org/
566
524
  licenses:
567
525
  - MIT
526
+ metadata: {}
568
527
  post_install_message:
569
528
  rdoc_options: []
570
529
  require_paths:
571
530
  - lib
572
531
  required_ruby_version: !ruby/object:Gem::Requirement
573
- none: false
574
532
  requirements:
575
533
  - - ! '>='
576
534
  - !ruby/object:Gem::Version
577
535
  version: '0'
578
536
  required_rubygems_version: !ruby/object:Gem::Requirement
579
- none: false
580
537
  requirements:
581
538
  - - ! '>='
582
539
  - !ruby/object:Gem::Version
583
540
  version: '0'
584
541
  requirements: []
585
542
  rubyforge_project: activemerchant
586
- rubygems_version: 1.8.23
543
+ rubygems_version: 2.1.10
587
544
  signing_key:
588
- specification_version: 3
545
+ specification_version: 4
589
546
  summary: Framework and tools for dealing with credit card transactions.
590
547
  test_files: []