PHPackages                             concaveit/upay-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. concaveit/upay-laravel

ActiveLibrary[Payment Processing](/categories/payments)

concaveit/upay-laravel
======================

Laravel package for integrating with the Upay Payment Gateway

032PHP

Since Feb 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ConcaveIT/upay-laravel)[ Packagist](https://packagist.org/packages/concaveit/upay-laravel)[ RSS](/packages/concaveit-upay-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Upay Laravel Package
====================

[](#upay-laravel-package)

This package provides a convenient integration with the Upay Payment Gateway for your Laravel applications. With this package, you can authenticate your merchant, initialize payments, check payment statuses (both single and bulk), and process bulk refunds—all through a simple API.

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

[](#installation)

1. **Require the Package via Composer**

    Run the following command in your Laravel application's root directory:

    ```
    composer require concaveit/upay-laravel
    ```

    *Replace `concaveit` with your actual vendor name.*
2. **Publish the Configuration File**

    Publish the configuration file to your application's `config` directory by running:

    ```
    php artisan vendor:publish --tag=config
    ```

    This command will copy the `upay.php` configuration file into your Laravel project's `config` folder.
3. **Set Environment Variables**

    Open your `.env` file and add your Upay credentials:

    ```
    UPAY_BASE_URL=https://uat-pg.upay.systems
    UPAY_MERCHANT_ID=your-merchant-id
    UPAY_MERCHANT_KEY=your-merchant-key
    ```

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

[](#configuration)

The configuration file `config/upay.php` holds your Upay API settings. You can modify these settings directly or use environment variables to override them.

```
