authorize.net을 사용하여 테스트 계정을 만들었습니다.오류 Authorize.net
설명서 및 추가 정보 파일을 읽고 모든 단계를 수행했습니다. 여전히 "모바일 장치가이 판매자 계정에 등록되지 않았습니다."라는 오류 메시지가 나타납니다.
- (void)loginToGateway{
MobileDeviceLoginRequest *mobileDeviceLoginRequest =
[MobileDeviceLoginRequest mobileDeviceLoginRequest];
mobileDeviceLoginRequest.anetApiRequest.merchantAuthentication.name = @"xxxx";
mobileDeviceLoginRequest.anetApiRequest.merchantAuthentication.password = @"xxxx";
mobileDeviceLoginRequest.anetApiRequest.merchantAuthentication.mobileDeviceId =
[[[UIDevice currentDevice] uniqueIdentifier]
stringByReplacingOccurrencesOfString:@"-" withString:@"_"];
AuthNet *an = [AuthNet getInstance];
[an setDelegate:self];
[an mobileDeviceLoginRequest: mobileDeviceLoginRequest];
}
NSLog :
MobileDeviceLoginResponse: MobileDeviceLoginResponse.anetApiResponse = ANetApiResponse.refId = (null)
ANetApiResponse.messages = Messages.resultCode = Error
Messages.message = (
"Message.code = E00054\nMessage.text = The mobile device is not registered with this merchant account.\nMessage.description = (null)\n"
)
나는 코드를 처음 실행하고 확인.
홈> 계정 (설정)> 보안 설정 (모바일 장치 관리)
하지만 표시되지 장치가 없습니다 ..
장치를 등록 할 수있는 방법이있다?내가 4 단계에서 https://developer.authorize.net/integration/fifteenminutes/ios에 언급 된 동일한 명령을 수행하기 때문에 ..
도와주세요.