<?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 Merchant Defined fields in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Merchant-Defined-fields/m-p/33794#M18294</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to add a couple of merchant defined fields, (ie where you heard about us) and sent to the merchant in the email after purchase. I understand there is a way of doing this. Is there an example code (PHP)? &amp;nbsp;Do these fields have to be defined in the Merchant's dashboard or just code them in to the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 01 Apr 2013 18:39:36 GMT</pubDate>
    <dc:creator>wyattbiker</dc:creator>
    <dc:date>2013-04-01T18:39:36Z</dc:date>
    <item>
      <title>Merchant Defined fields</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Merchant-Defined-fields/m-p/33794#M18294</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to add a couple of merchant defined fields, (ie where you heard about us) and sent to the merchant in the email after purchase. I understand there is a way of doing this. Is there an example code (PHP)? &amp;nbsp;Do these fields have to be defined in the Merchant's dashboard or just code them in to the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 18:39:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Merchant-Defined-fields/m-p/33794#M18294</guid>
      <dc:creator>wyattbiker</dc:creator>
      <dc:date>2013-04-01T18:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Merchant Defined fields</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Merchant-Defined-fields/m-p/33795#M18295</link>
      <description>&lt;P&gt;Any fields that are not define by authorize.net is merchant defined fields, you just need to code them to pass to the authorize.net url.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 19:09:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Merchant-Defined-fields/m-p/33795#M18295</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-04-01T19:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Merchant Defined fields</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Merchant-Defined-fields/m-p/33799#M18299</link>
      <description>&lt;P&gt;I tried adding the field to the XML file but it gives me an error that the fields are not allowed. When I add my own XML code I get this error when I add the "&amp;lt;source&amp;gt;test&amp;lt;/source&amp;gt;".:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Response Reason Code: E00003
Response Text: The element 'ARBCreateSubscriptionRequest' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd' has invalid child element 'source' in namespace 'AnetApi/xml/v1/schema/AnetApiSchema.xsd'.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the XML layout from the ARB recuuring billing. Where would I add the extra definition fields?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;$content =
        "&amp;lt;?xml version=\"1.0\" encoding=\"utf-8\"?&amp;gt;" .
        "&amp;lt;ARBCreateSubscriptionRequest xmlns=\"AnetApi/xml/v1/schema/AnetApiSchema.xsd\"&amp;gt;" .
        "&amp;lt;merchantAuthentication&amp;gt;".
        "&amp;lt;name&amp;gt;" . $loginname . "&amp;lt;/name&amp;gt;".
        "&amp;lt;transactionKey&amp;gt;" . $transactionkey . "&amp;lt;/transactionKey&amp;gt;".
        "&amp;lt;/merchantAuthentication&amp;gt;".
		"&amp;lt;refId&amp;gt;" . $refId . "&amp;lt;/refId&amp;gt;".
        "&amp;lt;subscription&amp;gt;".
        "&amp;lt;name&amp;gt;" . $name . "&amp;lt;/name&amp;gt;".
        "&amp;lt;paymentSchedule&amp;gt;".
        "&amp;lt;interval&amp;gt;".
        "&amp;lt;length&amp;gt;". $length ."&amp;lt;/length&amp;gt;".
        "&amp;lt;unit&amp;gt;". $unit ."&amp;lt;/unit&amp;gt;".
        "&amp;lt;/interval&amp;gt;".
        "&amp;lt;startDate&amp;gt;" . $startDate . "&amp;lt;/startDate&amp;gt;".
        "&amp;lt;totalOccurrences&amp;gt;". $totalOccurrences . "&amp;lt;/totalOccurrences&amp;gt;".
        "&amp;lt;trialOccurrences&amp;gt;". $trialOccurrences . "&amp;lt;/trialOccurrences&amp;gt;".
        "&amp;lt;/paymentSchedule&amp;gt;".
        "&amp;lt;amount&amp;gt;". $amount ."&amp;lt;/amount&amp;gt;".
        "&amp;lt;trialAmount&amp;gt;" . $trialAmount . "&amp;lt;/trialAmount&amp;gt;".
        "&amp;lt;payment&amp;gt;".
        "&amp;lt;creditCard&amp;gt;".
        "&amp;lt;cardNumber&amp;gt;" . $cardNumber . "&amp;lt;/cardNumber&amp;gt;".
        "&amp;lt;expirationDate&amp;gt;" . $expirationDate . "&amp;lt;/expirationDate&amp;gt;".
        "&amp;lt;/creditCard&amp;gt;".
        "&amp;lt;/payment&amp;gt;".
		"&amp;lt;order&amp;gt;&amp;lt;description&amp;gt;".$orderdescription."&amp;lt;/description&amp;gt;&amp;lt;/order&amp;gt;".
		"&amp;lt;customer&amp;gt;&amp;lt;email&amp;gt;". $customerEmail ."&amp;lt;/email&amp;gt;&amp;lt;/customer&amp;gt;".
        "&amp;lt;billTo&amp;gt;".
        "&amp;lt;firstName&amp;gt;". $firstName . "&amp;lt;/firstName&amp;gt;".
        "&amp;lt;lastName&amp;gt;" . $lastName . "&amp;lt;/lastName&amp;gt;".
        "&amp;lt;/billTo&amp;gt;".
        "&amp;lt;/subscription&amp;gt;".&lt;BR /&gt;        "&amp;lt;source&amp;gt;test&amp;lt;/source&amp;gt;".
        "&amp;lt;/ARBCreateSubscriptionRequest&amp;gt;";&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 23:24:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Merchant-Defined-fields/m-p/33799#M18299</guid>
      <dc:creator>wyattbiker</dc:creator>
      <dc:date>2013-04-01T23:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Merchant Defined fields</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Merchant-Defined-fields/m-p/33802#M18302</link>
      <description>&lt;P&gt;oh. and ARB, I don't think that support it as authorize.net do not store any merchant defined fields on their side. It only good for AIM, SIM, DPM.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2013 23:43:02 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Merchant-Defined-fields/m-p/33802#M18302</guid>
      <dc:creator>RaynorC1emen7</dc:creator>
      <dc:date>2013-04-01T23:43:02Z</dc:date>
    </item>
  </channel>
</rss>

