openshare icon indicating copy to clipboard operation
openshare copied to clipboard

请问支付宝完成支付后 怎么回调APP

Open Bymainforce opened this issue 9 years ago • 1 comments

-(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation

在这里该怎么写

谢谢!

Bymainforce avatar Apr 28 '16 05:04 Bymainforce

//跳转支付宝钱包进行支付,处理支付结果 [[AlipaySDK defaultService] processOrderWithPaymentResult:url standbyCallback:^(NSDictionary *resultDic) { DLog(@"result ---- = %@",resultDic); if ([[resultDic valueForKey:@"resultStatus"] intValue] == 9000) { [[NSNotificationCenter defaultCenter] postNotificationName:kCZJAlipaySuccseful object:resultDic]; } }];

valentman avatar May 03 '16 07:05 valentman