sample-code-csharp
sample-code-csharp copied to clipboard
This repository contains working code samples which demonstrate C# integration with the Authorize.Net API
Steps to reproduce: - Run sample for GetAnAcceptPaymentPage - Redirect to payment page via the code below ``` Pay ``` - Fill out form with test credit card information ```...
I am using ID TECH Augusta smart card reader device to swipe and capture encrypted data and submitting it to Authorize.net using code sample on git hub link https://github.com/AuthorizeNet/sample-code-csharp/blob/master/PaymentTransactions/ChargeEncryptedTrackData.cs Can...
Fixing possible null reference exception. The response object would always be null in line modified. Change to reference the error response from the controller object.
Request: ``` { "createTransactionRequest": { "merchantAuthentication": { "name": "NameNameName", "transactionKey": "KeyKeyKey" }, "refId": "123", "transactionRequest": { "transactionType": "authCaptureTransaction", "amount": "7.77", "payment": { "creditCard": { "cardNumber": "4111111111111111", "expirationDate": "2022-03", "cardCode": "123"...
we're capturing a transaction previously submitted with AuthOnly request, but comments say CaptureOnly which is a bit misleading
Fix a simple typographical error in a comment
On a Windows Server Enterprise Service Pack 2 machine, getting "Could not create SSL/TLS secure channel" when running the ChargeCreditCard sample. How can I get this to work? 
ApiOperationBase.RunEnvironment = AuthorizeNet.Environment.SANDBOX; This line from the sample code gives the error: ANetApiRequest is an ambiguous reference between 'AuthorizeNet.ApiCore.ANetApiRequest' and 'AuthorizeNet.Api.Contracts.V1.ANetApiRequest' If I try to fully qualify the reference, it...
ShowReciept setting added to the hosted form sample code