new_alipay 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +5 -2
- data/lib/new_alipay/batch_trans.rb +2 -0
- data/lib/new_alipay/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: ce59ea0f8783024b53fc99e72c4d177811451569
|
4
|
+
data.tar.gz: e521b26ad9c4c64243a3d1b452b94259a15384ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47c05b04f92ae3c58c3fa14fe5935eefc307fd1abdf1cba75a254b1fe8cb0acf98494bd30d6a4d0e35466e38b70e306456452b9221bbf4066ff378da97f880f2
|
7
|
+
data.tar.gz: 3e41ba035734090916c796aee90fe215f80667c36aff107ff42aa06214156efae1ccd25f5d4bace2bfcaca80e30bad5a507893cd3f01493058ad0c8ab0d6c864
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -95,10 +95,13 @@ NewAlipay.account_name='xxxx公司/你的真实姓名'
|
|
95
95
|
batch_fee: 0.01,
|
96
96
|
batch_num: 1,
|
97
97
|
detail_data: "#{NewAlipay::BatchTrans.random_trade_no(26)}^152xxxxyyyy^某某^0.01^测试支付"
|
98
|
-
|
99
|
-
|
98
|
+
}) do |hash|
|
99
|
+
puts hash #=>submit的所有参数
|
100
|
+
end
|
101
|
+
|
100
102
|
```
|
101
103
|
####验证付款结果
|
104
|
+
|
102
105
|
```ruby
|
103
106
|
request_result = NewAlipay::BatchTrans.verify_notify?({
|
104
107
|
_input_charset: 'utf-8',
|
data/lib/new_alipay/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: new_alipay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- saxer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|