PHPackages                             mitchdav/st-george-ipg-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. mitchdav/st-george-ipg-laravel

AbandonedArchivedLibrary[Payment Processing](/categories/payments)

mitchdav/st-george-ipg-laravel
==============================

A Laravel service provider for the St.George IPG library.

1.0.0(8y ago)1113MITPHP

Since Aug 13Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mitchdav/st-george-ipg-laravel)[ Packagist](https://packagist.org/packages/mitchdav/st-george-ipg-laravel)[ RSS](/packages/mitchdav-st-george-ipg-laravel/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (5)Used By (0)

St.George IPG Client
====================

[](#stgeorge-ipg-client)

[![Latest Stable Version](https://camo.githubusercontent.com/e9878f99d9d20f38333887865487152a6b2d5fddc94576d41f1f253ea41a5d7a/68747470733a2f2f706f7365722e707567782e6f72672f6d697463686461762f73742d67656f7267652d6970672f762f737461626c652e737667)](https://packagist.org/packages/mitchdav/st-george-ipg-laravel)[![Total Downloads](https://camo.githubusercontent.com/d946c1c6fff61ca701a33893499429cc19363df8a61494d96c2e7764f91dd4e6/68747470733a2f2f706f7365722e707567782e6f72672f6d697463686461762f73742d67656f7267652d6970672f646f776e6c6f6164732e737667)](https://packagist.org/packages/mitchdav/st-george-ipg-laravel)[![License](https://camo.githubusercontent.com/bb007a32d384259983a33280da9fb5aecc5579d77531e4e933734da3fdf799a4/68747470733a2f2f706f7365722e707567782e6f72672f6d697463686461762f73742d67656f7267652d6970672f6c6963656e73652e737667)](https://packagist.org/packages/mitchdav/st-george-ipg-laravel)

A Laravel service provider for the St.George Internet Payment Gateway.

Please review the [mitchdav/st-george-ipg](https://github.com/mitchdav/st-george-ipg) package readme for installation of the base package.

Installation
------------

[](#installation)

```
composer require mitchdav/st-george-ipg-laravel

```

Once the library is installed, add the following service provider to your `config/app.php` file:

```
StGeorgeIPG\Laravel\Provider::class,
```

You can also add the facade if required:

```
'IPG' => StGeorgeIPG\Laravel\Facades\IPG::class,
```

You can then export the config file with the following command:

```
php artisan vendor:publish --provider="StGeorgeIPG\Laravel\Provider"

```

Configuration
-------------

[](#configuration)

You first need to define the following environment variable in your `.env` file:

```
IPG_CLIENT_ID=

```

Depending on whether you have an authentication token set (required for the WebService provider, but only required if already set in the Merchant Administration Console for the Extension provider):

```
IPG_AUTHENTICATION_TOKEN=

```

You can set the system to use the test mode so that all transactions will go to the St.George IPG test server:

```
IPG_TEST=TRUE

```

If you are using the Extension provider, you'll need to define your certificate password, and optionally the certificate path, log file and the debug setting:

```
IPG_CERTIFICATE_PASSWORD=
IPG_CERTIFICATE_PATH=
IPG_LOG_FILE=
IPG_DEBUG=TRUE

```

Both `IPG_CERTIFICATE_PATH` and `IPG_LOG_FILE` are set to suitable defaults so you can leave these empty if you wish.

Finally, review or edit the `config/ipg.php` file, which reads the environment variables and populates the configuration for the package.

```
