bitpay/module-bpcheckout
Composer 安装命令:
composer require bitpay/module-bpcheckout
包简介
README 文档
README
This version requires the following
- A BitPay merchant account (Test or Production)
- An API Token (Test or Production
- When setting up your token, uncheck the Require Authentication button
- Magento 2.x
Installation
This module is now installable via Composer using the following command:
composer require bitpay/module-bpcheckout
After installing via Composer, run the following commands:
php bin/magento setup:upgrade
php bin/magento module:enable Bitpay_BPCheckout
php bin/magento setup:static-content:deploy -f
- Flush your Magento2 Caches
php bin/magento cache:flush
You can now activate BitPay in the Stores->Configuration->Sales->Payment Methods
- Enabled - Status for payment method
-
- Send emails for BitPay Orders - Allows an Admin to suppress Order emails for BitPay Orders. Default to false
- Title - This will be the title that appears on the checkout page
- Environment
- Choose Test or Production, depending on your current setup
- Status mapping - BitPay invoice / Magento order - Map the BitPay “confirmed” invoice status to the preferred Magento order status, based on the transaction speed you have selected in your BitPay dashboard
- Status mapping - BitPay invoice / Magento order on BitPay Refunds - If set to TRUE, Magento will set the Order State to Closed. If set to FALSE, no changes will be made to the Magento order
- Status mapping - BitPay invoice / Magento order on BitPay Canceled - If set to TRUE, Magento will set the Order State to Canceled after the order has expired. If set to FALSE, no changes will be made to the Magento order
- Checkout Flow
- Redirect - This will send the user to the BitPay invoice screen, and they will be redirected after the transaction to the Order Completed page
- Modal - This will open a popup modal on your site, and will display the order details once the transaction is completed.
- New Order Status - Select status for new order
- Payment from Specific Countries - You MUST select the countries to enable BitPay to appear in the checkout
Merchant Token
To generate merchant token visit *Admin->Stores->Configuration->Bitpay->Merchant Facade->Authenticate.* You need to specify following data: * Token Label * Password (Used to decrypt your private key) * Full path to private key (e.g /app/secure/private2.key)Note: Each time before creating token please save private key path and password When you hit Create token button you will get pairing code that you use in Bitpay Token
Refund
* Refund setting are located in *Admin->Stores->Configuration->Bitpay->Merchant Facade->Refund.* There are following options to set: * Preview Mode * Immediate Refund * Buyer Pays Refund Fee * Suppress Order EmailsAll options by default are set to false.
- Refund request is send when user attempts to create a Credit Memo against a BitPay Order. Refund amount is configured in the credit meno
This plugin also includes an IPN (Instant Payment Notification) endpoint that will update your Magento 2 order status.
An order note will automatically be added with a link to the BitPay invoice to monitor the status
- Initially your order will be in a Pending status when it is intially created, unless you choose a different configuration
- After the invoice is paid by the user, it will change to a Processing status
- When BitPay finalizes the transaction, it will change to a Complete status, and your order will be safe to ship, allow access to downloadable products, etc.
- If you decide to refund a payment via your BitPay dashboard, the Magento 2 order status will change to Closed once the refund is executed.
bitpay/module-bpcheckout 适用场景与选型建议
bitpay/module-bpcheckout 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 13.95k 次下载、GitHub Stars 达 17, 最近一次更新时间为 2022 年 09 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 bitpay/module-bpcheckout 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bitpay/module-bpcheckout 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 13.95k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 17
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: mit
- 更新时间: 2022-09-12