通联支付
[APay startPay:[dic objectForKey:@"paaParams"] viewController:self delegate:self mode:@"00"];
//招行一网通支付(_urlstr是拼接的支付支付串,你们可以根据你们后台返给你们的格式去拼接)然后用UIwebview去加载
_urlStr=[NSString stringWithFormat:@"<!DOCTYPE html><html><body>loading...<form style=\"display:none\" action=\"%@\" method=\"post\"><input name=\"BranchID\" value=\"%@\"/><input name=\"Cono\" value=\"%@\"/><input name=\"BillNo\" value=\"%@\"/><input name=\"Amount\" value=\"%@\"/><input name=\"Date\" value=\"%@\"/><input name=\"MerchantRetUrl\" value=\"%@\"/><input name=\"MerchantRetPara\" value=""/><input name=\"MerchantUrl\" value=\"%@\"/><input name=\"MerchantPara\" value=\"%@\"/><input name=\"MerchantCode\" value=\"%@\"/><input type=\"submit\" value=\"submit\"></form><script>document.forms[0].submit();</script></body></html>",[dic objectForKey:@"requestUrl"],[dic objectForKey:@"strBranchID"],[dic objectForKey:@"strCono"],[dic objectForKey:@"strBillNo"],[dic objectForKey:@"strAmount"],[dic objectForKey:@"strDate"],[dic objectForKey:@"merchantRetUrl"],[dic objectForKey:@"strMerchantUrl"],[dic objectForKey:@"strMerchantPara"],[dic objectForKey:@"MerchantCode"]];
//银联支付分两种,网页支付跟插件支付
UnionpayPayViewController *UnionpayPay=[[UnionpayPayViewController alloc]init];
UnionpayPay.houseId=[self.communityDic objectForKey:@"id"];
//网页支付
UnionpayPay.stringUrl=string;
[self.navigationController pushViewController:UnionpayPay animated:YES];
插件支付[dicOrderNo objectForKey:@"payMsg"]为支付字符串
[[UPPaymentControl defaultControl] startPay:[dicOrderNo objectForKey:@"payMsg"] fromScheme:@"UPPayDemo" mode:@"00" viewController:self];