定制 zarulizham/laravel-ecommerce-payment 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

zarulizham/laravel-ecommerce-payment

最新稳定版本:2.0.7

Composer 安装命令:

composer require zarulizham/laravel-ecommerce-payment

包简介

Malaysia payment gateway for eCommerce

README 文档

README

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.

统计信息

  • 总下载量: 4.93k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固