<?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 Prevent Prior Authorization Capture from happening in iOS SDK in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Prevent-Prior-Authorization-Capture-from-happening-in-iOS-SDK/m-p/64882#M38670</link>
    <description>&lt;P&gt;Hello fellow developers!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We the following problem with the iOS in-person-SDK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We set the transaction-type to &lt;SPAN&gt;authOnlyTransaction&lt;/SPAN&gt;, and start the ENVViewController from the sdk with the request to authorize the payment...&lt;/P&gt;&lt;P&gt;The user enters the card and signature and the transaction runs through and we see the transaction as authorized in the portal. And a green UI on the iPad with status authorized.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But with logging enabled we saw a second request happing after the user pressed ok:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For an unknown reason the EMVViewcontroller starts the prior to authorize charge automatically which causes the credit card to be charged anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything happens inside the sdk, even though we explicitly set the transaction-type to avoid the direct charge (which we want to be done by our backend at the end using ABS).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#0&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x0000000104edc1f8 in -[AnetEMVTransactionRequest(Why) setTransactionType:] at AnetEMVTransactionRequest+Why.m:22&lt;/P&gt;&lt;P&gt;#1&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x0000000107d38940 in -[AnetEMVTransactionRequest init] ()&lt;/P&gt;&lt;P&gt;#2&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x0000000107d388d0 in +[AnetEMVTransactionRequest transactionRequest] ()&lt;/P&gt;&lt;P&gt;#3&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x0000000107cd9748 in -[AnetEMVSettlement priorAuthWithPaymentInfo:transactionID:sessionToken:andTransactionRequest:] ()&lt;/P&gt;&lt;P&gt;#4&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x0000000107d2b934 in -[AnetEMVController captureTheTransaction:] ()&lt;/P&gt;&lt;P&gt;#5&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x0000000107d2df44 in -[AnetEMVController setIsTransactionApproved:] ()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We could "hack" a intermediate solution by overwriting the getter of the transactionType to always return "authorizeOnly".&lt;/P&gt;&lt;P&gt;This would then cause the hidden request to not perform the charge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However we are not satisfied with this solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to opt out of the automatic charge if the authorization is successful?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 26 Oct 2018 20:12:37 GMT</pubDate>
    <dc:creator>Scriptease</dc:creator>
    <dc:date>2018-10-26T20:12:37Z</dc:date>
    <item>
      <title>Prevent Prior Authorization Capture from happening in iOS SDK</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Prevent-Prior-Authorization-Capture-from-happening-in-iOS-SDK/m-p/64882#M38670</link>
      <description>&lt;P&gt;Hello fellow developers!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We the following problem with the iOS in-person-SDK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We set the transaction-type to &lt;SPAN&gt;authOnlyTransaction&lt;/SPAN&gt;, and start the ENVViewController from the sdk with the request to authorize the payment...&lt;/P&gt;&lt;P&gt;The user enters the card and signature and the transaction runs through and we see the transaction as authorized in the portal. And a green UI on the iPad with status authorized.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But with logging enabled we saw a second request happing after the user pressed ok:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For an unknown reason the EMVViewcontroller starts the prior to authorize charge automatically which causes the credit card to be charged anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything happens inside the sdk, even though we explicitly set the transaction-type to avoid the direct charge (which we want to be done by our backend at the end using ABS).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#0&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x0000000104edc1f8 in -[AnetEMVTransactionRequest(Why) setTransactionType:] at AnetEMVTransactionRequest+Why.m:22&lt;/P&gt;&lt;P&gt;#1&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x0000000107d38940 in -[AnetEMVTransactionRequest init] ()&lt;/P&gt;&lt;P&gt;#2&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x0000000107d388d0 in +[AnetEMVTransactionRequest transactionRequest] ()&lt;/P&gt;&lt;P&gt;#3&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x0000000107cd9748 in -[AnetEMVSettlement priorAuthWithPaymentInfo:transactionID:sessionToken:andTransactionRequest:] ()&lt;/P&gt;&lt;P&gt;#4&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x0000000107d2b934 in -[AnetEMVController captureTheTransaction:] ()&lt;/P&gt;&lt;P&gt;#5&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;0x0000000107d2df44 in -[AnetEMVController setIsTransactionApproved:] ()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We could "hack" a intermediate solution by overwriting the getter of the transactionType to always return "authorizeOnly".&lt;/P&gt;&lt;P&gt;This would then cause the hidden request to not perform the charge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However we are not satisfied with this solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to opt out of the automatic charge if the authorization is successful?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;Florian&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 Oct 2018 20:12:37 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Prevent-Prior-Authorization-Capture-from-happening-in-iOS-SDK/m-p/64882#M38670</guid>
      <dc:creator>Scriptease</dc:creator>
      <dc:date>2018-10-26T20:12:37Z</dc:date>
    </item>
  </channel>
</rss>

