提交 53845a49 作者: edy

feat: bug fix

上级 c5c0fb68
......@@ -28,12 +28,16 @@
NSMutableDictionary *arguments = call.arguments;
CashSDKEnvironmentTypes env = [arguments[@"env"] integerValue] == 2 ? CashSDKPageLaunchProd : CashSDKPageLaunchReg;
UIViewController *rootVC = [UIApplication sharedApplication].keyWindow.rootViewController;
NSMutableDictionary *order = [NSMutableDictionary dictionaryWithDictionary:arguments[@"orderInfo"]];
//单独处理订单号参数
order[@"orderNoList"] = order[@"orderFlowNo"];
[[TZCashSDK shareInstance] callPaymentWithEnvironmentType:env
orderInfo:arguments[@"orderInfo"]
orderInfo:order
launchType:CashSDKPageLaunchPresent
rootController:rootVC
fromScheme:@"aistory2024"
payfinishBlock:^(NSString * _Nonnull orderStatus) {
//10:待支付 60:处理中 70:失败 80:关闭 90:成功
result(orderStatus);
}];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论