
內容簡介
您的網路商店必須使用 WooCommerce 平台(免費的 WordPress 外掛程式)。
安裝並啟用 WooCommerce 後,您可以安裝並啟用 BitTube 付款網關 WooCommerce 擴充套件。
優勢
直接把付款收到您的個人 BitTube 錢包裡。
接受 TUBE 付款作為實體和數字可下載產品的付款方式。
在現有的網路商店中新增 BitTube 付款選項,並以另一主要貨幣作為交易的付款方式。
彈性的匯率計算由管理設定全面管理。
來自第三方的 BitTube 付款處理零費用和無佣金。
透過實時匯率供給和計算自動轉換成 TUBE。
能夠設定匯率計算乘數以補償可能因銀行轉換和資金轉移費用而造成的任何損失。
功能
透過 BitTube 區塊鍊流覽器進行付款驗證。
使用 cron 進行付款驗證,因此無需用戶留在訂單確認頁面上進行驗證。
訂單狀態更新通過 AJAX 進行,而不是 Javascript 頁面重載。
客戶可以用多種交易方式付款,一旦交易到達 mempool,客戶就會收到通知。
可配置區塊確認,從零確認到高票購買的 60 個確認。
每分鐘更新活躍價格;下單後一定時間內(預設為 60 分鐘)總金額將被鎖定,因此請在下單後立即支付,以免金額變動。
鉤入電子郵件、訂單確認頁面、客戶訂單歷史頁面和管理訂單詳細信息頁面。
查看您錢包中收到的所有付款,並附有到區塊鏈流覽器和相關訂單的鏈接。
選擇顯示商店中所有價格的 BitTube 選項(可選)。
快捷代碼!以多種貨幣顯示匯率。
需求
BitTube 錢包收款 - GUI - CLI
BCMath - 一種用於任意精度數學運算的 PHP 擴充功能
安裝外掛
從 版本頁面 下載外掛程式。
解壓縮或將 bittube-woocommerce-gateway 文件夾放在 wp-content/plugins 目錄中。
在 WordPress 管理儀表板中啟用“BitTube Woocommerce Gateway”。
強烈建議您使用本機 cronjobs,而不是 WordPress 的“窮人的 Cron”,方法是將define('DISABLE_WP_CRON', true); 添加到 wp-config.php 文件中,然後將 * * * * * wget -q -O - https://yourstore.com/wp-cron.php?doing_wp_cron >/dev/null 2>&1 添加到您的 crontab 中。
使用您的錢包地址和 viewkey(密鑰)
這是在您的網站上開始接受 BitTube 最簡單的方法。 您需要:
以 b 開始的您的 BitTube 錢包地址
您的錢包的秘密 viewkey(密鑰)
然後只需在設置頁面中選擇 viewkey 選項,並粘貼您的地址和 viewkey。 過程完成!
配置
外掛標籤
開發者團隊
② 後台搜尋「WooCommerce BitTube payment gateway」→ 直接安裝(推薦)
原文外掛簡介
Your online store must use WooCommerce platform (free wordpress plugin).
Once you installed and activated WooCommerce, you may install and activate BitTube payment gateway WooCommerce Extension.
Benefits
Accept payment directly into your personal BitTube wallet.
Accept payment in TUBE for physical and digital downloadable products.
Add BitTube payments option to your existing online store with alternative main currency.
Flexible exchange rate calculations fully managed via administrative settings.
Zero fees and no commissions for BitTube payments processing from any third party.
Automatic conversion to TUBE via realtime exchange rate feed and calculations.
Ability to set exchange rate calculation multiplier to compensate for any possible losses due to bank conversions and funds transfer fees.
Features
Payment validation done through the bittube 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 BitTube.
Shortcodes! Display exchange rates in numerous currencies.
Requirements
BitTube wallet to receive payments – GUI – CLI
BCMath – A PHP extension used for arbitrary precision maths
Installing the plugin
Download the plugin from the releases page
Unzip or place the bittube-woocommerce-gateway folder in the wp-content/plugins directory.
Activate “BitTube 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.
Use your wallet address and viewkey
This is the easiest way to start accepting BitTube on your website. You’ll need:
Your BitTube wallet address starting with b
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!
Configuration
Enable / Disable – Turn on or off BitTube gateway. (Default: Disable)
Title – Name of the payment gateway as displayed to the customer. (Default: BitTube Gateway)
Discount for using BitTube – Percentage discount applied to orders for paying with BitTube. Can also be negative to apply a surcharge. (Default: 0)
Order valid time – Number of seconds after order is placed that the transaction must be seen in the mempool. (Default: 3600 [1 hour])
Number of confirmations – Number of confirmations the transaction must receive before the order is marked as complete. Use 0 for nearly instant confirmation. (Default: 5)
Confirmation Type – Confirm transactions with either your viewkey, or by using bittube-wallet-rpc. (Default: viewkey)
BitTube Address (if confirmation type is viewkey) – Your public BitTube address starting with 4. (No default)
Secret Viewkey (if confirmation type is viewkey) – Your private viewkey (No default)
Testnet – Check this to change the blockchain explorer links to the testnet explorer. (Default: unchecked)
SSL warnings – Check this to silence SSL warnings. (Default: unchecked)
Show Prices in BitTube – Convert all prices on the frontend to BitTube. Experimental feature, only use if you do not accept any other payment option. (Default: unchecked)
Display Decimals (if show prices in BitTube is enabled) – Number of decimals to round prices to on the frontend. The final order amount will not be rounded and will be displayed down to the nanoBitTube. (Default: 8)
Shortcodes
This plugin makes available two shortcodes that you can use in your theme.
Live price shortcode
This will display the price of BitTube in the selected currency. If no currency is provided, the store’s default currency will be used.
[bittube-price]
[bittube-price currency="BTC"]
[bittube-price currency="USD"]
[bittube-price currency="CAD"]
[bittube-price currency="EUR"]
[bittube-price currency="GBP"]
Will display:
1 TUBE = 0.018270 BTC
1 TUBE = 123.680 USD
1 TUBE = 168.43000 CAD
1 TUBE = 105.54000 EUR
1 TUBE = 94.84000 GBP
BitTube accepted here badge
This will display a badge showing that you accept BitTube-currency.
[bittube-accepted-here]
