inperson-sdk-ios icon indicating copy to clipboard operation
inperson-sdk-ios copied to clipboard

[AuthNet issueSSLPost:withURL:withSoap:] errors

Open ordinaryman09 opened this issue 3 years ago • 0 comments

Hi,

I'm getting this error when trying to log-in [__NSCFNumber isEqualToString:]: unrecognized selector sent to instance

This is what I'm seeing from the stack trace: [AuthNet issueSSLPost:withURL:withSoap:] + 372 -[AuthNet makeRequest:] + 224

using just standard login:

      NSString *uuid = [[[[UIDevice currentDevice] identifierForVendor] UUIDString] stringByReplacingOccurrencesOfString:@"-" withString:@"_"];
       
       MobileDeviceLoginRequest *mobileDeviceLoginRequest =
       [MobileDeviceLoginRequest mobileDeviceLoginRequest];
       mobileDeviceLoginRequest.anetApiRequest.merchantAuthentication.name = @"username";
       mobileDeviceLoginRequest.anetApiRequest.merchantAuthentication.password = @"password";
       mobileDeviceLoginRequest.anetApiRequest.merchantAuthentication.mobileDeviceId = uuid;
       
       AuthNet *an = [AuthNet getInstance];
       [an setDelegate:self];
       [an mobileDeviceLoginRequest: mobileDeviceLoginRequest];

ordinaryman09 avatar Mar 11 '21 19:03 ordinaryman09