2
This commit is contained in:
@@ -41,6 +41,7 @@ NSString * const KBIAPDidCompletePurchaseNotification = @"KBIAPDidCompletePurcha
|
|||||||
// , @"type": @(type)
|
// , @"type": @(type)
|
||||||
NSDictionary *params = @{ @"receipt": receipt ?: @""};
|
NSDictionary *params = @{ @"receipt": receipt ?: @""};
|
||||||
__weak typeof(self) weakSelf = self;
|
__weak typeof(self) weakSelf = self;
|
||||||
|
[KBHUD showWithStatus:@"请稍等..."];
|
||||||
[self.payVM applePayReqWithParams:params needShow:NO completion:^(NSInteger sta, NSString * _Nullable msg) {
|
[self.payVM applePayReqWithParams:params needShow:NO completion:^(NSInteger sta, NSString * _Nullable msg) {
|
||||||
// [KBHUD dismiss];
|
// [KBHUD dismiss];
|
||||||
// [KBHUD showInfo:(sta == !KBBizCodeSuccess ? KBLocalized(@"Payment failed") : KBLocalized(@"Payment successful"))];
|
// [KBHUD showInfo:(sta == !KBBizCodeSuccess ? KBLocalized(@"Payment failed") : KBLocalized(@"Payment successful"))];
|
||||||
|
|||||||
@@ -333,7 +333,7 @@ static NSString * const kKBJfPayCellId = @"kKBJfPayCellId";
|
|||||||
}
|
}
|
||||||
[[FGIAPManager shared].iap buyProduct:match onCompletion:^(NSString * _Nonnull message, FGIAPManagerPurchaseRusult result) {
|
[[FGIAPManager shared].iap buyProduct:match onCompletion:^(NSString * _Nonnull message, FGIAPManagerPurchaseRusult result) {
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
[KBHUD dismiss];
|
// [KBHUD dismiss];
|
||||||
});
|
});
|
||||||
}];
|
}];
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ static NSString * const kKBVipReviewListCellId = @"kKBVipReviewListCellId";
|
|||||||
}
|
}
|
||||||
[[FGIAPManager shared].iap buyProduct:match onCompletion:^(NSString * _Nonnull message, FGIAPManagerPurchaseRusult result) {
|
[[FGIAPManager shared].iap buyProduct:match onCompletion:^(NSString * _Nonnull message, FGIAPManagerPurchaseRusult result) {
|
||||||
dispatch_async(dispatch_get_main_queue(), ^{
|
dispatch_async(dispatch_get_main_queue(), ^{
|
||||||
[KBHUD dismiss];
|
// [KBHUD dismiss];
|
||||||
});
|
});
|
||||||
}];
|
}];
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user