<?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 Void Transaction - AIM on iOS in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Void-Transaction-AIM-on-iOS/m-p/32699#M17244</link>
    <description>&lt;P&gt;I'm trying to void an existing AUTH_CAPTURE transaction on an iOS device using the transaction ID and it is failing. I can't find what the minimum required fields are to void a transaction. I've tried just creating a TransactionRequestType and setting the refTransID and authCode and set the TransactionRequestType object to a CreateTransactionRequest object, and it said the credit card field was invalid. So I added the payment type and set the card number and expiration date and now the error is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;element is invalid - The value '' is invalid according to its datatype 'String' - The Pattern constraint failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;</description>
    <pubDate>Thu, 24 Jan 2013 23:26:08 GMT</pubDate>
    <dc:creator>socaljoker</dc:creator>
    <dc:date>2013-01-24T23:26:08Z</dc:date>
    <item>
      <title>Void Transaction - AIM on iOS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Void-Transaction-AIM-on-iOS/m-p/32699#M17244</link>
      <description>&lt;P&gt;I'm trying to void an existing AUTH_CAPTURE transaction on an iOS device using the transaction ID and it is failing. I can't find what the minimum required fields are to void a transaction. I've tried just creating a TransactionRequestType and setting the refTransID and authCode and set the TransactionRequestType object to a CreateTransactionRequest object, and it said the credit card field was invalid. So I added the payment type and set the card number and expiration date and now the error is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;element is invalid - The value '' is invalid according to its datatype 'String' - The Pattern constraint failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 23:26:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Void-Transaction-AIM-on-iOS/m-p/32699#M17244</guid>
      <dc:creator>socaljoker</dc:creator>
      <dc:date>2013-01-24T23:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Void Transaction - AIM on iOS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Void-Transaction-AIM-on-iOS/m-p/32700#M17245</link>
      <description>&lt;P&gt;Here is the minimum required fields.&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=A_TransTypeFields.html"&gt;http://developer.authorize.net/guides/AIM/wwhelp/wwhimpl/js/html/wwhelp.htm#href=A_TransTypeFields.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The credit card info is not required for a void transaction.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 00:53:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Void-Transaction-AIM-on-iOS/m-p/32700#M17245</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-01-25T00:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Void Transaction - AIM on iOS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Void-Transaction-AIM-on-iOS/m-p/32712#M17257</link>
      <description>&lt;P&gt;Below is the code I'm using to set the minimum required fields, and it's still giving me a weird error. It's saying that the credit card field is invalid, but I never even created a credit card type or anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AuthNet *an = [AuthNet getInstance];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TransactionRequestType *requestType = [TransactionRequestType transactionRequest];&lt;/P&gt;&lt;P&gt;requestType.refTransId = self.transactionID;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CreateTransactionRequest *request = [CreateTransactionRequest createTransactionRequest];&lt;BR /&gt;request.transactionRequest = requestType;&lt;BR /&gt;request.transactionType = VOID;&lt;BR /&gt;request.anetApiRequest.merchantAuthentication.mobileDeviceId = [[[Device currentDevice] uuid] stringByReplacingOccurrencesOfString:@"-" withString:@"_"];&lt;BR /&gt;request.anetApiRequest.merchantAuthentication.sessionToken = sessionToken;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[an voidWithRequest:request];&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, if I look at the XML that is being auto generated, it doesn't even include the transaction type or the transaction ID in the XML:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;createTransactionRequest 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;merchantAuthentication&amp;gt;&amp;lt;sessionToken&amp;gt;HZyvKhGAIfX4VR4jF_bT_jLgqfb5rsEFq$zeWhUdLfS3iC6SciKX6QN5PkjTM5CNx94WJCA9Dhgp4hxOnewePYsxooYHxi_qxPiqBlA56iFLz9WbdsfPBv8ezTb1w$axA$hSiejcAOm9Mj0UsY9r7gAA&amp;lt;/sessionToken&amp;gt;&amp;lt;mobileDeviceId&amp;gt;33B1555A_60BC_4117_9314_FDB570607A76&amp;lt;/mobileDeviceId&amp;gt;&amp;lt;/merchantAuthentication&amp;gt;&amp;lt;transactionRequest&amp;gt;&amp;lt;payment&amp;gt;&amp;lt;creditCard&amp;gt;&amp;lt;/creditCard&amp;gt;&amp;lt;bankAccount&amp;gt;&amp;lt;/bankAccount&amp;gt;&amp;lt;trackData&amp;gt;&amp;lt;/trackData&amp;gt;&amp;lt;/payment&amp;gt;&amp;lt;order&amp;gt;&amp;lt;/order&amp;gt;&amp;lt;lineItems&amp;gt;&amp;lt;/lineItems&amp;gt;&amp;lt;customer&amp;gt;&amp;lt;/customer&amp;gt;&amp;lt;billTo&amp;gt;&amp;lt;/billTo&amp;gt;&amp;lt;shipTo&amp;gt;&amp;lt;/shipTo&amp;gt;&amp;lt;transactionSettings&amp;gt;&amp;lt;/transactionSettings&amp;gt;&amp;lt;userFields&amp;gt;&amp;lt;/userFields&amp;gt;&amp;lt;/transactionRequest&amp;gt;&amp;lt;/createTransactionRequest&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 20:18:44 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Void-Transaction-AIM-on-iOS/m-p/32712#M17257</guid>
      <dc:creator>socaljoker</dc:creator>
      <dc:date>2013-01-25T20:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Void Transaction - AIM on iOS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Void-Transaction-AIM-on-iOS/m-p/32714#M17259</link>
      <description>&lt;P&gt;I got it to include the transaction type "voidTransaction" and the refTransID, and it's still telling me that the credit card field is invalid.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 21:00:29 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Void-Transaction-AIM-on-iOS/m-p/32714#M17259</guid>
      <dc:creator>socaljoker</dc:creator>
      <dc:date>2013-01-25T21:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Void Transaction - AIM on iOS</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Void-Transaction-AIM-on-iOS/m-p/32715#M17260</link>
      <description>&lt;P&gt;I FINALLY got it to work! You have to specify that the payment object is nil. I'm not sure if I needed to do the others or not, but I did it anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;AuthNet *an = [AuthNet getInstance];&lt;BR /&gt;&lt;BR /&gt;TransactionRequestType *requestType = [TransactionRequestType transactionRequest];&lt;/P&gt;&lt;P&gt;requestType.payment = nil;&lt;BR /&gt;requestType.tax = nil;&lt;BR /&gt;requestType.duty = nil;&lt;BR /&gt;requestType.shipping = nil;&lt;BR /&gt;requestType.transactionType = @"voidTransaction";&lt;BR /&gt;requestType.refTransId = self.referenceNumber;&lt;BR /&gt;requestType.authCode = self.authCode;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;CreateTransactionRequest *request = [CreateTransactionRequest createTransactionRequest];&lt;BR /&gt;request.transactionRequest = requestType;&lt;BR /&gt;request.transactionType = VOID;&lt;BR /&gt;request.anetApiRequest.merchantAuthentication.mobileDeviceId = [[[Device currentDevice] uuid] stringByReplacingOccurrencesOfString:@"-" withString:@"_"];&lt;BR /&gt;request.anetApiRequest.merchantAuthentication.sessionToken = sessionToken;&lt;BR /&gt;&lt;BR /&gt;[an voidWithRequest:request];&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 21:12:52 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Void-Transaction-AIM-on-iOS/m-p/32715#M17260</guid>
      <dc:creator>socaljoker</dc:creator>
      <dc:date>2013-01-25T21:12:52Z</dc:date>
    </item>
  </channel>
</rss>

