@@ -78,9 +78,9 @@ In order to use OAuth, set the run environment to OAuth enabled URLs. OAuth only
7878
7979```java
8080 // For TESTING use
81- props.setProperty("runEnvironment", "CyberSource.Environment.MutualAuth.SANDBOX ");
81+ props.setProperty("runEnvironment", "api-matest.cybersource.com ");
8282 // For PRODUCTION use
83- //props.setProperty("runEnvironment", "CyberSource.Environment.MutualAuth.PRODUCTION ");
83+ //props.setProperty("runEnvironment", "api-ma.cybersource.com ");
8484```
8585
8686### Switching between the sandbox environment and the production environment
@@ -89,18 +89,18 @@ Cybersource maintains a complete sandbox environment for testing and development
8989
9090``` java
9191 // For TESTING use
92- props. setProperty(" runEnvironment" , " CyberSource.Environment.SANDBOX " );
92+ props. setProperty(" runEnvironment" , " apitest.cybersource.com " );
9393 // For PRODUCTION use
94- // props.setProperty("runEnvironment", "CyberSource.Environment.PRODUCTION ");
94+ // props.setProperty("runEnvironment", "api.cybersource.com ");
9595```
9696
9797To Use OAuth, use OAuth enabled URLs
9898
9999``` java
100100 // For TESTING use
101- props. setProperty(" runEnvironment" , " CyberSource.Environment.MutualAuth.SANDBOX " );
101+ props. setProperty(" runEnvironment" , " api-matest.cybersource.com " );
102102 // For PRODUCTION use
103- // props.setProperty("runEnvironment", "CyberSource.Environment.MutualAuth.PRODUCTION ");
103+ // props.setProperty("runEnvironment", "api-ma.cybersource.com ");
104104```
105105
106106API credentials are different for each environment, so be sure to switch to the appropriate credentials when switching environments.
0 commit comments