File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Authorize.Net .Net SDK
2
2
3
- [ ![ Travis] ( https://img.shields.io/travis/AuthorizeNet/sdk-dotnet/master.svg )]
4
- (https://travis-ci.org/AuthorizeNet/sdk-dotnet )
3
+ [ ![ Travis] ( https://img.shields.io/travis/AuthorizeNet/sdk-dotnet/master.svg )] ( https://travis-ci.org/AuthorizeNet/sdk-dotnet )
5
4
[ ![ Code Climate] ( https://codeclimate.com/github/AuthorizeNet/sdk-dotnet/badges/gpa.svg )] ( https://codeclimate.com/github/AuthorizeNet/sdk-dotnet )
6
5
[ ![ NuGet] ( https://badge.fury.io/nu/authorizenet.svg )] ( https://www.nuget.org/packages/authorizenet )
7
6
@@ -27,7 +26,7 @@ Apart from this README, you can find details and examples of using the SDK in th
27
26
- [ Developer Center Reference] ( http://developer.authorize.net/api/reference/index.html )
28
27
29
28
### Charging a Credit Card
30
- ```` csharp
29
+ ``` csharp
31
30
ApiOperationBase <ANetApiRequest , ANetApiResponse >.RunEnvironment = AuthorizeNet .Environment .SANDBOX ;
32
31
33
32
ApiOperationBase <ANetApiRequest , ANetApiResponse >.MerchantAuthentication = new merchantAuthenticationType ()
@@ -70,7 +69,7 @@ Apart from this README, you can find details and examples of using the SDK in th
70
69
{
71
70
Console .WriteLine (" Error: " + response .messages .message [0 ].code + " " + response .messages .message [0 ].text );
72
71
}
73
- ````
72
+ ```
74
73
75
74
### Setting the Production Environment
76
75
Set the appropriate environment constant using the ApiOperationBase RunEnvironment. For example, in the method above, to switch to production environment use:
You can’t perform that action at this time.
0 commit comments