purchased-at/magento2-payment
Composer 安装命令:
composer require purchased-at/magento2-payment
包简介
Purchased.AT payment module for Magento 2.x
README 文档
README
This Magento 2.x module provides a payment method for the Purchased.at service.
Installation
Pre-requisites
Make sure your Magento 2.x installation is completed via composer or the web based Setup Wizard.
Install using composer
-
Log into your Magento 2 server and switch to the Magento filesystem owner user.
-
Change your current directory to the root of your Magento 2 installation.
-
Add the following line to ./composer.json under "require"
"purchased-at/magento2-payment": "~1.0",
-
Run
composer update&&composer installand the Magento setup procedures:./vendor/composer/composer/bin/composer update && \ ./vendor/composer/composer/bin/composer install && \ ./bin/magento setup:upgrade && \ ./bin/magento setup:di:compile && \ ./bin/magento cache:flush config && \ ./bin/magento setup:static-content:deploy
Make sure you use the Magento bundled
composer. If you would like to run it withoutphp -flike above, make sure the binary hasu+xprivileges. Same applies to themagentobinary, make itu+xif needed.
Install manually
- Download the latest release from Github: https://github.com/purchased-at/magento2-payment/releases
- Log into your Magento 2 server and switch to the Magento filesystem owner user.
- Change to your Magento 2 installation's root directory and create a sub-directory under
app/code/PurchasedAt_Magento2Payment. - Extract the downloaded package to this directory having the
registration.phpfile atapp/code/PurchasedAt_Magento2Payment/registration.php. - Edit
app/etc/config.phpand add a new item in the modules array for the new module:... 'PurchasedAt_Magento2Payment' => 1,
- Add a new database record in the
setup_moduletable with these fields:INSERT INTO `setup_module` (`module`, `schema_version`, `data_version`) VALUES ('PurchasedAt_Magento2Payment', '2.0.0', '2.0.0')
Install from Magento Connect
Our module submission is being reviewed. You will be able to install it via Magento Connect as soon as it gets approved.
Configuration
To get the payment module up and running you need to do some configuration that involves setting your Purchased.at API key. So if you do not already have an API key, head first to your Vendor Dashboard and create a project with an API key. Having your API key prepared:
- Go to your Magento Admin
- Navigate to Stores > Configuration > Sales > Payment methods
- Scroll down to the Purchased.at section
- Here you can set the title, the allowed countries, instructions text, sort order etc. but make sure you enter you API key, it is comoulsory even for testing.
If you want to test the module, set the Test mode to "Test" otherwise set it to "Live".
If you don't see the Purchased.at among payment option at the store's checkout, please clear the Magento cache via the Magento Admin under System > Cache Management > Flush Magento Cache.
purchased-at/magento2-payment 适用场景与选型建议
purchased-at/magento2-payment 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 20 次下载、GitHub Stars 达 0, 最近一次更新时间为 2016 年 09 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 purchased-at/magento2-payment 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 purchased-at/magento2-payment 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2016-09-07