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,使用如下方法