PHPackages                             latomate07/laravel-axepta - 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. latomate07/laravel-axepta

ActiveLibrary[Payment Processing](/categories/payments)

latomate07/laravel-axepta
=========================

Laravel package for BNP Paribas Axepta payment integration

v1.0.0(9mo ago)00MITPHPPHP ^8.1

Since Sep 14Pushed 9mo agoCompare

[ Source](https://github.com/latomate07/laravel-axepta)[ Packagist](https://packagist.org/packages/latomate07/laravel-axepta)[ RSS](/packages/latomate07-laravel-axepta/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (2)Used By (0)

Laravel Axepta
==============

[](#laravel-axepta)

A Laravel package for BNP Paribas Axepta payment gateway integration.

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

[](#installation)

Install the package via composer:

```
composer require latomate07/laravel-axepta
```

Publish the configuration file:

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

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

[](#configuration)

Add the following environment variables to your `.env` file:

```
AXEPTA_API_URL=https://paymentpage.axepta.bnpparibas/paymentpage.aspx
AXEPTA_MERCHANT_ID=your-merchant-id
AXEPTA_BLOWFISH_KEY=your-blowfish-key
AXEPTA_HMAC_KEY=your-hmac-key
AXEPTA_TEST_MODE=true
AXEPTA_DEFAULT_CURRENCY=EUR
```

Usage
-----

[](#usage)

### Creating a Payment URL

[](#creating-a-payment-url)

```
use TLM\LaravelAxepta\Facades\Axepta;
use TLM\LaravelAxepta\Data\PaymentData;

$paymentData = new PaymentData(
    transactionId: 'TXN123',
    amount: 99.99,
    notifyUrl: route('payment.notify'),
    successUrl: route('payment.success'),
    failureUrl: route('payment.failure'),
    currency: 'EUR',
    customerEmail: 'customer@example.com',
    orderDescription: 'Order #123'
);

$paymentUrl = Axepta::createHostedPaymentPageUrl($paymentData);

// Redirect user to payment page
return redirect($paymentUrl);
```

### Handling Payment Notifications

[](#handling-payment-notifications)

Create a route to handle payment notifications:

```
Route::post('/payment/notify', function (Request $request) {
    $isValid = Axepta::validatePaymentNotification($request->all());

    if ($isValid) {
        $status = $request->input('Status');
        $transactionId = $request->input('TransID');

        if ($status === 'SUCCESS') {
            // Payment successful - update your database
            // Update order status, send confirmation emails, etc.
        } else {
            // Payment failed - handle accordingly
        }

        return response()->json(['status' => 'success'], 200);
    }

    return response()->json(['status' => 'error'], 400);
})->name('payment.notify');
```

### Success and Failure Handlers

[](#success-and-failure-handlers)

```
Route::get('/payment/success', function (Request $request) {
    // Handle successful payment
    return view('payment.success');
})->name('payment.success');

Route::get('/payment/failure', function (Request $request) {
    // Handle failed payment
    return view('payment.failure');
})->name('payment.failure');
```

### Using PaymentData from Array

[](#using-paymentdata-from-array)

```
$paymentData = PaymentData::fromArray([
    'transaction_id' => 'TXN123',
    'amount' => 99.99,
    'notify_url' => route('payment.notify'),
    'success_url' => route('payment.success'),
    'failure_url' => route('payment.failure'),
    'currency' => 'EUR',
    'customer_email' => 'customer@example.com',
    'order_description' => 'Order #123',
    'is_test' => false,
]);
```

Configuration Options
---------------------

[](#configuration-options)

The package supports the following configuration options:

- `api_url` - Axepta API endpoint URL
- `merchant_id` - Your merchant ID provided by BNP Paribas
- `blowfish_key` - Blowfish encryption key
- `hmac_key` - HMAC signature key
- `test_mode` - Enable/disable test mode
- `default_currency` - Default currency (EUR)
- `message_version` - API message version (2.0)

Security
--------

[](#security)

- All payment data is encrypted using Blowfish encryption
- HMAC signatures are used to verify payment notifications
- Sensitive configuration data should be stored in environment variables

Testing
-------

[](#testing)

```
composer test
```

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability, please send an e-mail to  .

See BNP Paribas Axepta Official Documentation
---------------------------------------------

[](#see-bnp-paribas-axepta-official-documentation)

[Official Documentation](https://docs.axepta.bnpparibas/display/DOCBNP/Premiers+pas+avec+AXEPTA+BNP+Paribas)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance56

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

293d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/65642962?v=4)[Tahirou Magagi](/maintainers/latomate07)[@latomate07](https://github.com/latomate07)

---

Top Contributors

[![latomate07](https://avatars.githubusercontent.com/u/65642962?v=4)](https://github.com/latomate07 "latomate07 (4 commits)")

---

Tags

laravelpaymentgatewayaxeptabnp-paribas

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/latomate07-laravel-axepta/health.svg)

```
[![Health](https://phpackages.com/badges/latomate07-laravel-axepta/health.svg)](https://phpackages.com/packages/latomate07-laravel-axepta)
```

###  Alternatives

[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4851.0k](/packages/sebdesign-laravel-viva-payments)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3720.4k](/packages/linkxtr-laravel-qrcode)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
