mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-04-25 12:15:34 +08:00
payment_details i18n
This commit is contained in:
@@ -30,6 +30,13 @@ exports.registerHook 'billing.payment_methods',
|
||||
, (err, html) ->
|
||||
callback html
|
||||
|
||||
exports.registerHook 'view.pay.display_payment_details',
|
||||
type: 'bitcoin'
|
||||
filter: (account, deposit_log, callback) ->
|
||||
callback account.t 'plugins.bitcoin.view.payment_details',
|
||||
order_id: deposit_log.payload.order_id
|
||||
short_order_id: deposit_log.payload.order_id[0 .. 40]
|
||||
|
||||
app.post '/bitcoin/coinbase_callback', (req, res) ->
|
||||
mAccount.findOne
|
||||
'pluggable.bitcoin.bitcoin_deposit_address': req.body.address
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"": "比特币",
|
||||
"view": {
|
||||
"payment_tips": "你可以直接向该地址发送比特币。在经过一次确认后,系统会实时地,自动为你折算充值金额,最小支付金额为 0.0005.",
|
||||
"exchange_rate_tips": "实时汇率:10 CNY = __rate10__ BTC"
|
||||
"exchange_rate_tips": "实时汇率:10 CNY = __rate10__ BTC",
|
||||
"payment_details": "比特币支付 <a href='https://blockchain.info/tx/__order_id__'>__short_order_id__</a>"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user