New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

zarulizham/laravel-ecommerce-payment

Malaysia payment gateway for eCommerce
7,712 1

Larablocks Analysis

zarulizham/laravel-ecommerce-payment works with Laravel 8 to 13 (latest release 2.0.9, May 22, 2026).

Promising: maintained and up to date, meets 2 of 4 checks; not yet widely used.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (May 22, 2026)
  • 302 downloads a month (needs 10,000)
  • 1 GitHub star (needs 100)

State

Maintained
  • Last stable release: May 22, 2026.
  • 2 releases in the last 12 months.
  • First released: Feb 9, 2022.
  • Monthly downloads: 302.
  • 2 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.

Install
composer require zarulizham/laravel-ecommerce-payment
Latest Version:2.0.9
PHP:^8.0
Laravel:8 – 13
License:MIT
Last Updated:May 22, 2026
Links: GitHub  ·  Packagist
Maintainer: zarulizham

Malaysia payment gateway for eCommerce

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Installation

You can install the package via composer:

composer require zarulizham/laravel-ecommerce-payment

You can publish and run the migrations with:

php artisan vendor:publish --tag="ecommerce-payment-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="ecommerce-payment-config"

You can publish the controller file with:

php artisan vendor:publish --tag="ecommerce-payment-controller"

This is the contents of the published config file:

return [
    'password' => env('ECOMMERCE_PASSWORD'),
    'merchant_account_no' => env('ECOMMERCE_MERCHANT_ACCOUNT_NO'),
    'payment_window_url' => env('ECOMMERCE_PAYMENT_WINDOW_URL'),
    'direct_path' => env('ECOMMERCE_DIRECT_PATH'),
    'direct_url' => env('ECOMMERCE_DIRECT_URL'),
    'callback_path' => env('ECOMMERCE_CALLBACK_PATH'),
    'callback_url' => env('ECOMMERCE_CALLBACK_URL'),
    'transaction_type' => env('ECOMMERCE_TRANSACTION_TYPE', 2),
    'response_type' => env('ECOMMERCE_RESPONSE_TYPE', 'HTTP'),
];

Sample .env

ECOMMERCE_PASSWORD=
ECOMMERCE_MERCHANT_ACCOUNT_NO=
ECOMMERCE_PAYMENT_WINDOW_URL=https://3dgatewaytest.ambankgroup.com/BPG/admin/payment/PaymentWindow.jsp
ECOMMERCE_DIRECT_PATH=BPG/ecommerce/redirect
ECOMMERCE_DIRECT_URL="${APP_URL}/BPG/ecommerce/redirect"
ECOMMERCE_CALLBACK_PATH=BPG/ecommerce/callback
ECOMMERCE_CALLBACK_URL="${APP_URL}/BPG/ecommerce/callback"

Optionally, you can publish the views using

php artisan vendor:publish --tag="ecommerce-payment-views"

Usage

To test: URL/ecommerce/initiate/payment

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

License

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

Related Packages

zarulizham/laravel-duitnow-qr

Malaysia's National QR Payment repository for Laravel

7,873 5
zarulizham/laravel-duitnow

Malaysia DuitNow payment

6,687 10
zarulizham/laravel-ambank-autodebit

Laravel wrapper for AmBank AutoDebit (eConsent)

4,316 0
zarulizham/laravel-wasap-one

Laravel Package for WasapONE

3,448 1
zarulizham/laravel-e-mandate

Laravel package for eMandate (FPX)

1,132 0

Version History

Version Released PHP Laravel License
2.0.9 ^8.0 ^8.73|^9.0|^10.0|^11.0|^12.0|^13.0 MIT
2.0.8 ^8.0 ^8.73|^9.0|^10.0|^11.0|^12.0 MIT
2.0.7 ^8.0 ^8.73|^9.0|^10.0 MIT
2.0.6 ^8.0 ^8.73|^9.0|^10.0 MIT
2.0.5 ^8.0 ^8.73|^9.0|^10.0 MIT