Download the PHP package litle/payments-sdk without Composer

On this page you can find all versions of the php package litle/payments-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package payments-sdk

Vantiv eCommerce PHP SDK

Important Support Note

Worldpay provides SDK updates for releases in the latest major version stream. We do not provide SDK updates to older releases, unless mandated by the card brands. All SDKs are open source, allowing you to update older versions as needed.

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

No major updates are planned for this repository. SDK Version 12 and above can be found here: cnp-sdk-for-php

The Vantiv eCommerce PHP SDK is a PHP implementation of the Vantiv eCommerce. XML API. This SDK was created to make it as easy as possible to connect 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 PHP SDK release supports all 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 was implemented to support the PHP programming language and was created by Vantiv eCommerce. Its intended use is for online transaction processing utilizing your account on the Vantiv eCommerce payments engine.

See LICENSE file for details on using this software.

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

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 [email protected]

SDK PHP Dependencies

Up to date list available at Packagist

Setup

Using with composer

If you are using a composer to manage your dependencies, you can do the following in your project directory:

1) Install the composer using command:

curl -sS https://getcomposer.org/install | php

2) Install dependencies using the command:

php composer.phar install

3) Configure the SDK:

cd litle/sdk php Setup.php

4) Run the attached sample:

php your_sample_name

Using without composer

If you're not, you have to add a require for each and every class that's going to be used.

1) Configure the SDK

cd into litle/sdk php Setup.php

2) Add the litle folder and require the path for your file

3) run your file

php your_file

Clone Repo

1) Install the LitleOnline PHP SDK from git.

git clone git://github.com/LitleCo/litle-sdk-for-php.git

php ~/composer.phar install

2) Once the SDK is downloaded run our setup program to generate a configuration file.

cd litle-sdk-for-php/lib

php Setup.php

Running the above commands will create a configuration file in the lib directory.

3) Create a symlink to the SDK

ln -s /path/to/sdk /var/www/html/nameOfLink

4.) Create a php file similar to:

As of 8.13.1, you may also use a tree-oriented style to get the response values:

NOTE: you may have to change the path to match that of your filesystems.

If you get an error like:

You need to change the second line of your script to load the real location of LitleOnline.php

If you get an error like:

You probably had a problem with composer. You can safely remove line 42 if you are not using batch processing, or you can edit it to point at our dependencies that you've downloaded in another way.

5) Next run this file using php on the command line or inside a browser. You should see the following result provided you have connectivity to the Litle certification environment. You will see an HTTP error if you don't have access to the Litle URL

Message: Valid Format
Vantiv eCommerce Transaction ID: <your-numeric-txn-id>

More examples can be found here [php Gists])(https://gist.github.com/litleSDK)

Please contact Litle & Co. with any further questions. You can reach us at [email protected]


All versions of payments-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
phpseclib/phpseclib Version 2.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package litle/payments-sdk contains the following files

Loading the files please wait ....