activemerchant 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. data.tar.gz.sig +0 -0
  2. data/CHANGELOG +9 -0
  3. data/CONTRIBUTORS +21 -1
  4. data/README.rdoc +16 -4
  5. data/lib/active_merchant.rb +2 -0
  6. data/lib/active_merchant/billing/gateways/inspire.rb +221 -0
  7. data/lib/active_merchant/billing/gateways/paybox_direct.rb +205 -0
  8. data/lib/active_merchant/billing/gateways/secure_net.rb +330 -0
  9. data/lib/active_merchant/billing/integrations/bogus.rb +1 -1
  10. data/lib/active_merchant/billing/integrations/chronopay.rb +1 -1
  11. data/lib/active_merchant/billing/integrations/direc_pay.rb +37 -0
  12. data/lib/active_merchant/billing/integrations/direc_pay/helper.rb +188 -0
  13. data/lib/active_merchant/billing/integrations/direc_pay/notification.rb +76 -0
  14. data/lib/active_merchant/billing/integrations/direc_pay/return.rb +32 -0
  15. data/lib/active_merchant/billing/integrations/direc_pay/status.rb +37 -0
  16. data/lib/active_merchant/billing/integrations/gestpay.rb +1 -1
  17. data/lib/active_merchant/billing/integrations/helper.rb +8 -5
  18. data/lib/active_merchant/billing/integrations/hi_trust.rb +1 -1
  19. data/lib/active_merchant/billing/integrations/nochex.rb +1 -1
  20. data/lib/active_merchant/billing/integrations/paypal.rb +1 -1
  21. data/lib/active_merchant/billing/integrations/return.rb +4 -2
  22. data/lib/active_merchant/billing/integrations/sage_pay_form.rb +37 -0
  23. data/lib/active_merchant/billing/integrations/sage_pay_form/encryption.rb +33 -0
  24. data/lib/active_merchant/billing/integrations/sage_pay_form/helper.rb +109 -0
  25. data/lib/active_merchant/billing/integrations/sage_pay_form/notification.rb +204 -0
  26. data/lib/active_merchant/billing/integrations/sage_pay_form/return.rb +27 -0
  27. data/lib/active_merchant/billing/integrations/two_checkout.rb +1 -1
  28. data/lib/active_merchant/version.rb +1 -1
  29. metadata +17 -4
  30. metadata.gz.sig +0 -0
@@ -0,0 +1,27 @@
1
+ module ActiveMerchant #:nodoc:
2
+ module Billing #:nodoc:
3
+ module Integrations #:nodoc:
4
+ module SagePayForm
5
+ class Return < ActiveMerchant::Billing::Integrations::Return
6
+
7
+ def initialize(query_string, options)
8
+ begin
9
+ @notification = Notification.new(query_string, options)
10
+ rescue Notification::CryptError => e
11
+ @message = e.message
12
+ end
13
+ end
14
+
15
+ def success?
16
+ @notification && @notification.complete?
17
+ end
18
+
19
+ def message
20
+ @message || @notification.message
21
+ end
22
+
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
@@ -14,7 +14,7 @@ module ActiveMerchant #:nodoc:
14
14
  Notification.new(post)
15
15
  end
16
16
 
17
- def self.return(query_string)
17
+ def self.return(query_string, options = {})
18
18
  Return.new(query_string)
19
19
  end
20
20
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveMerchant
2
- VERSION = "1.8.0"
2
+ VERSION = "1.9.0"
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: 51
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
- - 8
8
+ - 9
9
9
  - 0
10
- version: 1.8.0
10
+ version: 1.9.0
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-09-24 00:00:00 -04:00
39
+ date: 2010-10-14 00:00:00 -04:00
40
40
  default_executable:
41
41
  dependencies:
42
42
  - !ruby/object:Gem::Dependency
@@ -129,6 +129,7 @@ files:
129
129
  - lib/active_merchant/billing/gateways/exact.rb
130
130
  - lib/active_merchant/billing/gateways/first_pay.rb
131
131
  - lib/active_merchant/billing/gateways/garanti.rb
132
+ - lib/active_merchant/billing/gateways/inspire.rb
132
133
  - lib/active_merchant/billing/gateways/instapay.rb
133
134
  - lib/active_merchant/billing/gateways/iridium.rb
134
135
  - lib/active_merchant/billing/gateways/jetpay.rb
@@ -144,6 +145,7 @@ files:
144
145
  - lib/active_merchant/billing/gateways/ogone.rb
145
146
  - lib/active_merchant/billing/gateways/pay_junction.rb
146
147
  - lib/active_merchant/billing/gateways/pay_secure.rb
148
+ - lib/active_merchant/billing/gateways/paybox_direct.rb
147
149
  - lib/active_merchant/billing/gateways/payflow/payflow_common_api.rb
148
150
  - lib/active_merchant/billing/gateways/payflow/payflow_express_response.rb
149
151
  - lib/active_merchant/billing/gateways/payflow/payflow_response.rb
@@ -169,6 +171,7 @@ files:
169
171
  - lib/active_merchant/billing/gateways/sage.rb
170
172
  - lib/active_merchant/billing/gateways/sage_pay.rb
171
173
  - lib/active_merchant/billing/gateways/sallie_mae.rb
174
+ - lib/active_merchant/billing/gateways/secure_net.rb
172
175
  - lib/active_merchant/billing/gateways/secure_pay.rb
173
176
  - lib/active_merchant/billing/gateways/secure_pay_au.rb
174
177
  - lib/active_merchant/billing/gateways/secure_pay_tech.rb
@@ -191,6 +194,11 @@ files:
191
194
  - lib/active_merchant/billing/integrations/chronopay/notification.rb
192
195
  - lib/active_merchant/billing/integrations/chronopay/return.rb
193
196
  - lib/active_merchant/billing/integrations/chronopay.rb
197
+ - lib/active_merchant/billing/integrations/direc_pay/helper.rb
198
+ - lib/active_merchant/billing/integrations/direc_pay/notification.rb
199
+ - lib/active_merchant/billing/integrations/direc_pay/return.rb
200
+ - lib/active_merchant/billing/integrations/direc_pay/status.rb
201
+ - lib/active_merchant/billing/integrations/direc_pay.rb
194
202
  - lib/active_merchant/billing/integrations/gestpay/common.rb
195
203
  - lib/active_merchant/billing/integrations/gestpay/helper.rb
196
204
  - lib/active_merchant/billing/integrations/gestpay/notification.rb
@@ -214,6 +222,11 @@ files:
214
222
  - lib/active_merchant/billing/integrations/quickpay/notification.rb
215
223
  - lib/active_merchant/billing/integrations/quickpay.rb
216
224
  - lib/active_merchant/billing/integrations/return.rb
225
+ - lib/active_merchant/billing/integrations/sage_pay_form/encryption.rb
226
+ - lib/active_merchant/billing/integrations/sage_pay_form/helper.rb
227
+ - lib/active_merchant/billing/integrations/sage_pay_form/notification.rb
228
+ - lib/active_merchant/billing/integrations/sage_pay_form/return.rb
229
+ - lib/active_merchant/billing/integrations/sage_pay_form.rb
217
230
  - lib/active_merchant/billing/integrations/two_checkout/helper.rb
218
231
  - lib/active_merchant/billing/integrations/two_checkout/notification.rb
219
232
  - lib/active_merchant/billing/integrations/two_checkout/return.rb
metadata.gz.sig CHANGED
Binary file