<?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: eCheck: How to include Company Information in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/eCheck-How-to-include-Company-Information/m-p/55257#M30173</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/18631"&gt;@SeanF﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like this is missing from the &lt;A href="https://github.com/AuthorizeNet/sample-code-php/blob/master/PaymentTransactions/debit-bank-account.php" target="_self"&gt;PHP sample code&lt;/A&gt;. &amp;nbsp;I would suggest opening a ticket on GitHub and inquire about adding this to the sample so others could benefit. &amp;nbsp;This will notify our developers to take a look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2016 18:57:11 GMT</pubDate>
    <dc:creator>RichardH</dc:creator>
    <dc:date>2016-07-19T18:57:11Z</dc:date>
    <item>
      <title>eCheck: How to include Company Information</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/eCheck-How-to-include-Company-Information/m-p/55245#M30164</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;I am trying to create an eCheck process using PHP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the system running fine in the Sandbox when I only input Routing Number, Account Number, Bank Name, Name on Account, and Payment Amount. &amp;nbsp;However, I would like the user to be able to enter Name, Company Name, Address, etc. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been scouring the PHP API code and have found that "Company" is an attribute of the&amp;nbsp;NameAndAddressType class. &amp;nbsp;But I can't figure out what class the&amp;nbsp;attribute "&lt;SPAN&gt;NameAndAddressType&lt;/SPAN&gt;" belongs to. &amp;nbsp;Ive tried "billTo", "shipTo", etc and I can't get this working. &amp;nbsp;What am I missing? &amp;nbsp;my current code looks like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;    // Create the payment data for a Bank Account
    $bankAccount = new AnetAPI\BankAccountType();
    $bankAccount-&amp;gt;setAccountType('CHECKING');
    $bankAccount-&amp;gt;setEcheckType('WEB');
    $bankAccount-&amp;gt;setRoutingNumber($routing_num);
    $bankAccount-&amp;gt;setAccountNumber($account_num);
    $bankAccount-&amp;gt;setNameOnAccount($name_on_account);
    $bankAccount-&amp;gt;setBankName($bank_name);

    $paymentBank= new AnetAPI\PaymentType();
    $paymentBank-&amp;gt;setBankAccount($bankAccount);
    //create a debit card Bank transaction
    
    $NameAndAddress = new AnetAPI\NameAndAddressType();
    $NameAndAddress-&amp;gt;setCompany("Company Name");
    
    $paymentBillTo = new AnetAPI\billTo();
    $paymentBillTo-&amp;gt;setBillTo($NameAndAddress);
   
    $transactionRequestType = new AnetAPI\TransactionRequestType();
    $transactionRequestType-&amp;gt;setTransactionType( "authCaptureTransaction"); 
    $transactionRequestType-&amp;gt;setAmount($amount);
    $transactionRequestType-&amp;gt;setPayment($paymentBank);
    $transactionRequestType-&amp;gt;setBillTo($NameAndAddress);
    
    $request = new AnetAPI\CreateTransactionRequest();
    $request-&amp;gt;setMerchantAuthentication($merchantAuthentication);
    $request-&amp;gt;setRefId( $refId);
    $request-&amp;gt;setTransactionRequest($transactionRequestType);
    //$request-&amp;gt;setCustomerDetails($customerDetails);

    $controller = new AnetController\CreateTransactionController($request);
    $response = $controller-&amp;gt;executeWithApiResponse( \net\authorize\api\constants\ANetEnvironment::SANDBOX);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 10:32:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/eCheck-How-to-include-Company-Information/m-p/55245#M30164</guid>
      <dc:creator>SeanF</dc:creator>
      <dc:date>2016-07-19T10:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: eCheck: How to include Company Information</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/eCheck-How-to-include-Company-Information/m-p/55257#M30173</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/18631"&gt;@SeanF﻿&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like this is missing from the &lt;A href="https://github.com/AuthorizeNet/sample-code-php/blob/master/PaymentTransactions/debit-bank-account.php" target="_self"&gt;PHP sample code&lt;/A&gt;. &amp;nbsp;I would suggest opening a ticket on GitHub and inquire about adding this to the sample so others could benefit. &amp;nbsp;This will notify our developers to take a look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 18:57:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/eCheck-How-to-include-Company-Information/m-p/55257#M30173</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-07-19T18:57:11Z</dc:date>
    </item>
  </channel>
</rss>

