boltpay/bolt-magento2
Composer 安装命令:
composer require boltpay/bolt-magento2
包简介
Bolt payment gateway integration
README 文档
README
1. Requirements
- Magento 2.3.0 or greater
- Composer PHP Dependency Manager
2. Plugin installation
- Open command prompt, go to
<MAGENTO_ROOT>folder and run the following commands:
$ composer require boltpay/bolt-magento2
$ php bin/magento setup:upgrade
$ php bin/magento setup:di:compile
$ php bin/magento setup:static-content:deploy
$ php bin/magento cache:clean
$ php bin/magento cache:flush
3. Plugin configuration
Login to the store admin panel.
Navigate to Stores > Configuration > Sales > Payment Methods > Bolt Pay.
The essential settings are described below.
Enableddropdown enables / disables the Bolt Payment method. Select Yes to enable it.- Enter an appropriate
Titlesuch as Credit & Debit Cards
API credentials
The following three required values, (i.e.
API Key,Signing Secret,Publishable Key) can be found in your Bolt Merchant Dashboard underDevelopers>APIThe Publishable Key is for the multi-step checkout by default. You can find other publishable keys (Payment Only and Back-Office) in the division dropdown at the top-right corner.
For production, these will be found at: https://merchant.bolt.com
For sandbox mode, use the following URL: https://merchant-sandbox.bolt.com"
- API Key used for calling Bolt API from your back-end server
- Signing Secret used for signature verification in checking the authenticity of webhook requests
- Publishable Key - Multi Step used to open the Bolt Payment Popup typically on Shopping cart and product pages
- Publishable Key - Payment Only used to open the Bolt Payment Popup typically on checkout pages
- Publishable Key - Back Office used to open the Bolt Payment Popup typically on the admin order creation page
- Sandbox Mode setting up testing vs. production execution environment
- Replace Button Selectors comma separated list of CSS selectors matching the elements to be replaced with Bolt checkout buttons, or Bolt checkout buttons placed alongside them
no suffix- the default, inserts the Bolt button in place of the element and removes the element
|appendsuffix - example-selector|append, inserts Bolt button right after the element
|prependsuffix - example-selector|prepend, inserts Bolt button right before the element
4. Bolt Merchant Dashboard configuration
Login to the Bolt Merchant Dashboard
Production: https://merchant.bolt.com
Sandbox: https://merchant-sandbox.bolt.com"
- Navigate to
Developers - Click on the
APItab - Scroll down to the
Merchant APIsection - Set Webhook URL to:
[store_url]/rest/V1/bolt/boltpay/order/manage - Set Shipping and Tax URL to:
[store_url]/rest/V1/bolt/boltpay/shipping/methods - Set Create Order URL to:
[store_url]/rest/V1/bolt/boltpay/order/create
Success!
Your Bolt Payment Plugin is now installed and configured.
boltpay/bolt-magento2 适用场景与选型建议
boltpay/bolt-magento2 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 103.91k 次下载、GitHub Stars 达 17, 最近一次更新时间为 2018 年 03 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 boltpay/bolt-magento2 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 boltpay/bolt-magento2 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 103.91k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 2
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-16