README.md in new_alipay-0.2.0 vs README.md in new_alipay-0.2.2
- old
+ new
@@ -118,18 +118,20 @@
```
####验证付款结果
```ruby
+#params.except(*request.env.keys.push(:route_info))
request_result = NewAlipay::BatchTrans.verify_notify?({
_input_charset: 'utf-8',
batch_fee: 0.01,
account_name: 'xxxx公司',
partner: '208890xxxxyyyy',
batch_no: '20160331xxxxxx',
sign: 'bc98542c95d33b08752qweq2a1ce162c8d',
detail_data: '201603316694019891235827213^152xxxxyyyy^xxxx^0.01^测试支付&email=yyyyxxx@qq.com¬ify_url=http://test.yourserver.com/',
pay_date: '2016-03-31',
+ notify_id: 'xxxxxxxx',
batch_num: 1,
service: 'batch_trans_notify',
sign_type: 'MD5'
})
puts request_result