struggle 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/struggle/pay_gateway.rb +1 -1
- data/struggle.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 493ee67240e333425983862b26e09992f790ac4c
|
4
|
+
data.tar.gz: 478b22a3c1ae9bbf4a801242fa2034dbd353fa8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca9f73094ab238e160073f244709e7e6c52f776548bb579d2df3c992ae2f83d9e56abddf96133afc7f6d4fb5293ae45c6df472b110dc7f9ab15f465f2f80dc9d
|
7
|
+
data.tar.gz: 994c2e5bd308cf77ac80bc6690e68bdf46cb4bbe307ab1980b599f7821e6993d49fecf581ec757f30a5935a6121213a49636407fb760481e11200022d2863d30
|
data/lib/struggle/pay_gateway.rb
CHANGED
@@ -50,7 +50,7 @@ module Struggle
|
|
50
50
|
v_moneytype = params["v_moneytype"]
|
51
51
|
# 20(表示支付成功)
|
52
52
|
# 30(表示支付失败)
|
53
|
-
if v_pstatus=="20" && v_md5str==Digest::MD5.hexdigest(v_oid+v_pstatus+v_amount+v_moneytype+key)
|
53
|
+
if v_pstatus=="20" && v_md5str==Digest::MD5.hexdigest(v_oid+v_pstatus+v_amount+v_moneytype+key).upcase
|
54
54
|
return {code: params["v_oid"], amount: v_amount}
|
55
55
|
else
|
56
56
|
return nil
|
data/struggle.gemspec
CHANGED