<?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 'AuthorizeNet' does not contain a definition for 'Environment' in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AuthorizeNet-does-not-contain-a-definition-for-Environment/m-p/93920#M58108</link>
    <description>&lt;P&gt;I added AuthorizeNet through nuget, used the sample C# code from the documentation to test performing an authorization and the code won't compile past the first line of code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using AuthorizeNet.Api.Controllers;
using AuthorizeNet.Api.Contracts.V1;
using AuthorizeNet.Api.Controllers.Bases;&lt;/LI-CODE&gt;&lt;P&gt;This is the line that won't compile:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.RunEnvironment = AuthorizeNet.Environment.SANDBOX;&lt;/LI-CODE&gt;&lt;P&gt;error CS0117: 'AuthorizeNet' does not contain a definition for 'Environment'&lt;/P&gt;</description>
    <pubDate>Tue, 09 Sep 2025 03:26:18 GMT</pubDate>
    <dc:creator>adrianp74</dc:creator>
    <dc:date>2025-09-09T03:26:18Z</dc:date>
    <item>
      <title>'AuthorizeNet' does not contain a definition for 'Environment'</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/AuthorizeNet-does-not-contain-a-definition-for-Environment/m-p/93920#M58108</link>
      <description>&lt;P&gt;I added AuthorizeNet through nuget, used the sample C# code from the documentation to test performing an authorization and the code won't compile past the first line of code:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using AuthorizeNet.Api.Controllers;
using AuthorizeNet.Api.Contracts.V1;
using AuthorizeNet.Api.Controllers.Bases;&lt;/LI-CODE&gt;&lt;P&gt;This is the line that won't compile:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.RunEnvironment = AuthorizeNet.Environment.SANDBOX;&lt;/LI-CODE&gt;&lt;P&gt;error CS0117: 'AuthorizeNet' does not contain a definition for 'Environment'&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 03:26:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/AuthorizeNet-does-not-contain-a-definition-for-Environment/m-p/93920#M58108</guid>
      <dc:creator>adrianp74</dc:creator>
      <dc:date>2025-09-09T03:26:18Z</dc:date>
    </item>
  </channel>
</rss>

