offsite_payments 2.6.0 → 2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/offsite_payments/integrations/paytm.rb +5 -2
- data/lib/offsite_payments/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 977c0a47bbf4b3bad338b55b596dfef58a4c53aa
|
4
|
+
data.tar.gz: aad5880a06eb50759eee02e7fc3b0b4f573f68a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a93c305e1371bc1ad53349f5aaea48929fa9757e0011b9b9d3ada62eb631c456e524636a4dedfabb9db4993a4b4d2d39b515c5c19885f263282ed5a3ae95307
|
7
|
+
data.tar.gz: cc17d8dbbf89ec9a21bb4e6008b79cf3f6c6340c639b7bc17e057e4d43818139de105963d6f3fbbea213a12e78c1296cf79e3e3c8be946de9b7dda7cf94e090f
|
@@ -77,9 +77,12 @@ module OffsitePayments #:nodoc:
|
|
77
77
|
end
|
78
78
|
|
79
79
|
def encrypt_checksum
|
80
|
-
payload_items =
|
81
|
-
|
80
|
+
payload_items = {}
|
81
|
+
|
82
|
+
CHECKSUM_FIELDS.each do |field|
|
83
|
+
payload_items[field] = @fields[field]
|
82
84
|
end
|
85
|
+
|
83
86
|
Paytm.encrypt(Paytm.checksum(payload_items), @options[:credential2])
|
84
87
|
end
|
85
88
|
|
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.6.
|
4
|
+
version: 2.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Luetke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|