內容簡介
使用 IOTA 在特定文章上進行付款。
您可以選擇是否等待交易確認以授予內容訪問權限。
重要提示:本外掛仍在開發初期,我們鼓勵社群協助我們改進這個概念。如果您已經測試過提出的代碼,可以隨時提交問題或 pull 請求。
在文章中使用 PPC
一旦安裝了外掛程式,您將在 Entries 頁面中找到一個方塊。為了要求付款來獲取特定文章,您需要勾選「請求 IOTA 付款以存取」方塊,輸入金額,並選擇單位(即 Iota/Kiota/Miota)
您還需要在摘要方塊中提供一些內容,以顯示為被封鎖內容的預備內容。
請查看截圖 1
進行付款
需要 IOTA 付款的文章將顯示標題、摘要內容和 QR 碼、Deep Link 和交易資訊。使用者必須在其 Trinity 錢包上啟用 Deep Links。
一旦付款完成,使用者可以點擊 「驗證付款」,然後將被重新導向到完整內容。
請查看截圖 2
考慮事項
在 IOTA 上發送假交易很容易,因此,如果您想對給定的內容的付款有 100% 的把握,最好等待交易確認(可以在您的 IOTA PPC 組態頁面中完成)。
在此版本釋出的時候,不是所有 Trinity 版本都支援 Deep Links(但是它們應該對 Android 和 iPhone 最新版本有效)。
我們知道,全域變數和數據/視圖混合。這類似於 WordPress 的方式,但我們將很快進行改進。
隨意設計 index.php 上的組件以匹配您的設計。再次重申,這僅僅是一個 PoC,我們希望社群可以幫助我們改進它。
更新日誌
= 1.0 =
首次版本
捐贈
地址:N9UZLNCGCOIKXCTLLEFVRLFKVO9WIFMEWSFWISMIVRTCMLKEDITNQ9P9MYVSMXXXTKUJHJXPKOLBY99VCJJRRWCTCC
外掛標籤
開發者團隊
原文外掛簡介
Allow payments on certain posts using IOTA.
You can choose whether to wait for transactions to be confirmed or not in order to grant access to contents.
IMPORTANT: this is a work in progress and we encourage the community to help us improving the concept. Feel free to submit issues or pull requests if you have tested the code proposed.
Using the PPC on Posts
Once the plugin is installed you will find a box at your Entries page. In order to require a payment for a given post you need to check the “Request IOTA payment to access” box, enter an amount and select the units (i.e. Iota/Kiota/Miota)
You will also need to provide some text into the Excerpt box, to display as an advance of the blocked content.
Check screenshot 1
Making the payments
Posts that require an IOTA payment will display the Title, Excerpt content and a QR Code, Deep Link and the Transaction data. To use Deep Links users must enable them on their Trinity Wallet.
Once the payment is sent, users can click on “Verify Payment” and they should be redirected to the complete content.
Check screenshot 2
Considerations
Issuing a fake transaction is easy on IOTA so, if you want to be 100% sure about the payment of a given content it might be a good idea to wait for the transaction to be confirmed (this can be done at your IOTA PPC configuration page).
At the moment of this release Deep Links are not supported in all Trinity versions (they should work on Android and Iphone last releases).
We know, lots of globals and data/view mixed. This is kind of the WordPress way but we will improve that soon.
Feel free to style the components at index.php to match your design. Again, this is just a PoC and we hope the community help us to improve it.
Changelogs
= 1.0 =
First version
Donate
Address: N9UZLNCGCOIKXCTLLEFVRLFKVO9WIFMEWSFWISMIVRTCMLKEDITNQ9P9MYVSMXXXTKUJHJXPKOLBY99VCJJRRWCTCC
