authorize.netでテストアカウントを作成しました。エラーAuthorize.net
私はそのドキュメントとreadmeファイルを読んで、すべての手順に従っています。それでも私は「モバイルデバイスはこのマーチャントアカウントに登録されていません」というエラーに直面しています。
- (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で述べた同じ命令に従うため。..
ヘルプしてください。