<?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 Re: What should opaque data be? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/What-should-opaque-data-be/m-p/82510#M51979</link>
    <description>&lt;P&gt;Yes&amp;nbsp; have figured out that much, but the data I have from apple pay is a json dictionary which contains information presumably necessary for decryption, if I just sent the encrypted token within that dictionary, I don't see how authorize.net would be able to decrypt it, also I was able to find an example where the opaque data was a Base64 encoded version of that full dictionary, but for some reason it is still not decrypting for me when I send information in the same exact format, so I need to know if the format I am sending it in is right - and in order to do that, I need to know what the correct format is, which has been very hard to conclusively identify.&lt;/P&gt;</description>
    <pubDate>Fri, 06 May 2022 15:18:58 GMT</pubDate>
    <dc:creator>HOMMUSVAMPIRE</dc:creator>
    <dc:date>2022-05-06T15:18:58Z</dc:date>
    <item>
      <title>What should opaque data be?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/What-should-opaque-data-be/m-p/82249#M51837</link>
      <description>&lt;P&gt;I am implementing apple pay payments into a mobile app developed in C#. I am using Authorize.Net's C# SDK (&lt;A href="https://github.com/AuthorizeNet/sdk-dotnet" target="_blank"&gt;https://github.com/AuthorizeNet/sdk-dotnet&lt;/A&gt;) to do so. I have implemented the native apple pay payments in swift and can reliably obtain encrypted payment tokens for processing, which are formatted according to this documentation: &lt;A href="https://developer.apple.com/library/archive/documentation/PassKit/Reference/PaymentTokenJSON/PaymentTokenJSON.html" target="_blank"&gt;https://developer.apple.com/library/archive/documentation/PassKit/Reference/PaymentTokenJSON/PaymentTokenJSON.html&lt;/A&gt;. I am not sure which part of those tokens needs to be passed to Authorize.Net however. The dotnet SDK's method of sending payment data relies on a payment type object with an "opaqueData" field which I thought was supposed to contain the encrypted payment data. However, when I send a transaction request formatted that way, the data cannot be decrypted on Authorize.Net's end. I need to know what the opaque data field needs to contain for apple pay transactions, and how to ensure that Authorize.Net can decrypt it. Please help!&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 14:25:46 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/What-should-opaque-data-be/m-p/82249#M51837</guid>
      <dc:creator>HOMMUSVAMPIRE</dc:creator>
      <dc:date>2022-04-19T14:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: What should opaque data be?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/What-should-opaque-data-be/m-p/82510#M51979</link>
      <description>&lt;P&gt;Yes&amp;nbsp; have figured out that much, but the data I have from apple pay is a json dictionary which contains information presumably necessary for decryption, if I just sent the encrypted token within that dictionary, I don't see how authorize.net would be able to decrypt it, also I was able to find an example where the opaque data was a Base64 encoded version of that full dictionary, but for some reason it is still not decrypting for me when I send information in the same exact format, so I need to know if the format I am sending it in is right - and in order to do that, I need to know what the correct format is, which has been very hard to conclusively identify.&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 15:18:58 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/What-should-opaque-data-be/m-p/82510#M51979</guid>
      <dc:creator>HOMMUSVAMPIRE</dc:creator>
      <dc:date>2022-05-06T15:18:58Z</dc:date>
    </item>
  </channel>
</rss>

