Skip to content

Commit 197df56

Browse files
authored
Merge pull request #1 from snavinch/run-env-change
Run env change
2 parents e946da4 + d020221 commit 197df56

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,20 @@ For more detailed information on OAuth, refer to the documentation at [Cybersour
5656
In order to use OAuth, set the run environment to OAuth enabled URLs. OAuth only works in these run environments.
5757

5858
```csharp
59-
// For TESTING use
60-
_configurationDictionary.Add("runEnvironment", "cybersource.environment.mutualauth.sandbox")
61-
// For PRODUCTION use
62-
// _configurationDictionary.Add("runEnvironment", "cybersource.environment.mutualauth.production")
63-
```
59+
// For TESTING use
60+
_configurationDictionary.Add("runEnvironment", "api-matest.cybersource.com")
61+
// For PRODUCTION use
62+
// _configurationDictionary.Add("runEnvironment", "api-ma.cybersource.com")
63+
```
6464

6565
### Switching between the sandbox environment and the production environment
6666
Cybersource maintains a complete sandbox environment for testing and development purposes. This sandbox environment is an exact duplicate of our production environment with the transaction authorization and settlement process simulated. By default, this SDK is configured to communicate with the sandbox environment. To switch to the production environment, set the `runEnvironment` property in the SDK Configuration. See our sample at https://github.com/CyberSource/cybersource-rest-samples-csharp/blob/master/src/Configuration.cs.
6767

6868
```csharp
69-
// For TESTING use
70-
_configurationDictionary.Add("runEnvironment", "cybersource.environment.sandbox");
71-
// For PRODUCTION use
72-
// _configurationDictionary.Add("runEnvironment", "cybersource.environment.production");
69+
// For TESTING use
70+
_configurationDictionary.Add("runEnvironment", "apitest.cybersource.com");
71+
// For PRODUCTION use
72+
// _configurationDictionary.Add("runEnvironment", "api.cybersource.com");
7373
```
7474

7575
API credentials are different for each environment, so be sure to switch to the appropriate credentials when switching environments.

cybersource-rest-client-dotnet.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ OpenAPI spec version: 0.0.1
3838
<WarningLevel>4</WarningLevel>
3939
</PropertyGroup>
4040
<ItemGroup>
41-
<Reference Include="AuthenticationSdk, Version=0.0.0.9, Culture=neutral, processorArchitecture=MSIL">
41+
<Reference Include="AuthenticationSdk, Version=0.0.0.10, Culture=neutral, processorArchitecture=MSIL">
4242
<SpecificVersion>False</SpecificVersion>
43-
<HintPath>packages\CyberSource.Authentication.0.0.0.9\lib\AuthenticationSdk.dll</HintPath>
43+
<HintPath>packages\CyberSource.Authentication.0.0.0.10\lib\AuthenticationSdk.dll</HintPath>
4444
</Reference>
4545
<Reference Include="System" />
4646
<Reference Include="System.Core" />

0 commit comments

Comments
 (0)