bitbull/satispay
Composer 安装命令:
composer require bitbull/satispay
包简介
Magento module for Satispay Payment integration
README 文档
README
Magento module for Satispay integration.
Based on official Satispay documentation v. 1.0, 2016/02/15
System requirements
This extension supports the following versions of Magento:
-
Community Edition (CE) version 1.7.x, 1.8.x, 1.9.x
-
Enterprise Edition (EE) version 1.12.x, 1.13.x, 1.14.x
Cron jobs need to be configured in the Magento installation, otherwise orders will remain in Pending Payment status. This is because the transaction status check is scheduled to happen every 10 minutes as part of a cron job.
Installation
Using Composer
To install Bitbull_Satispay module via Composer you need to add this repository to your project's composer.json file:
"repositories":[
{"type": "vcs", "url": "git@github.com:bitbull-team/magento-module-satispay.git"}
]
Once done, you will be able to add it to the requirements:
"require":{
"bitbull/satispay":"*"
},
With this configuration, the last version of the extension will be installed running composer install or composer update.
Using Modman
modman clone https://github.com/bitbull-team/magento-module-satispay.git
Zip Download
Finally, you can install the extension by downloading the archive package, extract it and copy the content of the src folder over your Magento root directory.
Configuration
After installing the extension login to your shop's admin area and perform the following steps to enable the extension:
- Refresh the cache (if enabled)
- Go to System > Configuration > Payment Methods > ** Bitbull Satispay Integration**
- Set Enabled to Yes
- Past your Security Token in the dedicated field
- Press Save
From the same section you can also personalise the payment method title (what the customer sees in the payment method list), the instruction (what appears when the payment method is selected), the default phone country code and wether to activate the Test Mode or debug informations in the logs.
Usage Examples
After activating the extension you can simply add a product to cart and proceed to checkout. Satispay will be displayed between the payment method options and, if selected, you will be redirected to a page where you will be able to specify the mobile number you want to charge for the order. A notification will appear in the customer's app, asking to confirm the payment. Mind that the extension will only appear if it's enabled and the website currency is EUR. Other currencies are not supported by Satispay at the moment.
Development guidelines
Here are the guidelines we followed during the development of the module.
- The group name is satispay
- The module can be installed via composer or modman; composer uses modman file to know which files to install and where to put them, so the modman file should be always kept up to date
- To log messages a specific model is provided:
Bitbull_Satispay_Model_Logger; it can be instanced by using the default helper this way:helper('satispay')->getLogger(); for the list of methods please refer to the model class source code - The following annotated comments are used:
// @todo - followed by a description of what has to be completed// @fixme - followed by a description of what has to be fixed
- Commit messages and comments are in English; verbs use the second person and not the third (e.g.: Add something, Fix something and not Adds something, Fixes something)
Release notes
The extension uses semantic versioning v 2.0.0 convention.
Note: you can use the {break}.{feature}.{fix} formula to easily remember which number has to be changed after some code changes.
v 0.2.2
- Allow sort order configuration
- Better handling of country code preselection
- Error message display fixes
v 0.2.1
- Add support for Magento versions 1.7.x and 1.8.x
v 0.2.0
- Add basic system configuration flags and corresponding helper methods
v 0.1.2
- Add missing comments in Bitbull_Satispay_Model_Logger
v 0.1.1
- Add missing getter in Bitbull_Satispay_Helper_Data
v 0.1.0
- First commit and module structure
Testing
This package contains unit tests that can be executed enabling the extension Bitbull_SatispayTest. EcomDev_PHPUnit is a dependency, for more details about how to configure the environment refer to the official guide.
Authors, contributors and maintainers
Author:
Contributions:
- Ermanno Baschiera
- azambon
- For a full list of contributors visit Magento Module Satispay on GitHub
License
Licensed under the Open Software License version 3.0
bitbull/satispay 适用场景与选型建议
bitbull/satispay 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.32k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2017 年 11 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 bitbull/satispay 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bitbull/satispay 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 2.32k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2017-11-28