[wordpress插件] BTCPay for WooCommerce适用于WooCommerce的BTCPay

wordpress 插件 文章 2020-03-12 10:50 532 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

BTCPay Server is a free and open-source cryptocurrency payment processor which allows you to receive payments in Bitcoin and altcoins directly, with no fees, transaction cost or a middleman.

BTCPay Server是一个免费的开源加密货币支付处理器,它使您可以直接以比特币和替代币接收支付,而无需任何费用,交易成本或中间商。

BTCPay is a non-custodial invoicing system which eliminates the involvement of a third-party.

BTCPay是一种非托管发票系统,可消除第三方的参与。

Payments with BTCPay go directly to your wallet, which increases the privacy and security.

使用BTCPay进行的付款直接进入您的钱包,这增加了隐私和安全性。

Your private keys are never uploaded to the server.

您的私钥永远不会上传到服务器。

There is no address re-use since each invoice generates a new address deriving from your xpubkey.

由于每个发票都会生成一个从您的xpubkey派生的新地址,因此不会重复使用地址。

You can run BTCPay as a self-hosted solution on your own server, or use a third-party host.

您可以在自己的服务器上运行BTCPay作为自托管解决方案,也可以使用第三方主机。

The self-hosted solution allows you not only to attach an unlimited number of stores and use the Lightning Network but also become the payment processor for others.

自托管解决方案不仅使您可以连接无限数量的商店并使用Lightning Network,还可以成为其他商店的付款处理器。

If you previosly used BitPay’s plugin, you can very easily migrate and use BTCPay.

如果您曾经使用过BitPay的插件,则可以轻松迁移并使用BTCPay。

This plugin is a fork of https://github.com/bitpay/woocommerce-plugin which in turn is a fork of https://github.com/jaafit/bitpayWoocommerce.

此插件是https://github.com/bitpay/woocommerce-plugin的分支,而后者又是https://github.com/jaafit/bitpayWoocommerce的分支。

We have modified the plugin in order to support alternative bitpay compliant servers and enhance usability and functionality.

我们已经修改了插件,以支持替代符合Bitpay的服务器并增强可用性和功能。

This plugin should be able to run alongside the original bitpay plugin.

该插件应该能够与原始的bitpay插件一起运行。

    • Direct, peer-to-peer Bitcoin and altcoin payments
    • 直接,点对点的比特币和山寨币支付

    • No transaction fees (other than mining fees by crypto network itself)
    • 没有交易费用(加密网络本身的采矿费用除外)

    • No processing fees
    • 无手续费

    • No middleman
    • 没有中间人

    • No KYC
    • 没有KYC

    • User has complete control over private keys
    • 用户可以完全控制私钥

    • Enhanced privacy (no address re-use, no IP leaks to third parties)
    • 增强的隐私(不重复使用地址,不向第三方泄漏IP)

    • Enhanced security
    • 增强的安全性

    • Self-hosted
    • 自托管

    • SegWit support
    • 隔离见证支持

    • Lightning Network support (LND and c-lightning)
    • 闪电网络支持(LND和c-lightning)

    • Altcoin support
    • Altcoin支持

    • Full compatibility with BitPay API (easy migration)
    • 与BitPay API完全兼容(易于迁移)

    • Attach unlimited stores, process payments for friends
    • 开设无限商店,为朋友处理付款

    • Easy-embeddable Payment buttons
    • 易于嵌入的付款按钮

    • Point of Sale app
    • 销售点应用

    3.0.9

    3.0.9

    Fixed

    已修复

    – Fix IPN handling

    –修复IPN处理

    3.0.8

    3.0.8

    Fixed

    已修复

    – Fix bug with Woocommerce Admin plugin

    –修复了Woocommerce Admin插件的错误

    3.0.7

    3.0.7

    Fixed

    已修复

    – Update php-bitpay-lib

    –更新php-bitpay-lib

    – Fix misleading error messages

    –修正误导性错误消息

    – Fix bug on some format of orderId

    –修复了某些orderId格式的错误

    3.0.6

    3.0.6

    Fixed

    已修复

    – Fix: Invalid code 0 during pairing on some install

    –修复:在某些安装中配对期间无效的代码0

    3.0.5

    3.0.5

    Added:

    添加:

    – Pass tax information to BTCPay Server

    –将税收信息传递到BTCPay服务器

    3.0.4

    3.0.4

    Fixed:

    已修复:

    – Fix JS Error on pairing mechanism

    –修复配对机制上的JS错误

    Added:

    添加:

    – Ensure compatibility with WordPress 5

    –确保与WordPress 5兼容

    3.0.3

    3.0.3

    Fixed:

    已修复:

    – Remove legacy currency decimal precision checks

    –删除旧币十进制精度检查

    3.0.2

    3.0.2

    Fixed:

    已修复:

    – Fix float decimal issue

    –修正了十进制浮点数问题

    – Make migrator pull from versions before 3.0.1 not 3.1

    –使迁移器从3.0.1之前的版本而不是3.1撤消

    3.0.1

    3.0.1

    Changed:

    已更改:

    – When upgrading from any version smaller than 3.1 and settings are not set, attempt to load older version.

    –从小于3.1的任何版本升级并且未设置设置时,请尝试加载较旧的版本。

    Also display a warning prompt in plugins page after it has been activated to double check settings.

    激活后,在插件页面上还会显示警告提示,以仔细检查设置。

    3.0

    3.0

    Changed:

    已更改:

    – Rebrand to be properly BTCPay labelled

    –重新命名为正确的BTCPay标签

    – Revert to using original Bitpay php lib and used Customnet for btcpay host urls

    –恢复为使用原始的Bitpay php库,并将Customnet用于btcpay主机网址

    – Update default order states to more reasonable values

    –将默认订单状态更新为更合理的值

    – Prepare plugin for WordPress Plugin Repository

    –为WordPress插件存储库准备插件

    =2.2.24 =

    = 2.2.24 =

    Fixed

    固定的

    – Bug: In some circumstances the auto update might crash the wordpress dashboard

    –错误:在某些情况下,自动更新可能会使wordpress仪表板崩溃

    2.2.23

    2.2.23

    Fixed

    已修复

    – Setting Keep store level settings to transaction speed would still override store\’s setting

    –将保持商店级别设置设置为交易速度仍然会覆盖商店的设置

    Added

    已添加

    – Add low-medium transaction speed

    –增加中/低交易速度

    2.2.22

    2.2.22

    Fixed

    已修复

    – Fix crash on some stores Cannot use object of type stdClass as array in... on the dashboard

    –修复了某些商店上的崩溃无法将stdClass类型的对象用作仪表板上的... 中的数组

    2.2.21

    2.2.21

    Added

    已添加

    – Add event_invoice_expiredPaidPartial handling

    –添加 event_invoice_expiredPaidPartial 处理

    2.2.20

    2.2.20

    Fixed

    已修复

    – Do not crash plugin page if update detection fails, be more resilient

    –如果更新检测失败,请不要使插件页面崩溃,更具弹性

    2.2.19

    2.2.19

    Fixed

    已修复

    – Ignore IPN if another payment method for the order has been chosen (#2)

    –如果为订单选择了其他付款方式,则忽略IPN(#2)

    – Can detect new update in plugin page

    –可以检测插件页面中的新更新

    2.2.18

    2.2.18

    Fixed

    已修复

    – Ignore IPN if another payment method for the order has been chosen (#2)

    –如果已选择其他付款方式(#2),则忽略IPN

    2.2.17

    2.2.17

    Fixed

    已修复

    – Fix a race condition if process_payment called twice

    –如果process_payment被两次调用,则修复竞争条件

    – Can decide to ignore a BTCPay event

    –可以决定忽略BTCPay事件

    2.2.16

    2.2.16

    Fixed

    已修复

    – Handle \’expired\’ IPN

    –处理“过期”的IPN

    – Handle \’invoice_paidAfterExpiration\’ IPN event

    –处理\'invoice_paidAfterExpiration \'IPN事件

    Earlier versions

    早期版本

    For the changelog of earlier versions, please refer to https://github.com/btcpayserver/woocommerce-plugineleases

    有关早期版本的变更日志,请参阅https://github.com/btcpayserver/woocommerce-plugineleases

安装步骤

This plugin requires Woocommerce.

此插件需要Woocommerce。

Please make sure you have Woocommerce installed.

请确保您已安装Woocommerce。

To integrate BTCPay Server into an existing WooCommerce store, follow the steps below.

要将BTCPay服务器集成到现有的WooCommerce商店中,请按照以下步骤操作。

1.

1。

Install BTCPay WooCommerce Plugin

安装BTCPay WooCommerce插件

2.

2。

Deploy BTCPay Server

部署BTCPay服务器

To launch your BTCPay server, you can self-host it, or use a third party host.

要启动BTCPay服务器,您可以对其进行自我托管,也可以使用第三方托管。

2.1 Self-hosted BTCPay

2.1自托管的BTCPay

There are various ways to launch a self-hosted BTCPay.

有多种方法启动自托管的BTCPay

If you do not have technical knowledge, use the web-wizard method and follow the video below.

如果您不具备技术知识,请使用网络向导方法,并按照下面的视频进行操作。

'>

For the self-hosted solutions, you\’ll have to wait for your node to sync fully before proceeding to step 3.

对于自托管解决方案,您必须先等待节点完全同步,然后再继续执行步骤3。

2.2 Third-party host

2.2第三方主机

Those who want to test BTCPay out, or are okay with the limitations of a third-party hosting (dependency and privacy, as well as lack of some features) can use a one of many third-party hosts.

“ rel =” nofollow“>第三方主机。

The video below shows you how to connect your store to such host.

下面的视频向您展示如何将商店连接到此类主机。

'>

3.

3。

Pairing the store

配对商店

BTCPay WooCommerce plugin is a bridge between your server (payment processor) and your e-commerce store.

BTCPay WooCommerce插件是服务器(付款处理器)与电子商务商店之间的桥梁。

No matter if you\’re using a self-hosted or third-party solution from step 2, the pairing process is identical.

无论您使用的是步骤2的自托管解决方案还是第三方解决方案,配对过程都是相同的。

Go to your store dashboard.

转到商店的仪表板。

WooCommerce > Settings > Payments.

WooCommerce>设置>付款。

Click BTCPay.

点击BTCPay。

    1. In the field, enter the full URL of your host (including the https) – https://btcpay.mydomain.com
    2. 在该字段中,输入主机的完整URL(包括https)– https://btcpay.mydomain.com

    3. Click on the generated link which will redirect you back to your BTCPay Server.
    4. 单击生成的链接,该链接会将您重定向回您的BTCPay服务器。

    5. Click on request pairing
    6. 点击请求配对

    7. Approve the pairing
    8. 批准配对

    9. Copy the pairing code
    10. 复制配对代码

    11. Go back to your store and paste the pairing code
    12. 回到商店并粘贴配对代码

    13. Click “Pair”
    14. 点击“配对”

    15. When you see the image, it means you successfully paired your server and your store.
    16. 当您看到图像时,表示您已成功将服务器与商店配对。

    The process of pairing a store with BTCPay is explained in a video below, starting at 1:59

    下面的视频从1:59开始说明了将商店与BTCPay配对的过程

    '>

    4.

    4。

    Connecting your wallet

    连接钱包

    No matter if you’re using self-hosted or server hosted by a third-party, the process of configuring your wallet is the same.

    无论您使用的是自托管服务器还是第三方托管服务器,配置钱包的过程都是相同的。

    '>

    5.

    5。

    Testing the checkout

    测试结帐

    Making a small test-purchase from your own store, will give you a piece of mind.

    从您自己的商店进行少量测试购买,将使您放心。

    Always make sure that everything is set up correctly before going live.

    在上线之前,请务必确保一切设置正确。

    The final video, guides you through the steps of setting a gap limit in your Electrum wallet and testing the checkout process.

    最终视频将指导您完成在Electrum钱包中设置差距限制并测试结帐过程的步骤。

    '>

    Depending on your business model and store settings, you may want to configure your order statuses.

    / 67“ rel =” nofollow“>配置您的订单状态。

下载地址
https://downloads.wordpress.org/plugin/btcpay-for-woocommerce.zip
-EOF-

AI助手支持GPT4.0