<?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: Credit Card Expiration Date Error in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Credit-Card-Expiration-Date-Error/m-p/85700#M53930</link>
    <description>&lt;P&gt;It appears that the code is presuming that the entered expiration date is in the form "MM/YY". The code is only attempting to extract the last two digits of the provided number as the year, despite the error notice indicating that a proper expiration year is expected.&lt;/P&gt;&lt;P&gt;The format used to insert credit card expiration dates is commonly "MM/YYYY," where "MM" stands for "month" and "YYYY" stands for "year." To handle this format and extract the relevant numbers for the month and year, the code needs to be modified.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2023 09:03:33 GMT</pubDate>
    <dc:creator>Silvasenem12</dc:creator>
    <dc:date>2023-02-13T09:03:33Z</dc:date>
    <item>
      <title>Credit Card Expiration Date Error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Credit-Card-Expiration-Date-Error/m-p/85632#M53877</link>
      <description>&lt;P&gt;I have a rare problem on a live system in some code from an outside developer I hired. &amp;nbsp;The error message comes back as "Please provide valid expiration year." The expiration date was entered as "10/22". &amp;nbsp;Here is how it is being formatted. It is being sent with JSON. &amp;nbsp;What format is expected?&lt;/P&gt;&lt;P&gt;function evaluateFormFields()...&lt;BR /&gt;expirationDate = $.trim($("#txtExpirationDate").val()).replace(" / ", "");&lt;/P&gt;&lt;P&gt;function sendCCDataToAnet()...&lt;BR /&gt;var ccExpireMonth = expirationDate.substr(0,2);&lt;BR /&gt;var ccExpireYear = expirationDate.substr(2,2);&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2023 18:55:43 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Credit-Card-Expiration-Date-Error/m-p/85632#M53877</guid>
      <dc:creator>jwilliamsen</dc:creator>
      <dc:date>2023-02-03T18:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Credit Card Expiration Date Error</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Credit-Card-Expiration-Date-Error/m-p/85700#M53930</link>
      <description>&lt;P&gt;It appears that the code is presuming that the entered expiration date is in the form "MM/YY". The code is only attempting to extract the last two digits of the provided number as the year, despite the error notice indicating that a proper expiration year is expected.&lt;/P&gt;&lt;P&gt;The format used to insert credit card expiration dates is commonly "MM/YYYY," where "MM" stands for "month" and "YYYY" stands for "year." To handle this format and extract the relevant numbers for the month and year, the code needs to be modified.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 09:03:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Credit-Card-Expiration-Date-Error/m-p/85700#M53930</guid>
      <dc:creator>Silvasenem12</dc:creator>
      <dc:date>2023-02-13T09:03:33Z</dc:date>
    </item>
  </channel>
</rss>

