前言介紹
- 這款 WordPress 外掛「Monero WooCommerce Extension」是 2017-08-13 上架。
- 目前有 100 個安裝啟用數。
- 上一次更新是 2021-05-16,距離現在已有 1448 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
serhack |
外掛標籤
monero | payment | merchant | integration | woocommerce |
內容簡介
優點
透過 monero-wallet-rpc 或xmrchain.net 區塊鏈探查器進行付款驗證。
使用 cron 進行付款驗證,所以不需要在訂單確認頁上停留以完成訂單驗證。
訂單狀態更新透過 AJAX 轉換,而非重新整理頁面。
顧客可以使用多筆交易進行付款,交易進入 mempool 後就會立即通知顧客。
可設定不同區塊確認數,從 0(零確認)到 60(大宗購買),根據需求設定。
每分鐘更新實時價格,下單後的可付金額會在一定時間內(預設 60 分鐘)鎖定,因此訂單完成後價格不會再變動。
可在電子郵件中、訂單確認頁、顧客訂單歷史頁面和管理員訂單詳細頁面中設定通知。
查看到您的錢包收到的所有付款,並連結到區塊鏈探查器和相關訂單。
可選擇在商店中以 Monero 顯示所有價格。
簡碼!可顯示多個貨幣的匯率。
安裝
自動方式
在 WordPress 管理員 UI 的「新增外掛」頁面中搜尋「monero」,並點擊「安裝」按鈕旁邊的「mosu-forge, SerHack 的 Monero WooCommerce Extension」。這樣會啟用自動更新,但僅限正式版本,因此如果需要從 git master 或您的本機 fork 運行,請使用下面的手動方式。
手動方式
從發行頁面(https://github.com/monero-integrations/monerowp)下載外掛或使用 git clone https://github.com/monero-integrations/monerowp。
解壓縮或將 monero-woocommerce-gateway 資料夾放在 wp-content/plugins 目錄中。
在 WordPress 管理員儀表板中啟用「Monero Woocommerce Gateway」。
強烈建議您使用原生 cron 作業,而非 WordPress 的「窮人的 Cron」,方法是在 wp-config.php 文件中添加 define('DISABLE_WP_CRON', true);,並在 crontab 中添加 * * * * * wget -q -O - https://yourstore.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1。
配置
選項 1:使用您的錢包地址和 viewkey
這是在您的網站上開始接受 Monero 的最簡單方法。需要:
以 4 開頭的 Monero 錢包地址
您錢包的秘密 viewkey
然後只需在設置頁面中選擇 viewkey 選項,然後粘貼您的地址和 viewkey 即可。完成!
注意隱私:當您使用私人 viewkey 驗證交易時,您的 viewkey 會透過 HTTPS 發送(但不會存儲)到 xmrchain.net 上。如果攻擊者得到了您的 viewkey,這有可能讓攻擊者看到您的進入交易,但無法看到您的出站交易。即使發生這種情況,您的資金仍然安全,無法被他人竊取。為了最大程度的保護隱私,使用自己的 monero-wallet-rpc 實例。
選項 2:使用 Monero 錢包 RPC
在您的網站上接受 Monero 的最安全方式。需要:
您的 Web 服務器的 Root 訪問權限
最新的 Monero 币治理二进制文件
在您的伺服器上下載(或編譯)Monero 二進制文件後,在 Linux 环境中打开 monero-wallet-rpc。去配置文件(wp-content/plugins/monero-woocommerce-gateway/Core/Classes/class-XmrRPC.php) 中设置地址和端口。
原文外掛簡介
Benefits
Payment validation done through either monero-wallet-rpc or the xmrchain.net blockchain explorer.
Validates payments with cron, so does not require users to stay on the order confirmation page for their order to validate.
Order status updates are done through AJAX instead of Javascript page reloads.
Customers can pay with multiple transactions and are notified as soon as transactions hit the mempool.
Configurable block confirmations, from 0 for zero confirm to 60 for high ticket purchases.
Live price updates every minute; total amount due is locked in after the order is placed for a configurable amount of time (default 60 minutes) so the price does not change after order has been made.
Hooks into emails, order confirmation page, customer order history page, and admin order details page.
View all payments received to your wallet with links to the blockchain explorer and associated orders.
Optionally display all prices on your store in terms of Monero.
Shortcodes! Display exchange rates in numerous currencies.
Installation
Automatic method
In the “Add Plugins” section of the WordPress admin UI, search for “monero” and click the Install Now button next to “Monero WooCommerce Extension” by mosu-forge, SerHack. This will enable auto-updates, but only for official releases, so if you need to work from git master or your local fork, please use the manual method below.
Manual method
Download the plugin from the releases page (https://github.com/monero-integrations/monerowp) or clone with git clone https://github.com/monero-integrations/monerowp
Unzip or place the monero-woocommerce-gateway folder in the wp-content/plugins directory.
Activate “Monero Woocommerce Gateway” in your WordPress admin dashboard.
It is highly recommended that you use native cronjobs instead of WordPress’s “Poor Man’s Cron” by adding define('DISABLE_WP_CRON', true); into your wp-config.php file and adding * * * * * wget -q -O - https://yourstore.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1 to your crontab.
Configuration
Option 1: Use your wallet address and viewkey
This is the easiest way to start accepting Monero on your website. You’ll need:
Your Monero wallet address starting with 4
Your wallet’s secret viewkey
Then simply select the viewkey option in the settings page and paste your address and viewkey. You’re all set!
Note on privacy: when you validate transactions with your private viewkey, your viewkey is sent to (but not stored on) xmrchain.net over HTTPS. This could potentially allow an attacker to see your incoming, but not outgoing, transactions if they were to get his hands on your viewkey. Even if this were to happen, your funds would still be safe and it would be impossible for somebody to steal your money. For maximum privacy use your own monero-wallet-rpc instance.
Option 2: Using monero wallet rpc
The most secure way to accept Monero on your website. You’ll need:
Root access to your webserver
Latest Monero-currency binaries
After downloading (or compiling) the Monero binaries on your server, install the systemd unit files or run monerod and monero-wallet-rpc with screen or tmux. You can skip running monerod by using a remote node with monero-wallet-rpc by adding --daemon-address node.moneroworld.com:18089 to the monero-wallet-rpc.service file.
Note on security: using this option, while the most secure, requires you to run the Monero wallet RPC program on your server. Best practice for this is to use a view-only wallet since otherwise your server would be running a hot-wallet and a security breach could allow hackers to empty your funds.
Remove plugin
Deactivate plugin through the ‘Plugins’ menu in WordPress
Delete plugin through the ‘Plugins’ menu in WordPress
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Monero WooCommerce Extension」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Google for WooCommerce 》, Google Listings & Ads可讓您輕鬆地向Google平台上的購物者展示您的產品。無論您是數位廣告的新手還是市場營銷專家,您都可以通過免費和廣告來擴大您的...。
WooCommerce Shipping & Tax 》WooCommerce Shipping & Tax 外掛可讓基本的電子商務功能如運送更加可靠,并減輕了您的網站基礎架構壓力。, 使用 WooCommerce Shipping & Tax 外掛,...。
WooCommerce PayPal Payments 》PayPal 最新、功能最完備的付款處理解決方案。除了接受 PayPal 獨有的付款方式,也可接受信用卡/借記卡和本地付款方式。開啟 PayPal 付款選項或處理完整的付...。
WooCommerce Legacy REST API 》總結:, - 在WooCommerce 9.0版本起,Legacy REST API將不再是WooCommerce的一部分。, - 這款外掛程式在WooCommerce 9.0及以後版本中還原了已移除的Legacy RE...。
WP Crontrol 》WP Crontrol 可以讓您查看和控制 WP-Cron 系統中正在發生的事件。從管理界面,您可以:, , 查看所有的 Cron 事件以及它們的參數、循環間隔時間、回撥函數以及...。
PDF Invoices & Packing Slips for WooCommerce 》這個 WooCommerce 外掛可以自動為您的客戶在訂單確認電子郵件中添加 PDF 發票。包括一個基本模板(額外的模板可從 WP Overnight 購買),以及修改/建立自己的...。
Variation Swatches for WooCommerce 》為 WooCommerce 產品屬性打造美麗的顏色、圖片和按鈕變化的樣式, 如何安裝 WooCommerce 變化樣式外掛程式升級可變產品, , 變化樣式是易於使用的 WooCommerce ...。
WooCommerce Cart Abandonment Recovery 》現在是時候停止購物車放棄行為,並找回您失去的收入了!, 研究顯示,約有60%至80%的使用者前往結帳頁面,但沒有完成購買。即使最佳優化的結帳流程也有20%的...。
Pinterest for WooCommerce 》Pinterest 提供人們下一個偉大的想法。它部分收藏品,部分市場,是數百萬個分享者獲取靈感、新產品和新可能性的一站式購物平台。它就像一個視覺搜尋引擎,引...。
Google Analytics for WooCommerce 》這個外掛提供了 Google Analytics 與 WooCommerce 外掛之間的整合,您可以將推薦連結與購買關聯,並將交易資訊新增到您的 Google Analytics 資料中。它還支援...。
User Switching 》這個外掛可讓您輕鬆在 WordPress 中點擊按鈕即可快速切換使用者帳戶。您會立即登出並切換成所需使用者。這對於測試環境、協助 WooCommerce 網站上的客戶或任...。
WooCommerce Checkout & Funnel Builder by CartFlows 》#1 WooCommerce 結帳 & 漏斗建置外掛 – CartFlows, ★★★★★, 相較於其他所有的 WooCommerce 結帳選項,更多 WooCommerce 商店店主都選擇了 CartFlows。為什麼呢...。
FiboSearch – Ajax Search for WooCommerce 》這是最受歡迎的 WooCommerce 產品搜尋外掛。它為您的用戶提供了一個設計良好的 AJAX 高級搜尋條和即時搜尋建議。, 預設情況下,WooCommerce 提供了一個非常簡...。
YITH WooCommerce Quick View 》有時半途而廢是最好的:如果你正在檢視產品列表,但其圖片仍然太小,需要打開該產品頁面,等待載入,最後才能觀察你感興趣的項目。, 因此,為什麼不使用一種...。
Custom Product Tabs for WooCommerce 》此外掛擴充了 WooCommerce 功能,允許商店擁有者針對產品添加自訂選項卡。這些選項卡顯示在每個產品頁面上,出現在預設的「描述」選項卡右側。, 個別產品選項...。