Skip to content

Commit 04e3c34

Browse files
committed
Update README.md
1 parent 51725d4 commit 04e3c34

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,11 @@ else
139139
echo "Charge Credit card Null response returned";
140140
}
141141
```
142+
### Setting Production Environment
143+
Replace the environment constant in the execute method. For example, in the method above:
144+
```php
145+
$response = $controller->executeWithApiResponse( \net\authorize\api\constants\ANetEnvironment::PRODUCTION);
146+
```
142147

143148
## Logging
144149

0 commit comments

Comments
 (0)