Vantiv.LitleSdkForNet 8.31.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Vantiv.LitleSdkForNet --version 8.31.2                
NuGet\Install-Package Vantiv.LitleSdkForNet -Version 8.31.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vantiv.LitleSdkForNet" Version="8.31.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vantiv.LitleSdkForNet --version 8.31.2                
#r "nuget: Vantiv.LitleSdkForNet, 8.31.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Vantiv.LitleSdkForNet as a Cake Addin
#addin nuget:?package=Vantiv.LitleSdkForNet&version=8.31.2

// Install Vantiv.LitleSdkForNet as a Cake Tool
#tool nuget:?package=Vantiv.LitleSdkForNet&version=8.31.2                

Vantiv eCommerce .NET SDK

WARNING:
All major version changes require recertification to the new version. Once certified for the use of a new version, Vantiv modifies your Merchant Profile, allowing you to submit transaction to the Production Environment using the new version. Updating your code without recertification and modification of your Merchant Profile will result in transaction declines. Please consult you Implementation Analyst for additional information about this process.

About Vantiv eCommerce

Vantiv eCommerce powers the payment processing engines for leading companies that sell directly to consumers through internet retail, direct response marketing (TV, radio and telephone), and online services. Vantiv eCommerce is the leading authority in card-not-present (CNP) commerce, transaction processing and merchant services.

About this SDK

The Vantiv eCommerce .NET SDK is a C# implementation of the Vantiv eCommerce XML API. This SDK was created to make it as easy as possible to connect and process your payments with Vantiv eCommerce. This SDK utilizes the HTTPS protocol to securely connect to Vantiv eCommerce. Using the SDK requires coordination with the Vantiv eCommerce team in order to be provided with credentials for accessing our systems.

Each .NET SDK release supports all of the functionality present in the associated Vantiv eCommerce XML version (e.g., SDK v9.3.2 supports Vantiv eCommerce XML v9.3). Please see the online copy of our XSD for Vantiv eCommerce XML to get more details on what the Vantiv eCommerce payments engine supports.

This SDK is implemented to support the .NET plaform, including C#, VB.NET and Managed C++ and was created by Vantiv eCommerce. Its intended use is for online transactions processing utilizing your account on the Vantiv eComerce payments engine.

See LICENSE file for details on using this software.

Source Code available from : https://github.com/LitleCo/litle-sdk-for-dotNet

Please contact Vantiv eCommerce to receive valid merchant credentials in order to run tests successfully or if you require assistance in any way. We are reachable at sdksupport@Vantiv.com

Setup

1.) To install it, just copy LitleSdkForDotNet.dll into your Visual Studio referernces.

2.) You can configure it statically by modifying LitleSdkForDotNet.dll.config or at runtime using the LitleOnline(Dictionary) constructor. If you are just trying it out, the username, password and merchant id don't matter, and you should choose the sandbox url at https://www.testlitle.com/sandbox/communicator/online.

3.) Create a c# class similar to:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Litle.Sdk;

    class Example
    {
[STAThread]
        public static void Main(String[] args)
        {
            LitleOnline litle = new LitleOnline();
            sale sale = new sale();
            sale.orderId = "1";
            sale.amount = 10010;
            sale.orderSource = orderSourceType.ecommerce;
            contact contact = new contact();
            contact.name = "John Smith";
            contact.addressLine1 = "1 Main St.";
            contact.city = "Burlington";
            contact.state = "MA";
            contact.zip = "01803-3747";
            contact.country = countryTypeEnum.US;
            sale.billToAddress = contact;
            cardType card = new cardType();
            card.type = methodOfPaymentTypeEnum.VI;
            card.number = "4457010000000009";
            card.expDate = "0112";
            card.cardValidationNum = "349";
            sale.card = card;

            saleResponse response = litle.Sale(sale);
            //Display Results
            Console.WriteLine("Response: " + response.response);
            Console.WriteLine("Message: " + response.message);
            Console.WriteLine("Litle Transaction Id: " + response.litleTxnId);
            Console.ReadLine();
        }
    }

  1. Compile and run this file. You should see the following result:

    Response: 000 Message: Approved Litle Transaction ID: <your-numeric-litle-txn-id>

More examples can be found here .Net Gists or Here or in [Functional and Unit Tests] (https://github.com/LitleCo/litle-sdk-for-dotNet/tree/master/LitleSdkForNet/LitleSdkForNetTest)

Please contact Vantiv eCommerce with any further questions. You can reach us at sdksupport@Vantiv.com.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
11.4.11 895 5/4/2023
11.4.10 181 5/3/2023
11.4.9 11,523 10/25/2019
11.4.8 2,316 8/22/2019
11.4.7 570 8/15/2019
11.4.6 3,185 12/14/2018
11.4.5 838 11/1/2018
11.4.4 1,097 10/30/2018
11.4.2 1,027 8/17/2018
11.4.1 1,717 4/25/2018
11.4.0 1,011 4/12/2018
11.1.1 88,948 11/30/2017
11.1.0 1,122 7/25/2017
11.0.2 930 7/11/2017
11.0.0 968 4/13/2017
10.8.4 621 10/28/2019
10.8.3 678 12/14/2018
10.8.2.1 775 11/16/2018
10.8.2 957 7/9/2018
10.8.1 992 4/25/2018
10.8.0 957 4/9/2018
9.14.4 13,572 10/8/2019
9.14.3 532 10/1/2019
9.14.2 2,637 12/14/2018
9.14.1 717 11/27/2018
9.14.0 7,174 4/12/2018
9.12.7 881 1/25/2018
9.12.6 10,245 11/30/2017
9.12.5 920 10/20/2017
9.12.4 20,267 9/1/2017
9.12.3 921 7/11/2017
9.12.2 3,968 5/19/2017
9.12.1 1,375 4/7/2017
9.10.1.1 5,724 12/12/2016
8.33.0 152 10/30/2023
8.31.5 1,041 10/25/2019
8.31.4 751 12/14/2018
8.31.3 875 8/17/2018
8.31.2 975 4/25/2018
8.31.1 1,028 4/20/2018
8.31.0 1,459 4/12/2018
8.29.5 939 11/30/2017

* BugFix: Set content-type to text/xml; charset=UTF-8