<?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 Email is required in production mode in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Email-is-required-in-production-mode/m-p/57227#M31956</link>
    <description>&lt;P&gt;We have integrated the API and it is working fine in sandbox mode but following error comes in production:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Transaction Failed Error code : 33 Error message : Email is required.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have already set the email as not required in payment form fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are also sending the email in our code as well. see below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// Set the customer's Bill To address&lt;BR /&gt;$customerAddress = new AnetAPI\CustomerAddressType();&lt;BR /&gt;$customerAddress-&amp;gt;setFirstName($fName);&lt;BR /&gt;$customerAddress-&amp;gt;setLastName($lName);&lt;BR /&gt;$customerAddress-&amp;gt;setCompany($company);&lt;BR /&gt;$customerAddress-&amp;gt;setAddress($address);&lt;BR /&gt;$customerAddress-&amp;gt;setCity($city);&lt;BR /&gt;$customerAddress-&amp;gt;setState($state);&lt;BR /&gt;$customerAddress-&amp;gt;setZip($zip);&lt;BR /&gt;$customerAddress-&amp;gt;setCountry($country);&lt;BR /&gt;&lt;STRONG&gt;$customerAddress-&amp;gt;setEmail($email);&lt;/STRONG&gt;&lt;BR /&gt;&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;But the error still remains as it is. Please help us by pointing in right direction&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Mar 2017 14:38:50 GMT</pubDate>
    <dc:creator>shahidanwer</dc:creator>
    <dc:date>2017-03-10T14:38:50Z</dc:date>
    <item>
      <title>Email is required in production mode</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Email-is-required-in-production-mode/m-p/57227#M31956</link>
      <description>&lt;P&gt;We have integrated the API and it is working fine in sandbox mode but following error comes in production:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Transaction Failed Error code : 33 Error message : Email is required.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We have already set the email as not required in payment form fields.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are also sending the email in our code as well. see below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;// Set the customer's Bill To address&lt;BR /&gt;$customerAddress = new AnetAPI\CustomerAddressType();&lt;BR /&gt;$customerAddress-&amp;gt;setFirstName($fName);&lt;BR /&gt;$customerAddress-&amp;gt;setLastName($lName);&lt;BR /&gt;$customerAddress-&amp;gt;setCompany($company);&lt;BR /&gt;$customerAddress-&amp;gt;setAddress($address);&lt;BR /&gt;$customerAddress-&amp;gt;setCity($city);&lt;BR /&gt;$customerAddress-&amp;gt;setState($state);&lt;BR /&gt;$customerAddress-&amp;gt;setZip($zip);&lt;BR /&gt;$customerAddress-&amp;gt;setCountry($country);&lt;BR /&gt;&lt;STRONG&gt;$customerAddress-&amp;gt;setEmail($email);&lt;/STRONG&gt;&lt;BR /&gt;&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;But the error still remains as it is. Please help us by pointing in right direction&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 14:38:50 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Email-is-required-in-production-mode/m-p/57227#M31956</guid>
      <dc:creator>shahidanwer</dc:creator>
      <dc:date>2017-03-10T14:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Email is required in production mode</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Email-is-required-in-production-mode/m-p/57233#M31962</link>
      <description>&lt;P&gt;Can someone please reply, its very urgent to get this fixed as the website it schedule to go live on Monday 13 Mar 2017. Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 12 Mar 2017 09:36:00 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Email-is-required-in-production-mode/m-p/57233#M31962</guid>
      <dc:creator>shahidanwer</dc:creator>
      <dc:date>2017-03-12T09:36:00Z</dc:date>
    </item>
    <item>
      <title>Re: Email is required in production mode</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Email-is-required-in-production-mode/m-p/57278#M32007</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/21359"&gt;@shahidanwer&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The email address is actually set in a CustomerDataType object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've just updated the code samples to include an example of setting an email for a transaction. My changes haven't been pulled into the main repository yet, but you can see the updated sample &lt;/SPAN&gt;&lt;A href="https://github.com/adavidw/sample-code-php/blob/master/PaymentTransactions/charge-credit-card.php" target="_self" rel="nofollow noopener noreferrer"&gt;in my repository here&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2017 21:15:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Email-is-required-in-production-mode/m-p/57278#M32007</guid>
      <dc:creator>Aaron</dc:creator>
      <dc:date>2017-03-15T21:15:25Z</dc:date>
    </item>
  </channel>
</rss>

