<?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 Accept JS Errors? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-Errors/m-p/64005#M38008</link>
    <description>&lt;P&gt;I'm getting some strange errors in Sandbox this morning.&amp;nbsp; I'm using Accept JS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering if there are any known issues with the environment.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just started getting this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E_WC_14:Accept.js encryption failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;About an hour ago, I was getting this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E00003:The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:transactionKey' element is invalid - The value XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX is invalid according to its datatype 'String' - The actual length is greater than the MaxLength value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code has not changed.&amp;nbsp; It was working yesterday.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lastly, is there a web page somewhere that posts the status of the SandBox environment?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 03 Aug 2018 15:11:03 GMT</pubDate>
    <dc:creator>dnsBuffaloNY</dc:creator>
    <dc:date>2018-08-03T15:11:03Z</dc:date>
    <item>
      <title>Accept JS Errors?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-Errors/m-p/64005#M38008</link>
      <description>&lt;P&gt;I'm getting some strange errors in Sandbox this morning.&amp;nbsp; I'm using Accept JS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering if there are any known issues with the environment.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just started getting this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E_WC_14:Accept.js encryption failed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;About an hour ago, I was getting this error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;E00003:The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:transactionKey' element is invalid - The value XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX is invalid according to its datatype 'String' - The actual length is greater than the MaxLength value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code has not changed.&amp;nbsp; It was working yesterday.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lastly, is there a web page somewhere that posts the status of the SandBox environment?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 15:11:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-Errors/m-p/64005#M38008</guid>
      <dc:creator>dnsBuffaloNY</dc:creator>
      <dc:date>2018-08-03T15:11:03Z</dc:date>
    </item>
    <item>
      <title>Re: Accept JS Errors?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-Errors/m-p/64007#M38010</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/18950"&gt;@dnsBuffaloNY&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've escalated your report to our support specialists team.&amp;nbsp; We did have a minor sandbox update&amp;nbsp; yesterday.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there is a status change notice, it will be listed at&amp;nbsp;&lt;A href="https://status.authorize.net" target="_self"&gt;https://status.authorize.net&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 16:10:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-Errors/m-p/64007#M38010</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2018-08-03T16:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Accept JS Errors?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-Errors/m-p/64008#M38011</link>
      <description>Hi dnsBuffaloNY, 

I have attempted to reproduce this error using my Sandbox account and I am unable to do so. 

Can you provide the full request and response that you are sending/receiving from your Sandbox account? 

Thank you,
Elaine</description>
      <pubDate>Fri, 03 Aug 2018 16:56:19 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-Errors/m-p/64008#M38011</guid>
      <dc:creator>ElaineM</dc:creator>
      <dc:date>2018-08-03T16:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Accept JS Errors?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-Errors/m-p/64009#M38012</link>
      <description>&lt;P&gt;The "&lt;SPAN&gt;E_WC_14:Accept.js encryption failed." error I was getting before is now gone.&amp;nbsp; That is, I'm no longer getting the error (I'm not sure why - but I'm not worried about it; I've moved on :)&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But I'm still having an issue, and I have a theory why I have the problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Here's the JSON response from the client side (HTTML/Javascript) for a recent call:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"opaqueData":&lt;BR /&gt;{&lt;BR /&gt;"dataDescriptor": "COMMON.ACCEPT.INAPP.PAYMENT",&lt;BR /&gt;"dataValue": "eyJjb2RlIjoiNTBfMl8wNjAwMDUzRTExQjBDNDczRDY2RDI1Q0E2MkUzMkVCREJGQThDM0RBRTM4OThEQzBBMjlDNzNGRDdEQUE5MUQ2REJDRUE5RkIxMzMzRTI3MEM3Q0U0MEY0MkU5MzA1RTcxMDRERTk1IiwidG9rZW4iOiI5NTMzMzIwNjc2NTQ4NzUxNjA0NjA0IiwidiI6IjEuMSJ9"&lt;BR /&gt;},&lt;BR /&gt;"messages":&lt;BR /&gt;{&lt;BR /&gt;"resultCode": "Ok",&lt;BR /&gt;"message":&lt;BR /&gt;[&lt;BR /&gt;{ "code": "I_WC_01", "text": "Successful." }&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What looks strange to me is the "dataValue" seems substanially longer then I remembered.&amp;nbsp; Maybe that was the "minor" enhancement that Richard mentioned(?)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have some older Unit Tests in my code and I see the dataValue used to look like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;dataValue = "eyJ0b2tlbiI6Ijk0OTIyOTEzMjU5NjYxMDkwMDQ2MDMiLCJ2IjoiMS4xIn0=",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(length = 60)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and now the length starting today is 278.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;On the server side, I have a Asp.Net MVC application, and I'm using the .Net SDK.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The error I'm getting on the server is this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;E00003:The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:transactionKey' element is invalid - The value XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX is invalid according to its datatype 'String' - The actual length is greater than the MaxLength value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It looks to me that .Net SDK is using XSD to validate the "transactionKey" parameter, and is throwing the error:&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"The actual length is greater than the MaxLength value"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My theory is the "dataValue" string returned from Accept JS is now longer, and .Net SDK doesn't like the longer value.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I'll take a look at the .Net SDK code, but I wanted to confirm if "dataValue" length was incresed?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks, Donald.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 19:01:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-Errors/m-p/64009#M38012</guid>
      <dc:creator>dnsBuffaloNY</dc:creator>
      <dc:date>2018-08-03T19:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Accept JS Errors?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-Errors/m-p/64014#M38017</link>
      <description>&lt;P&gt;I generated a new TransactKey and ClientKey.&amp;nbsp; Everything seems to be working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for the Fire Alarm (and wasting your time reading this).&amp;nbsp; I'm not sure why my old Keys were bad (they were working yesterday).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 03 Aug 2018 19:51:22 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-Errors/m-p/64014#M38017</guid>
      <dc:creator>dnsBuffaloNY</dc:creator>
      <dc:date>2018-08-03T19:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Accept JS Errors?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-Errors/m-p/66851#M40354</link>
      <description>&lt;P&gt;I got grumpy and made my own sandbox and&amp;nbsp; public key and it works now-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That old public client key was old or something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I will have to get this client to regenerate thier keys.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The public client key will not impact anything else.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2019 09:20:13 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Accept-JS-Errors/m-p/66851#M40354</guid>
      <dc:creator>Alana118</dc:creator>
      <dc:date>2019-03-11T09:20:13Z</dc:date>
    </item>
  </channel>
</rss>

