|
|
|
|
|
Add Credit Card Processing through Authorize.NET
to your C#, VB.NET, or .NET based website or desktop application
in minutes!
|
|
|
|
The SharpAuthorize component makes intregrating your website or desktop
application with Authorize.net easy. Whether you simply need the minimum
level of integration with Authorize.net's AIM API or need access to every
attribute, SharpAuthorize has you covered. Just follow the "Test Drive"
steps below to get a flavor for how simple it can be:
Test Drive Steps
- Download and extract
SharpAuthorize.zip
- Open your application in Visual Studio
- Add a reference to SharpAuthorize.dll
- Create a form to enter:
Credit Card Number, Card Expiration Date, and CCV
- Put the following code in your form:
C# Fluent Interface | C# Standard Interface
VB.NET Fluent Interface | VB.NET Standard Interface
MinimumCreditCard authNet = new MinimumCreditCard()
.Login("testdrive")
.TranKey("TRANSACTION_KEY")
.Type(TranType.AUTH_CAPTURE)
.CardNum(_cardNumField.Text)
.ExpDate(_cardExpField.Text)
.CardCode(_cardCodeField.Text)
.Amount(8.00);
if (authNet.Authorize())
{
// Money in your pocket!
SaveResults(authNet.Response);
}
MinimumCreditCard authNet = new MinimumCreditCard();
authNet.Login = "testdrive";
authNet.TranKey = "TRANSACTION_KEY";
authNet.Type = TranType.AUTH_CAPTURE;
authNet.CardNum = _cardNumField.Text;
authNet.ExpDate = _cardExpField.Text;
authNet.CardCode = _cardCodeField.Text;
authNet.Amount = 8.00;
if (authNet.Authorize())
{
// Money in your pocket!
SaveResults(authNet.Response);
}
Dim authNet As New Transaction
With authNet
.Login("testdrive")
.TranKey("TRANSACTION_KEY")
.Type(TranType.AUTH_CAPTURE)
.CardNum(_cardNumField.Text)
.ExpDate(_cardExpField.Text)
.CardCode(_cardCodeField.Text)
.Amount(8.0)
End With
If authNet.Authorize()
' Money in your pocket!
SaveResults(authNet.Response)
End If
Dim authNet As New Transaction
authNet.Login = "testdrive"
authNet.TranKey = "TRANSACTION_KEY"
authNet.Type = TranType.AUTH_CAPTURE
authNet.CardNum = _cardNumField.Text
authNet.ExpDate = _cardExpField.Text
authNet.CardCode = _cardCodeField.Text
authNet.Amount = 8.0
If authNet.Authorize Then
' Money in your pocket!
SaveResults(authNet.Response)
End If
Beyond the Test Drive
Now that you have seen how easy SharpAuthorize makes it to use Authorize.NET from
C#, VB.NET, or any other .NET based language, I hope that you will
download the demo zip
file and give it a try.
If you need more power than what you can see in the credit card processing code examples
above, please take a moment to look deeper into SharpAuthorize's documentation.
SharpAuthorize gives you complete access to Authorize.NET's AIM API.
SharpAuthorize can be used to create anything from the simple buy page on this site
to a complete point of sale system and anything in between.
|
|
|
|
Questions? Call 801.709.1001 or Contact
|
|