Commit 8141a44040d85efe165965840d55624ccdbc02b0
1 parent
c4864ae254
Exists in
master
modify document for v3.3.15
Showing 1 changed file with 3 additions and 12 deletions Side-by-side Diff
doc/AndroidDocument.md
| ... | ... | @@ -2,8 +2,8 @@ |
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | 接入手册 |
| 5 | -V 3.3.14 | |
| 6 | -2016年08月11日 | |
| 5 | +V 3.3.15 | |
| 6 | +2016年08月25日 | |
| 7 | 7 | |
| 8 | 8 | 快速入口: |
| 9 | 9 | [支付部分服务端回调文档](http://git.letsgame.mobi/document/gumptech-document/blob/master/doc/ServerDocument.md) |
| ... | ... | @@ -201,16 +201,7 @@ InitializeCallback为初始化回调接口,此接口只有一个回调方法init |
| 201 | 201 | payInfo.putString("sessionKey","sessionkey"); |
| 202 | 202 | GumpSDK.pay(MainActivity.this, payInfo,PurchaseCallback); |
| 203 | 203 | 调用pay方法时,必须穿入一个bundle对象,包含如上字段,除nick和roleId外所有字段必须全部包含,其中sessionKey为登录时返回的sessionKey |
| 204 | - 2)未使用gump通行证登录,需要传入用户id,同时sessionKey不再需要 | |
| 205 | - | |
| 206 | - Bundle payInfo = new Bundle(); | |
| 207 | - payInfo.putString("nick", "thi"); | |
| 208 | - payInfo.putString("product", "元宝"); | |
| 209 | - payInfo.putFloat("amount", 40.0f); | |
| 210 | - payInfo.putString("extraInfo", "This is demo!"); | |
| 211 | - payInfo.putString("serverId", "B4003"); | |
| 212 | - payInfo.putString("roleId", "10010"); | |
| 213 | - GumpSDK.pay(MainActivity.this, payInfo,userId,PurchaseCallback); | |
| 204 | + | |
| 214 | 205 | |
| 215 | 206 | PurchaseCallback为支付状态回调接口,此接口含有3个方法 |
| 216 | 207 |