README.md in new_alipay-0.1.8 vs README.md in new_alipay-0.1.9
- old
+ new
@@ -93,13 +93,16 @@
request_url = NewAlipay::BatchTrans.submit({
notify_url: 'http://test.yourserver.com/callback',
batch_fee: 0.01,
batch_num: 1,
detail_data: "#{NewAlipay::BatchTrans.random_trade_no(26)}^152xxxxyyyy^某某^0.01^测试支付"
-
- })
+ }) do |hash|
+ puts hash #=>submit的所有参数
+ end
+
```
####验证付款结果
+
```ruby
request_result = NewAlipay::BatchTrans.verify_notify?({
_input_charset: 'utf-8',
batch_fee: 0.01,
account_name: 'xxxx公司',