<?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 Object reference not set to an instance of an object in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Object-reference-not-set-to-an-instance-of-an-object/m-p/70507#M43305</link>
    <description>&lt;P&gt;New to Authorize.net.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a .net core 2.2 application . The Authorize.net code is in a class library .&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is similar to&amp;nbsp;&lt;FONT face="&amp;quot;ScalaSansWeb&amp;quot;,sans-serif"&gt;&lt;A href="https://github.com/AuthorizeNet/sample-code-csharp/blob/master/PaymentTransactions/ChargeCreditCard.cs" target="_blank" rel="noopener"&gt;https://github.com/AuthorizeNet/sample-code-csharp/blob/master/PaymentTransactions/ChargeCreditCard.cs&lt;/A&gt;&lt;/FONT&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem&lt;/P&gt;&lt;P&gt;1) The application works as expected when I execute it from Visual Studio on my local machine with the sandbox account.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) I need to host it on IIS(development still ) on a web server. I still want to use the Sandbox account.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) I thought I dont have to make any change to the configuration and it will work as is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) But on the IIS the response returned from this method is null. I was of the opinion that Authorize.net will return some value always. Never expected a null.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question&lt;/P&gt;&lt;P&gt;1) how do I get it working with the sandbox account on my web server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) If I have to go live , what else i have to do other than changing the Login and TranCode.?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2020 22:01:14 GMT</pubDate>
    <dc:creator>Srividhya5</dc:creator>
    <dc:date>2020-02-04T22:01:14Z</dc:date>
    <item>
      <title>Object reference not set to an instance of an object</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Object-reference-not-set-to-an-instance-of-an-object/m-p/70507#M43305</link>
      <description>&lt;P&gt;New to Authorize.net.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a .net core 2.2 application . The Authorize.net code is in a class library .&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code is similar to&amp;nbsp;&lt;FONT face="&amp;quot;ScalaSansWeb&amp;quot;,sans-serif"&gt;&lt;A href="https://github.com/AuthorizeNet/sample-code-csharp/blob/master/PaymentTransactions/ChargeCreditCard.cs" target="_blank" rel="noopener"&gt;https://github.com/AuthorizeNet/sample-code-csharp/blob/master/PaymentTransactions/ChargeCreditCard.cs&lt;/A&gt;&lt;/FONT&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem&lt;/P&gt;&lt;P&gt;1) The application works as expected when I execute it from Visual Studio on my local machine with the sandbox account.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) I need to host it on IIS(development still ) on a web server. I still want to use the Sandbox account.&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) I thought I dont have to make any change to the configuration and it will work as is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;4) But on the IIS the response returned from this method is null. I was of the opinion that Authorize.net will return some value always. Never expected a null.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question&lt;/P&gt;&lt;P&gt;1) how do I get it working with the sandbox account on my web server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) If I have to go live , what else i have to do other than changing the Login and TranCode.?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 22:01:14 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Object-reference-not-set-to-an-instance-of-an-object/m-p/70507#M43305</guid>
      <dc:creator>Srividhya5</dc:creator>
      <dc:date>2020-02-04T22:01:14Z</dc:date>
    </item>
  </channel>
</rss>

