magicway/momagic-php
Composer 安装命令:
composer require magicway/momagic-php
包简介
PHP library for Magic way payment gateway
关键字:
README 文档
README
MagicWay Payment Gateway Integration - PHP Library
Library Directory
|-- config/
|-- config.php
|-- lib/
|-- MoMagicAbstraction.php (core file)
|-- MoMagicInterface.php (core file)
|-- MoMagicConnector.php (core file)
|-- pg_redirection/
|-- cancel.php
|-- fail.php
|-- success.php
|-- ipn.php
|-- README.md
|-- orders.sql
|-- db_connection.php
|-- checkout_hosted.php
|-- example_hosted.php
|-- OrderTransaction.php
Instructions:
-
Step 1: Download and extract the library files into your project
-
Step 2: Create a database and import the
orders.sqltable schema. Then set the database credential ondb_connection.phpfile. -
Step 3: For Checkout integration, you can update the
checkout_hosted.phpor use a different file according to your need. We have provided a basic sample page from where you can kickstart the payment gateway integration. -
Step 4: When user click Continue to checkout button, redirect customer to payment channel selection page.
-
Step 5: For redirecting action from MagicWay Payment gateway, we have also provided sample
success.php,cancel.php,fail.phpandipn.phpfiles. You can update those files according to your need.
Contributors
Arifur Rahman
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-07-14