offsite_payments 2.7.8 → 2.7.10
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6784710cabbc90a43b307a4cc412047c96a6171
|
4
|
+
data.tar.gz: d86bd553ec1eae59bc7482169ee53d9047b036e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c0ef45575498d7af98ebfd5b39a6abca73ddf8b0dfa1588c8db87528e05406ea09c853854a543f18c808c14cecca2a36dc242286f0d7dd4c6aa890c90a43f8e
|
7
|
+
data.tar.gz: 813a8370cd80285e9bbc94759d2a5eeb0f293f2c496708f2fb5cf76933aa7cc9d6141d39be893976ac9c5521cb6f95ca58e1f7387a2dc509220ec1bfecea1d87
|
@@ -106,9 +106,8 @@ module OffsitePayments #:nodoc:
|
|
106
106
|
|
107
107
|
def status
|
108
108
|
case transaction_status.downcase
|
109
|
-
|
110
|
-
|
111
|
-
when 'pending' then 'Pending'
|
109
|
+
when 'success' then 'Completed'
|
110
|
+
else 'Failed'
|
112
111
|
end
|
113
112
|
end
|
114
113
|
|
@@ -5,7 +5,7 @@ module OffsitePayments #:nodoc:
|
|
5
5
|
self.service_url = 'https://secure.quickpay.dk/form/'
|
6
6
|
|
7
7
|
def self.notification(post, options = {})
|
8
|
-
Notification.new(post)
|
8
|
+
Notification.new(post, options)
|
9
9
|
end
|
10
10
|
|
11
11
|
def self.return(post, options = {})
|
@@ -180,6 +180,7 @@ module OffsitePayments #:nodoc:
|
|
180
180
|
:cardnumber,
|
181
181
|
:cardhash,
|
182
182
|
:cardexpire,
|
183
|
+
:acquirer,
|
183
184
|
:splitpayment,
|
184
185
|
:fraudprobability,
|
185
186
|
:fraudremarks,
|
@@ -195,8 +196,6 @@ module OffsitePayments #:nodoc:
|
|
195
196
|
Digest::MD5.hexdigest(generate_md5string)
|
196
197
|
end
|
197
198
|
|
198
|
-
# Quickpay doesn't do acknowledgements of callback notifications
|
199
|
-
# Instead it uses and MD5 hash of all parameters
|
200
199
|
def acknowledge(authcode = nil)
|
201
200
|
generate_md5check == params['md5check']
|
202
201
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: offsite_payments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.7.
|
4
|
+
version: 2.7.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Luetke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|