<?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 Cybersource cardinal commerce error in cybersource APIs</title>
    <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-cardinal-commerce-error/m-p/88430#M1309</link>
    <description>&lt;P&gt;I am implementing REST API with node/express.js that uses 3DS authentication&lt;/P&gt;&lt;P&gt;I am able to generate the acsUrl and PaReq just fine (for enrolled cards). When I pass the acsUrl in form action&amp;nbsp; and the PaReq, MD and TermUrl in the form, the 3DS windows shows and I am able to enter the OTP 1234 for the test account, however when I click submit, I am getting "&lt;STRONG&gt;Unknown error has occurred". &lt;/STRONG&gt;I am don't know what is wrong here as I have passed all the values. Below is the ejs for the form, Note all the values are passed in the form.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;html&amp;gt;

&amp;lt;head&amp;gt;
  &amp;lt;style&amp;gt;
    .loader {
      border: 4px solid #f3f3f3;
      border-top: 4px solid #3498db;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      animation: spin 2s linear infinite;
      position: absolute;
      top: 40%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }
  &amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;
  &amp;lt;div class="loader" id="loader" style="display: none"&amp;gt;&amp;lt;/div&amp;gt;
  &amp;lt;form id="myForm" action="&amp;lt;%= acsUrl %&amp;gt;" method="POST"&amp;gt;
    &amp;lt;input type="hidden" name="PaReq" value="&amp;lt;%= pareq %&amp;gt;"&amp;gt;
    &amp;lt;input type="hidden" name="TermUrl" value="&amp;lt;%= TermUrl %&amp;gt;"&amp;gt;
    &amp;lt;input type="hidden" name="MD" value="&amp;lt;%= md %&amp;gt;"&amp;gt;
  &amp;lt;/form&amp;gt;
  &amp;lt;script&amp;gt;
    function showLoaderAndSubmitForm() {
      document.getElementById("loader").style.display = "block";
      setTimeout(function () {
        document.getElementById("myForm").submit();
      }, 1000);
    }
    window.onload = showLoaderAndSubmitForm;
  &amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;

&amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Here is the flow and the results&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Payload from the form" style="width: 610px;"&gt;&lt;img src="https://community.developer.cybersource.com/t5/image/serverpage/image-id/2483iE35764C3EBDE7994/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-12-28 152502.png" alt="Payload from the form" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Payload from the form&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="host and acsUrl" style="width: 999px;"&gt;&lt;img src="https://community.developer.cybersource.com/t5/image/serverpage/image-id/2484i078D369E4187D474/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-12-28 152550.png" alt="host and acsUrl" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;host and acsUrl&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="and here is the error I am getting" style="width: 597px;"&gt;&lt;img src="https://community.developer.cybersource.com/t5/image/serverpage/image-id/2485iDE4878B1EE8CB139/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-12-28 152451.png" alt="and here is the error I am getting" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;and here is the error I am getting&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Dec 2023 13:34:30 GMT</pubDate>
    <dc:creator>mateo</dc:creator>
    <dc:date>2023-12-28T13:34:30Z</dc:date>
    <item>
      <title>Cybersource cardinal commerce error</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-cardinal-commerce-error/m-p/88430#M1309</link>
      <description>&lt;P&gt;I am implementing REST API with node/express.js that uses 3DS authentication&lt;/P&gt;&lt;P&gt;I am able to generate the acsUrl and PaReq just fine (for enrolled cards). When I pass the acsUrl in form action&amp;nbsp; and the PaReq, MD and TermUrl in the form, the 3DS windows shows and I am able to enter the OTP 1234 for the test account, however when I click submit, I am getting "&lt;STRONG&gt;Unknown error has occurred". &lt;/STRONG&gt;I am don't know what is wrong here as I have passed all the values. Below is the ejs for the form, Note all the values are passed in the form.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;html&amp;gt;

&amp;lt;head&amp;gt;
  &amp;lt;style&amp;gt;
    .loader {
      border: 4px solid #f3f3f3;
      border-top: 4px solid #3498db;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      animation: spin 2s linear infinite;
      position: absolute;
      top: 40%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }

      100% {
        transform: rotate(360deg);
      }
    }
  &amp;lt;/style&amp;gt;
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;
  &amp;lt;div class="loader" id="loader" style="display: none"&amp;gt;&amp;lt;/div&amp;gt;
  &amp;lt;form id="myForm" action="&amp;lt;%= acsUrl %&amp;gt;" method="POST"&amp;gt;
    &amp;lt;input type="hidden" name="PaReq" value="&amp;lt;%= pareq %&amp;gt;"&amp;gt;
    &amp;lt;input type="hidden" name="TermUrl" value="&amp;lt;%= TermUrl %&amp;gt;"&amp;gt;
    &amp;lt;input type="hidden" name="MD" value="&amp;lt;%= md %&amp;gt;"&amp;gt;
  &amp;lt;/form&amp;gt;
  &amp;lt;script&amp;gt;
    function showLoaderAndSubmitForm() {
      document.getElementById("loader").style.display = "block";
      setTimeout(function () {
        document.getElementById("myForm").submit();
      }, 1000);
    }
    window.onload = showLoaderAndSubmitForm;
  &amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;

&amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Here is the flow and the results&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Payload from the form" style="width: 610px;"&gt;&lt;img src="https://community.developer.cybersource.com/t5/image/serverpage/image-id/2483iE35764C3EBDE7994/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-12-28 152502.png" alt="Payload from the form" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Payload from the form&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="host and acsUrl" style="width: 999px;"&gt;&lt;img src="https://community.developer.cybersource.com/t5/image/serverpage/image-id/2484i078D369E4187D474/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-12-28 152550.png" alt="host and acsUrl" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;host and acsUrl&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="and here is the error I am getting" style="width: 597px;"&gt;&lt;img src="https://community.developer.cybersource.com/t5/image/serverpage/image-id/2485iDE4878B1EE8CB139/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-12-28 152451.png" alt="and here is the error I am getting" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;and here is the error I am getting&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 13:34:30 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-cardinal-commerce-error/m-p/88430#M1309</guid>
      <dc:creator>mateo</dc:creator>
      <dc:date>2023-12-28T13:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cybersource cardinal commerce error</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-cardinal-commerce-error/m-p/88447#M1312</link>
      <description>&lt;P&gt;same problem&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 18:23:24 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-cardinal-commerce-error/m-p/88447#M1312</guid>
      <dc:creator>CharlesLO</dc:creator>
      <dc:date>2023-12-29T18:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cybersource cardinal commerce error</title>
      <link>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-cardinal-commerce-error/m-p/88449#M1313</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/66611"&gt;@CharlesLO&lt;/a&gt;&amp;nbsp;, I don't know CyberSource cannot help merchants directly, instead they ask to reach out to resellers, these guys can't help at all. Ap part from this error, for the past days I am getting an error about deviceChannel missing&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 18:36:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/cybersource-APIs/Cybersource-cardinal-commerce-error/m-p/88449#M1313</guid>
      <dc:creator>mateo</dc:creator>
      <dc:date>2023-12-29T18:36:02Z</dc:date>
    </item>
  </channel>
</rss>

