<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Help need for integration ios in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-need-for-integration-ios/m-p/33022#M17559</link>
    <description>&lt;P&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;This is first time I'm using&amp;nbsp;authorize.net&amp;nbsp;sdk with my iOS application.&lt;BR /&gt;I met some problem with building the static library. So I copied the source files to my project. Is it cause any problem?&lt;BR /&gt;&lt;BR /&gt;My project is compiling and running fine but result is not as expected.&lt;BR /&gt;&lt;BR /&gt;I have tried as in&amp;nbsp;authorize.net&amp;nbsp;website (&lt;A target="_blank" href="https://developer.authorize.net/integration/fifteenminutes/ios/)"&gt;https://developer.authorize.net/integration/fifteenminutes/ios/)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;My try is like this&lt;BR /&gt;&lt;BR /&gt;in viewDidload method&lt;BR /&gt;&lt;BR /&gt;[AuthNet&amp;nbsp;authNetWithEnvironment:ENV_TEST];&lt;BR /&gt;&lt;BR /&gt;and&amp;nbsp;in a&amp;nbsp;inaction&amp;nbsp;tried as follows&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;MobileDeviceLoginRequest&amp;nbsp;*mobileDeviceLoginRequest =&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [MobileDeviceLoginRequest&amp;nbsp;mobileDeviceLoginRequest];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; mobileDeviceLoginRequest.anetApiRequest.merchantAuthentication.name&amp;nbsp;=&amp;nbsp;@"johnykuttymathew415";//my&amp;nbsp;authorize.net&amp;nbsp;loginID&lt;BR /&gt;&amp;nbsp;&amp;nbsp; mobileDeviceLoginRequest.anetApiRequest.merchantAuthentication.password&amp;nbsp;=&amp;nbsp;@"Sacmetro123";//my&amp;nbsp;authorize.net&amp;nbsp;password for&amp;nbsp;johnykuttymathew415&lt;BR /&gt;&amp;nbsp;&amp;nbsp; mobileDeviceLoginRequest.anetApiRequest.merchantAuthentication.mobileDeviceId&amp;nbsp;=&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [[[UIDevice&amp;nbsp;currentDevice]&amp;nbsp;uniqueIdentifier]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;stringByReplacingOccurrencesOfString:@"-"&amp;nbsp;withString:@"_"];// this is&amp;nbsp;deprecated&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;AuthNet&amp;nbsp;*an = [AuthNet&amp;nbsp;getInstance];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [an&amp;nbsp;setDelegate:self];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [an&amp;nbsp;mobileDeviceLoginRequest: mobileDeviceLoginRequest];&lt;BR /&gt;&lt;BR /&gt;and helper methods are&lt;BR /&gt;&lt;BR /&gt;- (void) createTransaction {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;AuthNet&amp;nbsp;*an = [AuthNet&amp;nbsp;getInstance];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; [an&amp;nbsp;setDelegate:self];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;CreditCardType&amp;nbsp;*creditCardType = [CreditCardType&amp;nbsp;creditCardType];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; creditCardType.cardNumber&amp;nbsp;=&amp;nbsp;@"4111111111111111";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; creditCardType.cardCode&amp;nbsp;=&amp;nbsp;@"100";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; creditCardType.expirationDate&amp;nbsp;=&amp;nbsp;@"1212";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;PaymentType&amp;nbsp;*paymentType = [PaymentType&amp;nbsp;paymentType];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; paymentType.creditCard&amp;nbsp;= creditCardType;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;ExtendedAmountType&amp;nbsp;*extendedAmountTypeTax = [ExtendedAmountType&amp;nbsp;extendedAmountType];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; extendedAmountTypeTax.amount&amp;nbsp;=&amp;nbsp;@"0";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; extendedAmountTypeTax.name&amp;nbsp;=&amp;nbsp;@"Tax";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;ExtendedAmountType&amp;nbsp;*extendedAmountTypeShipping = [ExtendedAmountType&amp;nbsp;extendedAmountType];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; extendedAmountTypeShipping.amount&amp;nbsp;=&amp;nbsp;@"0";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; extendedAmountTypeShipping.name&amp;nbsp;=&amp;nbsp;@"Shipping";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;LineItemType&amp;nbsp;*lineItem = [LineItemType&amp;nbsp;lineItem];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; lineItem.itemName&amp;nbsp;=&amp;nbsp;@"Soda";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; lineItem.itemDescription&amp;nbsp;=&amp;nbsp;@"Soda";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; lineItem.itemQuantity&amp;nbsp;=&amp;nbsp;@"1";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; lineItem.itemPrice&amp;nbsp;=&amp;nbsp;@"1.00";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; lineItem.itemID&amp;nbsp;=&amp;nbsp;@"1";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;TransactionRequestType&amp;nbsp;*requestType = [TransactionRequestType&amp;nbsp;transactionRequest];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; requestType.lineItems&amp;nbsp;= [NSArray&amp;nbsp;arrayWithObject:lineItem];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; requestType.amount&amp;nbsp;=&amp;nbsp;@"1.00";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; requestType.payment&amp;nbsp;= paymentType;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; requestType.tax&amp;nbsp;= extendedAmountTypeTax;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; requestType.shipping&amp;nbsp;= extendedAmountTypeShipping;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;CreateTransactionRequest&amp;nbsp;*request = [CreateTransactionRequest&amp;nbsp;createTransactionRequest];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; request.transactionRequest&amp;nbsp;= requestType;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; request.transactionType&amp;nbsp;=&amp;nbsp;AUTH_ONLY;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; request.anetApiRequest.merchantAuthentication.mobileDeviceId&amp;nbsp;=&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [[[UIDevice&amp;nbsp;currentDevice]&amp;nbsp;uniqueIdentifier]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;stringByReplacingOccurrencesOfString:@"-"&amp;nbsp;withString:@"_"];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; request.anetApiRequest.merchantAuthentication.sessionToken&amp;nbsp;=&amp;nbsp;sessionToken;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; [an&amp;nbsp;purchaseWithRequest:request];&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;- (void) requestFailed:(AuthNetResponse&amp;nbsp;*)response {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;// Handle a failed request&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;NSLog(@"%s&amp;nbsp; ",__func__);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;- (void) connectionFailed:(AuthNetResponse&amp;nbsp;*)response {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;// Handle a failed connection&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;NSLog(@"%s&amp;nbsp; ",__func__);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;- (void) paymentSucceeded:(CreateTransactionResponse&amp;nbsp;*) response {&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;// Handle payment success&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;NSLog(@"%s&amp;nbsp; ",__func__);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;- (void) mobileDeviceLoginSucceeded:(MobileDeviceLoginResponse&amp;nbsp;*)response {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;sessionToken&amp;nbsp;= response.sessionToken;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;NSLog(@"%s&amp;nbsp; %@",__func__,sessionToken);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; [self&amp;nbsp;createTransaction];&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;It gives log in console as&lt;BR /&gt;2013-02-14 18:34:54.794 Authorize.NetSample[3314:c07] Reachability Flag Status: -R -----l- networkStatusForFlags&lt;BR /&gt;2013-02-14 18:34:56.851 Authorize.NetSample[3314:c07] Mobile Device Login Response&lt;BR /&gt;2013-02-14 18:34:56.851 Authorize.NetSample[3314:c07] &amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;mobileDeviceLoginResponse xmlns:xsi="&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema-instance"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:xsd="&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;messages&amp;gt;&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;E00054&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;The mobile device is not registered with this merchant account.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;/mobileDeviceLoginResponse&amp;gt;&lt;BR /&gt;namespace warning : xmlns: URI AnetApi/xml/v1/schema/AnetApiSchema.xsd is not absolute&lt;BR /&gt;ttp://&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema"&gt;www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^&lt;BR /&gt;2013-02-14 18:34:56.852 Authorize.NetSample[3314:c07] Error = (null)&lt;BR /&gt;2013-02-14 18:34:56.853 Authorize.NetSample[3314:c07] Message:&lt;BR /&gt;Message.code = E00054&lt;BR /&gt;Message.text = The mobile device is not registered with this merchant account.&lt;BR /&gt;Message.description = (null)&lt;BR /&gt;2013-02-14 18:34:56.853 Authorize.NetSample[3314:c07] Messages:&lt;BR /&gt;Messages.resultCode = Error&lt;BR /&gt;Messages.message = (&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Message.code = E00054\nMessage.text = The mobile device is not registered with this merchant account.\nMessage.description = (null)\n"&lt;BR /&gt;)&lt;BR /&gt;2013-02-14 18:34:56.854 Authorize.NetSample[3314:c07] MerchantContact = MerchantContact.merchantName = (null)&lt;BR /&gt;MerchantContact.merchantAddress = (null)&lt;BR /&gt;MerchantContact.merchantCity = (null)&lt;BR /&gt;MerchantContact.merchantState = (null)&lt;BR /&gt;MerchantContact.merchantZip = (null)&lt;BR /&gt;MerchantContact.merchantPhone = (null)&lt;BR /&gt;2013-02-14 18:34:56.854 Authorize.NetSample[3314:c07] MobileDeviceLoginResponse: MobileDeviceLoginResponse.anetApiResponse = ANetApiResponse.refId = (null)&lt;BR /&gt;ANetApiResponse.messages = Messages.resultCode = Error&lt;BR /&gt;Messages.message = (&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Message.code = E00054\nMessage.text = The mobile device is not registered with this merchant account.\nMessage.description = (null)\n"&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;MobileDeviceLoginResponse.sessionToken = (null)&lt;BR /&gt;MobileDeviceLoginResponse.merchantContact = MerchantContact.merchantName = (null)&lt;BR /&gt;MerchantContact.merchantAddress = (null)&lt;BR /&gt;MerchantContact.merchantCity = (null)&lt;BR /&gt;MerchantContact.merchantState = (null)&lt;BR /&gt;MerchantContact.merchantZip = (null)&lt;BR /&gt;MerchantContact.merchantPhone = (null)&lt;BR /&gt;&lt;BR /&gt;MobileDeviceLoginResponse.userPermissions = (&lt;BR /&gt;)&lt;BR /&gt;2013-02-14 18:34:56.855 Authorize.NetSample[3314:c07] -[ANSViewController requestFailed:] &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As in the developer community&lt;BR /&gt;I login to&amp;nbsp;sandbox.authorize.net&amp;nbsp;and navigated to the mobile device management&lt;BR /&gt;&lt;BR /&gt;But there is no device with pending status&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can anybody help me&lt;/P&gt;&lt;P&gt;Please reply&lt;/P&gt;</description>
    <pubDate>Thu, 14 Feb 2013 15:46:13 GMT</pubDate>
    <dc:creator>johnykutty</dc:creator>
    <dc:date>2013-02-14T15:46:13Z</dc:date>
    <item>
      <title>Help need for integration ios</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-need-for-integration-ios/m-p/33022#M17559</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;This is first time I'm using&amp;nbsp;authorize.net&amp;nbsp;sdk with my iOS application.&lt;BR /&gt;I met some problem with building the static library. So I copied the source files to my project. Is it cause any problem?&lt;BR /&gt;&lt;BR /&gt;My project is compiling and running fine but result is not as expected.&lt;BR /&gt;&lt;BR /&gt;I have tried as in&amp;nbsp;authorize.net&amp;nbsp;website (&lt;A target="_blank" href="https://developer.authorize.net/integration/fifteenminutes/ios/)"&gt;https://developer.authorize.net/integration/fifteenminutes/ios/)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;My try is like this&lt;BR /&gt;&lt;BR /&gt;in viewDidload method&lt;BR /&gt;&lt;BR /&gt;[AuthNet&amp;nbsp;authNetWithEnvironment:ENV_TEST];&lt;BR /&gt;&lt;BR /&gt;and&amp;nbsp;in a&amp;nbsp;inaction&amp;nbsp;tried as follows&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;MobileDeviceLoginRequest&amp;nbsp;*mobileDeviceLoginRequest =&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [MobileDeviceLoginRequest&amp;nbsp;mobileDeviceLoginRequest];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; mobileDeviceLoginRequest.anetApiRequest.merchantAuthentication.name&amp;nbsp;=&amp;nbsp;@"johnykuttymathew415";//my&amp;nbsp;authorize.net&amp;nbsp;loginID&lt;BR /&gt;&amp;nbsp;&amp;nbsp; mobileDeviceLoginRequest.anetApiRequest.merchantAuthentication.password&amp;nbsp;=&amp;nbsp;@"Sacmetro123";//my&amp;nbsp;authorize.net&amp;nbsp;password for&amp;nbsp;johnykuttymathew415&lt;BR /&gt;&amp;nbsp;&amp;nbsp; mobileDeviceLoginRequest.anetApiRequest.merchantAuthentication.mobileDeviceId&amp;nbsp;=&lt;BR /&gt;&amp;nbsp; &amp;nbsp; [[[UIDevice&amp;nbsp;currentDevice]&amp;nbsp;uniqueIdentifier]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;stringByReplacingOccurrencesOfString:@"-"&amp;nbsp;withString:@"_"];// this is&amp;nbsp;deprecated&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;AuthNet&amp;nbsp;*an = [AuthNet&amp;nbsp;getInstance];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [an&amp;nbsp;setDelegate:self];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; [an&amp;nbsp;mobileDeviceLoginRequest: mobileDeviceLoginRequest];&lt;BR /&gt;&lt;BR /&gt;and helper methods are&lt;BR /&gt;&lt;BR /&gt;- (void) createTransaction {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;AuthNet&amp;nbsp;*an = [AuthNet&amp;nbsp;getInstance];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; [an&amp;nbsp;setDelegate:self];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;CreditCardType&amp;nbsp;*creditCardType = [CreditCardType&amp;nbsp;creditCardType];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; creditCardType.cardNumber&amp;nbsp;=&amp;nbsp;@"4111111111111111";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; creditCardType.cardCode&amp;nbsp;=&amp;nbsp;@"100";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; creditCardType.expirationDate&amp;nbsp;=&amp;nbsp;@"1212";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;PaymentType&amp;nbsp;*paymentType = [PaymentType&amp;nbsp;paymentType];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; paymentType.creditCard&amp;nbsp;= creditCardType;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;ExtendedAmountType&amp;nbsp;*extendedAmountTypeTax = [ExtendedAmountType&amp;nbsp;extendedAmountType];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; extendedAmountTypeTax.amount&amp;nbsp;=&amp;nbsp;@"0";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; extendedAmountTypeTax.name&amp;nbsp;=&amp;nbsp;@"Tax";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;ExtendedAmountType&amp;nbsp;*extendedAmountTypeShipping = [ExtendedAmountType&amp;nbsp;extendedAmountType];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; extendedAmountTypeShipping.amount&amp;nbsp;=&amp;nbsp;@"0";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; extendedAmountTypeShipping.name&amp;nbsp;=&amp;nbsp;@"Shipping";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;LineItemType&amp;nbsp;*lineItem = [LineItemType&amp;nbsp;lineItem];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; lineItem.itemName&amp;nbsp;=&amp;nbsp;@"Soda";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; lineItem.itemDescription&amp;nbsp;=&amp;nbsp;@"Soda";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; lineItem.itemQuantity&amp;nbsp;=&amp;nbsp;@"1";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; lineItem.itemPrice&amp;nbsp;=&amp;nbsp;@"1.00";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; lineItem.itemID&amp;nbsp;=&amp;nbsp;@"1";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;TransactionRequestType&amp;nbsp;*requestType = [TransactionRequestType&amp;nbsp;transactionRequest];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; requestType.lineItems&amp;nbsp;= [NSArray&amp;nbsp;arrayWithObject:lineItem];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; requestType.amount&amp;nbsp;=&amp;nbsp;@"1.00";&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; requestType.payment&amp;nbsp;= paymentType;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; requestType.tax&amp;nbsp;= extendedAmountTypeTax;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; requestType.shipping&amp;nbsp;= extendedAmountTypeShipping;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;CreateTransactionRequest&amp;nbsp;*request = [CreateTransactionRequest&amp;nbsp;createTransactionRequest];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; request.transactionRequest&amp;nbsp;= requestType;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; request.transactionType&amp;nbsp;=&amp;nbsp;AUTH_ONLY;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; request.anetApiRequest.merchantAuthentication.mobileDeviceId&amp;nbsp;=&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [[[UIDevice&amp;nbsp;currentDevice]&amp;nbsp;uniqueIdentifier]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;stringByReplacingOccurrencesOfString:@"-"&amp;nbsp;withString:@"_"];&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; request.anetApiRequest.merchantAuthentication.sessionToken&amp;nbsp;=&amp;nbsp;sessionToken;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; [an&amp;nbsp;purchaseWithRequest:request];&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;- (void) requestFailed:(AuthNetResponse&amp;nbsp;*)response {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;// Handle a failed request&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;NSLog(@"%s&amp;nbsp; ",__func__);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;- (void) connectionFailed:(AuthNetResponse&amp;nbsp;*)response {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;// Handle a failed connection&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;NSLog(@"%s&amp;nbsp; ",__func__);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;- (void) paymentSucceeded:(CreateTransactionResponse&amp;nbsp;*) response {&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;// Handle payment success&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;NSLog(@"%s&amp;nbsp; ",__func__);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;- (void) mobileDeviceLoginSucceeded:(MobileDeviceLoginResponse&amp;nbsp;*)response {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;sessionToken&amp;nbsp;= response.sessionToken;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;NSLog(@"%s&amp;nbsp; %@",__func__,sessionToken);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; [self&amp;nbsp;createTransaction];&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;It gives log in console as&lt;BR /&gt;2013-02-14 18:34:54.794 Authorize.NetSample[3314:c07] Reachability Flag Status: -R -----l- networkStatusForFlags&lt;BR /&gt;2013-02-14 18:34:56.851 Authorize.NetSample[3314:c07] Mobile Device Login Response&lt;BR /&gt;2013-02-14 18:34:56.851 Authorize.NetSample[3314:c07] &amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;mobileDeviceLoginResponse xmlns:xsi="&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema-instance"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" xmlns:xsd="&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&amp;gt;&amp;lt;messages&amp;gt;&amp;lt;resultCode&amp;gt;Error&amp;lt;/resultCode&amp;gt;&amp;lt;message&amp;gt;&amp;lt;code&amp;gt;E00054&amp;lt;/code&amp;gt;&amp;lt;text&amp;gt;The mobile device is not registered with this merchant account.&amp;lt;/text&amp;gt;&amp;lt;/message&amp;gt;&amp;lt;/messages&amp;gt;&amp;lt;/mobileDeviceLoginResponse&amp;gt;&lt;BR /&gt;namespace warning : xmlns: URI AnetApi/xml/v1/schema/AnetApiSchema.xsd is not absolute&lt;BR /&gt;ttp://&lt;A target="_blank" href="http://www.w3.org/2001/XMLSchema"&gt;www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ^&lt;BR /&gt;2013-02-14 18:34:56.852 Authorize.NetSample[3314:c07] Error = (null)&lt;BR /&gt;2013-02-14 18:34:56.853 Authorize.NetSample[3314:c07] Message:&lt;BR /&gt;Message.code = E00054&lt;BR /&gt;Message.text = The mobile device is not registered with this merchant account.&lt;BR /&gt;Message.description = (null)&lt;BR /&gt;2013-02-14 18:34:56.853 Authorize.NetSample[3314:c07] Messages:&lt;BR /&gt;Messages.resultCode = Error&lt;BR /&gt;Messages.message = (&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Message.code = E00054\nMessage.text = The mobile device is not registered with this merchant account.\nMessage.description = (null)\n"&lt;BR /&gt;)&lt;BR /&gt;2013-02-14 18:34:56.854 Authorize.NetSample[3314:c07] MerchantContact = MerchantContact.merchantName = (null)&lt;BR /&gt;MerchantContact.merchantAddress = (null)&lt;BR /&gt;MerchantContact.merchantCity = (null)&lt;BR /&gt;MerchantContact.merchantState = (null)&lt;BR /&gt;MerchantContact.merchantZip = (null)&lt;BR /&gt;MerchantContact.merchantPhone = (null)&lt;BR /&gt;2013-02-14 18:34:56.854 Authorize.NetSample[3314:c07] MobileDeviceLoginResponse: MobileDeviceLoginResponse.anetApiResponse = ANetApiResponse.refId = (null)&lt;BR /&gt;ANetApiResponse.messages = Messages.resultCode = Error&lt;BR /&gt;Messages.message = (&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "Message.code = E00054\nMessage.text = The mobile device is not registered with this merchant account.\nMessage.description = (null)\n"&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;MobileDeviceLoginResponse.sessionToken = (null)&lt;BR /&gt;MobileDeviceLoginResponse.merchantContact = MerchantContact.merchantName = (null)&lt;BR /&gt;MerchantContact.merchantAddress = (null)&lt;BR /&gt;MerchantContact.merchantCity = (null)&lt;BR /&gt;MerchantContact.merchantState = (null)&lt;BR /&gt;MerchantContact.merchantZip = (null)&lt;BR /&gt;MerchantContact.merchantPhone = (null)&lt;BR /&gt;&lt;BR /&gt;MobileDeviceLoginResponse.userPermissions = (&lt;BR /&gt;)&lt;BR /&gt;2013-02-14 18:34:56.855 Authorize.NetSample[3314:c07] -[ANSViewController requestFailed:] &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As in the developer community&lt;BR /&gt;I login to&amp;nbsp;sandbox.authorize.net&amp;nbsp;and navigated to the mobile device management&lt;BR /&gt;&lt;BR /&gt;But there is no device with pending status&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can anybody help me&lt;/P&gt;&lt;P&gt;Please reply&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2013 15:46:13 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-need-for-integration-ios/m-p/33022#M17559</guid>
      <dc:creator>johnykutty</dc:creator>
      <dc:date>2013-02-14T15:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Help need for integration ios</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-need-for-integration-ios/m-p/33129#M17660</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;You need to use “ MobileDeviceRegistrationRequest” the first time you use a new phone, so instead of using “LoginRequest” you need to register first. You need to use "MobileDeviceRegistrationRequest" once you use "MobileDeviceRegistrationRequest", the phone will show up for approval in the MINT then once you’re approved it, you’ll be able to use “MobileDeviceLoginRequest”&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Joy&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2013 23:26:32 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-need-for-integration-ios/m-p/33129#M17660</guid>
      <dc:creator>Joy</dc:creator>
      <dc:date>2013-02-21T23:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help need for integration ios</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-need-for-integration-ios/m-p/34252#M18733</link>
      <description>&lt;P&gt;I m Trying To integrate authorize.net in ios, i registered Mobile Device Completely But I got Null Response on MobileDeviceLoginSucceed. what is reason Behind Getting Null Value..I"m Stuck at here,,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reply..&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 10:18:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-need-for-integration-ios/m-p/34252#M18733</guid>
      <dc:creator>nikunj_iPhone</dc:creator>
      <dc:date>2013-05-16T10:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help need for integration ios</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-need-for-integration-ios/m-p/34253#M18734</link>
      <description>&lt;P&gt;Hey Did You Solved it, If Yes Then get back Reply me.......&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I m Also Getting This Problem..and i m stuck At Here,,,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reply..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 10:42:01 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-need-for-integration-ios/m-p/34253#M18734</guid>
      <dc:creator>nikunj_iPhone</dc:creator>
      <dc:date>2013-05-16T10:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help need for integration ios</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-need-for-integration-ios/m-p/34254#M18735</link>
      <description>&lt;P&gt;why i Get null response on&lt;/P&gt;&lt;P class="p1"&gt;MobileDeviceLoginResponse&lt;/P&gt;&lt;P&gt;&amp;nbsp;In integration Of authorize.net in ios..??????????????:(&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2013 11:03:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-need-for-integration-ios/m-p/34254#M18735</guid>
      <dc:creator>nikunj_iPhone</dc:creator>
      <dc:date>2013-05-16T11:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help need for integration ios</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-need-for-integration-ios/m-p/46271#M23404</link>
      <description>&lt;P&gt;This is a helpful post for this topic of Device Register and Login:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://community.developer.cybersource.com/t5/Integration-and-Testing/Problems-Registering-iOS-Device-for-Testing-in-Merchant-Account/td-p/22987"&gt;http://community.developer.authorize.net/t5/Integration-and-Testing/Problems-Registering-iOS-Device-for-Testing-in-Merchant-Account/td-p/22987&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Aug 2014 14:50:59 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Help-need-for-integration-ios/m-p/46271#M23404</guid>
      <dc:creator>blalond</dc:creator>
      <dc:date>2014-08-14T14:50:59Z</dc:date>
    </item>
  </channel>
</rss>

