PHPackages                             iamxid/iamx-payment-gateway - 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. iamxid/iamx-payment-gateway

ActiveLibrary[Payment Processing](/categories/payments)

iamxid/iamx-payment-gateway
===========================

IAMX payment gateway is a Laravel package which allows users to pay a fee using cardano native token.

026PHP

Since Feb 2Pushed 2y ago2 watchersCompare

[ Source](https://github.com/IAMXID/iamx-payment-gateway)[ Packagist](https://packagist.org/packages/iamxid/iamx-payment-gateway)[ RSS](/packages/iamxid-iamx-payment-gateway/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

iamx-payment-gateway
====================

[](#iamx-payment-gateway)

IAMX payment gateway is a Laravel package which allows users to pay a fee using ADA or cardano native token.

- [IAMX-paymwnt-gateway](#iamx-wallet-connect)
    - [Installation](#Installation)
    - [Configuration](#Configuration)
    - [Usage](#Usage)
    - [Bugs, Suggestions, Contributions and Support](#bugs-and-suggestions)
    - [Copyright and License](#copyright-and-license)

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

[](#installation)

Install the current version of the `iamxid/iamx-payment-gateway` package via composer:

```
    composer require iamxid/iamx-payment-gateway:dev-main
```

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

[](#configuration)

Publish the config file:

```
    php artisan vendor:publish --provider="IAMXID\IamxPaymentGateway\IamxPaymentGatewayServiceProvider" --tag="config"
```

Publish the migration file:

```
    php artisan vendor:publish --provider="IAMXID\IamxPaymentGateway\IamxPaymentGatewayServiceProvider" --tag="migrations"
```

Run the migration:

```
    php artisan migrate
```

Add the Blockfrost project id to the file /config/blockfrost.php

```
return [
'project_id' => 'mainnet...',
];

```

Add the variable PAYMENT\_GATEWAY\_LOGGER to the env file to active logging of the package.

```
PAYMENT_GATEWAY_LOGGER=true

```

Usage
-----

[](#usage)

Use the trait UsePaymentController in your controller to insert a new payment to the database, check if the payment is pending or confirmed.

```
