Showing
2 changed files
with
3 additions
and
5 deletions
| 1 | # 更新说明 | 1 | # 更新说明 |
| 2 | 2018-01-16<br> | 2 | 2018-01-16<br> |
| 3 | 1、添加单机轮询补单处理 | 3 | 1、添加单机轮询补单处理 |
| 4 | -单机游戏无服务端时需调用接口: | 4 | +单机游戏无服务端时需调用接口:<br> |
| 5 | -(1)PoolSdkHelper.setPayListener(mPoolPayListener );调用登录接口前调用 | 5 | +(1)PoolSdkHelper.setPayListener(mPoolPayListener );调用登录接口前调用<br> |
| 6 | (2)PoolSdkHelper.paymentSuccess(AppActivity.this, orderIds.toString()); 游戏发货成功时调用,样例可查看文档 | 6 | (2)PoolSdkHelper.paymentSuccess(AppActivity.this, orderIds.toString()); 游戏发货成功时调用,样例可查看文档 |
| 7 | 7 | ||
| 8 | 2017-07-31<br> | 8 | 2017-07-31<br> | ... | ... |
| ... | @@ -300,7 +300,7 @@ public static void pay(final PoolPayInfo poolPayInfo,final PoolPayListener poolP | ... | @@ -300,7 +300,7 @@ public static void pay(final PoolPayInfo poolPayInfo,final PoolPayListener poolP |
| 300 | | roleName | 角色名称 | | 300 | | roleName | 角色名称 | |
| 301 | | serverId | 服务器 id | | 301 | | serverId | 服务器 id | |
| 302 | | serverName | 服务器名称 | | 302 | | serverName | 服务器名称 | |
| 303 | -| exchange | 游戏币与人民币(元)的兑换比例 | | 303 | +| exchange | 游戏币与人民币(元)的兑换比例 `单机游戏时直接传对应购买的道具数量或游戏币数量` | |
| 304 | | custom | 自定义透传参数,通过回调函数原样返回 | | 304 | | custom | 自定义透传参数,通过回调函数原样返回 | |
| 305 | 305 | ||
| 306 | 306 | ||
| ... | @@ -335,12 +335,10 @@ public static void pay(final PoolPayInfo poolPayInfo,final PoolPayListener poolP | ... | @@ -335,12 +335,10 @@ public static void pay(final PoolPayInfo poolPayInfo,final PoolPayListener poolP |
| 335 | PoolSdkHelper.pay(poolPayInfo, new PoolPayListener() { | 335 | PoolSdkHelper.pay(poolPayInfo, new PoolPayListener() { |
| 336 | @Override | 336 | @Override |
| 337 | public void onPaySuccess(String paramCustom) { | 337 | public void onPaySuccess(String paramCustom) { |
| 338 | - //此处回调只用作游戏关闭支付界面等友好显示,实际支付以服务端为准(游戏请勿弹出toast提示支付状态) | ||
| 339 | System.out.println("支付成功 = " + paramCustom); | 338 | System.out.println("支付成功 = " + paramCustom); |
| 340 | } | 339 | } |
| 341 | @Override | 340 | @Override |
| 342 | public void onPayFailed(String paramCustom, String errorMsg) { | 341 | public void onPayFailed(String paramCustom, String errorMsg) { |
| 343 | - //此处回调只用作游戏关闭支付界面等友好显示,实际支付以服务端为准(游戏请勿弹出toast提示支付状态) | ||
| 344 | System.out.println("支付失败 = " + paramCustom + "; errorMsg = " | 342 | System.out.println("支付失败 = " + paramCustom + "; errorMsg = " |
| 345 | + errorMsg); | 343 | + errorMsg); |
| 346 | } | 344 | } | ... | ... |
-
Please register or login to post a comment