From cfe25e05d57b8f55ad62bb35b2e9bd568afe179d Mon Sep 17 00:00:00 2001 From: alexYang Date: Mon, 5 Sep 2016 17:33:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=96=B9=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E5=9B=9E=E8=B0=83=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IOSDocument.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/IOSDocument.md b/IOSDocument.md index d749e20..5ad1a2f 100644 --- a/IOSDocument.md +++ b/IOSDocument.md @@ -2,8 +2,8 @@ 接入手册 -V 3.3.10 -2016年08月25日 +V 3.3.11 +2016年09月05日 ## 概述 #### 本SDK提供gump账号,fb账号,vk账号三种账号登录,iap支付和第三方支付两种支付功能,其中gump账号登录和fb账号登录功能为必须接入,支付可根据需要选择性接入。 @@ -69,7 +69,10 @@ Xcode 4: Open your Info.plist then add a new row URL Types. Set the URL identifi [payInfo setValue:@"10" forKey:@"amount"];//金额 [payInfo setValue:@"ios demo" forKey:@"extraInfo"];//外部订单信息 [payInfo setValue:@"元宝" forKey:@"product"];//物品信息 - [[LetsGameAPI instance] pay:payInfo]; + [[LetsGameAPI instance] pay:payInfo handleCallBack:^{ + //第三方支付完成时的回调(包括支付成功和支付失败,除了支付过程中取消的),取消的不会有回调 + NSLog(@"第三方支付完成"); + }]]; ### 6、IAP支付 若要使用apple IAP支付,需要在AppDelegate的application: didFinishLaunchingWithOptions:方法内注册iap observer,使用如下方法 -- 2.0.0