Merge branch 'master' of ssh://gitlab.9133.com:10022/public_service/public_sdk_android
Showing
2 changed files
with
3 additions
and
1 deletions
| ... | @@ -335,10 +335,12 @@ public static void pay(final PoolPayInfo poolPayInfo,final PoolPayListener poolP | ... | @@ -335,10 +335,12 @@ 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提示支付状态) | ||
| 338 | System.out.println("支付成功 = " + paramCustom); | 339 | System.out.println("支付成功 = " + paramCustom); |
| 339 | } | 340 | } |
| 340 | @Override | 341 | @Override |
| 341 | public void onPayFailed(String paramCustom, String errorMsg) { | 342 | public void onPayFailed(String paramCustom, String errorMsg) { |
| 343 | + //此处回调只用作游戏关闭支付界面等友好显示,实际支付以服务端为准(游戏请勿弹出toast提示支付状态) | ||
| 342 | System.out.println("支付失败 = " + paramCustom + "; errorMsg = " | 344 | System.out.println("支付失败 = " + paramCustom + "; errorMsg = " |
| 343 | + errorMsg); | 345 | + errorMsg); |
| 344 | } | 346 | } | ... | ... |
| ... | @@ -35,7 +35,7 @@ gameSimpleName | string | 平台SDK后台游戏代号名 | ... | @@ -35,7 +35,7 @@ gameSimpleName | string | 平台SDK后台游戏代号名 |
| 35 | sdkSimpleName | string | 平台SDK代号 | 35 | sdkSimpleName | string | 平台SDK代号 |
| 36 | queryId | string | 平台SDK订单号 | 36 | queryId | string | 平台SDK订单号 |
| 37 | postTime | string | 订单创建时间戳 | 37 | postTime | string | 订单创建时间戳 |
| 38 | - | 38 | +sign | string | 升级Md5加密的值 |
| 39 | 验证方式: | 39 | 验证方式: |
| 40 | 旧:serverSign=MD5(serverId=%s&playerId=%s&orderId=%s&gameAppKey=%s) | 40 | 旧:serverSign=MD5(serverId=%s&playerId=%s&orderId=%s&gameAppKey=%s) |
| 41 | 升级:sign=Md5('serverId=%s&playerId=%s&orderId=%s&payAmount=%s&goodsId=%s&sdkSimpleName=%s&gameAppKey=%s') | 41 | 升级:sign=Md5('serverId=%s&playerId=%s&orderId=%s&payAmount=%s&goodsId=%s&sdkSimpleName=%s&gameAppKey=%s') | ... | ... |
-
Please register or login to post a comment