內容簡介
建立一個或多個簡單的短代碼,通過 Money Button 接受比特幣 SV 付款。短代碼形式如下:
[simple_money_button to=”[email protected]” amount=”0.01″ currency=”USD” type=”tip”]
a)變數 “to” 應該是 Money Button 的用戶名稱、Paymail 地址或比特幣 SV 地址。
b)變數 “amount” 應該使用句號作為小數分隔符。
c)貨幣可以是法定貨幣代碼,例如 USD,也可以是數字貨幣代碼,例如 BSV。
d)變數 “type” 可以是 “tip” 或 “buy”。
e)代碼中的引號應該是基本引號,不是彎曲引號。
可用的屬性、它們的默認值和數據類型:
to = 空字符串 (string)
amount = 1 (string)
currency = USD (string)
label = 空字符串 (string)*
successmessage = 謝謝您!(string)
hideamount = false (boolean)
buttonid = 空字符串 (string)
type = tip (string)
editable = false (boolean)
disabled = false (boolean)
devmode = false (boolean)
*) 包括數量長度的最大長度為 20 個字符。
有關 Money Button 的更多信息,請訪問:www.moneybutton.com
外掛標籤
開發者團隊
原文外掛簡介
Create one or more shortcodes for accepting Bitcoin SV payments through Money Button. A shotcode looks like:
[simple_money_button to=”[email protected]” amount=”0.01″ currency=”USD” type=”tip”]
a) Variable “to” should be either a Money Button username, a Paymail address, or a Bitcoin SV address.
b) Variable “amount” should use a period as decimal separator.
c) Currency can be either fiat currency code, like USD, or digital currency code, like BSV.
d) Variable “type” can be either “tip” or “buy”.
e) Quotes in the shortcode should be basic quotes, not curly.
Available attributes, their default values, and data types:
to = empty (string)
amount = 1 (string)
currency = USD (string)
label = empty (string)*
successmessage = Thank you! (string)
hideamount = false (boolean)
buttonid = empty (string)
type = tip (string)
editable = false (boolean)
disabled = false (boolean)
devmode = false (boolean)
*) max. 20 characters including amount length.
More information about Money Button is available at: www.moneybutton.com
