treestoneit/laravel-converge-api

Laravel wrapper for Converge's payment API
2,066 7
Install
composer require treestoneit/laravel-converge-api
Latest Version:v2.2.2
PHP:^8.2
Laravel:10 · 11 · 12
Older releases:8
License:MIT
Last Updated:Jul 30, 2025
Links: GitHub  ·  Packagist
Maintainer: treeStoneIT

Laravel Elavon / Converge API

Latest Version on Packagist Fix PHP code style issues Total Downloads

A simple, easy to use Laravel wrapper for Elavon's Converge API via key value pairs instead of XML.

Installation

You can install the package via composer:

composer require treestoneit/laravel-converge-api

You can publish the config file with:

php artisan vendor:publish --provider="Treestoneit\LaravelConvergeApi\LaravelConvergeApiServiceProvider" --tag="config"

This is the contents of the published config file:

return [
    /*
     * Merchant ID: Elavon-assigned Converge account ID.
     */
    'merchant_id' => env('CONVERGE_MERCHANT_ID', ''),

    /*
     * Converge User ID: The user ID with Hosted Payment API User status that
     * can send transaction requests through the terminal.
     */
    'user_id'     => env('CONVERGE_USER_ID', ''),

    /*
     * Terminal ID: Unique identifier of the terminal that will process the 
     * transaction request and submit to the Converge gateway.
     * 
     * Important: The ssl_user_id sending the transaction request must be 
     * associated with the terminal that will process the request.
     */
    'pin'         => env('CONVERGE_PIN', ''),

    /*
     * Demo / Live Site
     */
    'demo'        => env('CONVERGE_DEMO', true),
];

Usage

    $converge = app(\Treestoneit\LaravelConvergeApi\Converge::class);

    $createSale = $converge->authOnly([
        'ssl_card_number' => '5121212121212124',
        'ssl_exp_date' => '0325',
        'ssl_cvv2cvc2' => '321',
        'ssl_amount' => '250.00',
        'ssl_add_token' => 'Y',
    ]);

Testing

On our todo list :-)

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

This package is built as a Laravel wrapper using the code in PHP Converge API built by Phillip Roth

License

The MIT License (MIT). Please see License File for more information.

Related Packages

swooinc/laravel-converge

A PHP wrapper for Converge's api.

3,980 0
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

648,266,899 9,701
laravel/framework

The Laravel Framework.

598,760,099 34,966
laravel/tinker

Powerful REPL for the Laravel framework.

507,193,856 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

423,477,751 607

Version History

Version Released PHP Laravel License
v2.2.2 ^8.2 ^10.13|^11.0|^12.0 MIT
v2.2.1 ^8.2 ^10.13|^11.0 MIT
v2.2.0 ^8.2 ^10.13|^11.0 MIT
v2.1.1 ^8.2 ^10.13.0 MIT
v2.1.0 ^8.2 ^10.13.0 MIT