diff --git a/ios/RNPaystack.m b/ios/RNPaystack.m index 0cba805..aa0f440 100644 --- a/ios/RNPaystack.m +++ b/ios/RNPaystack.m @@ -130,7 +130,7 @@ - (BOOL)cardParamsAreValid:(NSString *)cardNumber withMonth:(NSString *)expMonth requestIsCompleted = NO; if (! [self cardParamsAreValid:params[@"cardNumber"] withMonth:params[@"expiryMonth"] withYear:params[@"expiryYear"] andWithCvc:params[@"cvc"]]) { - + requestIsCompleted = YES; // NSMutableDictionary *returnInfo = [self setErrorMsg:self.errorMsg withErrorCode:self.errorCode]; if (_reject) { _reject(self.errorCode, self.errorMsg, nil); @@ -224,7 +224,7 @@ - (BOOL)cardParamsAreValid:(NSString *)cardNumber withMonth:(NSString *)expMonth requestIsCompleted = NO; if (! [self cardParamsAreValid:params[@"cardNumber"] withMonth:params[@"expiryMonth"] withYear:params[@"expiryYear"] andWithCvc:params[@"cvc"]]) { - + requestIsCompleted = YES; // NSMutableDictionary *returnInfo = [self setErrorMsg:self.errorMsg withErrorCode:self.errorCode]; if (_reject) { _reject(self.errorCode, self.errorMsg, nil); @@ -280,4 +280,4 @@ - (BOOL)cardParamsAreValid:(NSString *)cardNumber withMonth:(NSString *)expMonth } @end - \ No newline at end of file +