「Donate」:修訂間差異
第9行: | 第9行: | ||
==Except Taiwan== | ==Except Taiwan== | ||
<html> | |||
<div id="smart-button-container"> | |||
<div style="text-align: center"><label for="description">Donate LOVELIVE SIF/AS WIKI & Card Explorer </label><input type="text" name="descriptionInput" id="description" maxlength="127" value=""></div> | |||
<p id="descriptionError" style="visibility: hidden; color:red; text-align: center;">Please enter a description</p> | |||
<div style="text-align: center"><label for="amount">Donate </label><input name="amountInput" type="number" id="amount" value="" ><span> USD</span></div> | |||
<p id="priceLabelError" style="visibility: hidden; color:red; text-align: center;">Please enter a price</p> | |||
<div id="invoiceidDiv" style="text-align: center; display: none;"><label for="invoiceid"> </label><input name="invoiceid" maxlength="127" type="text" id="invoiceid" value="" ></div> | |||
<p id="invoiceidError" style="visibility: hidden; color:red; text-align: center;">Please enter an Invoice ID</p> | |||
<div style="text-align: center; margin-top: 0.625rem;" id="paypal-button-container"></div> | |||
</div> | |||
<script src="https://www.paypal.com/sdk/js?client-id=sb&enable-funding=venmo¤cy=USD" data-sdk-integration-source="button-factory"></script> | |||
<script> | |||
function initPayPalButton() { | |||
var description = document.querySelector('#smart-button-container #description'); | |||
var amount = document.querySelector('#smart-button-container #amount'); | |||
var descriptionError = document.querySelector('#smart-button-container #descriptionError'); | |||
var priceError = document.querySelector('#smart-button-container #priceLabelError'); | |||
var invoiceid = document.querySelector('#smart-button-container #invoiceid'); | |||
var invoiceidError = document.querySelector('#smart-button-container #invoiceidError'); | |||
var invoiceidDiv = document.querySelector('#smart-button-container #invoiceidDiv'); | |||
===贊助收入(Donate income) | var elArr = [description, amount]; | ||
if (invoiceidDiv.firstChild.innerHTML.length > 1) { | |||
invoiceidDiv.style.display = "block"; | |||
} | |||
var purchase_units = []; | |||
purchase_units[0] = {}; | |||
purchase_units[0].amount = {}; | |||
function validate(event) { | |||
return event.value.length > 0; | |||
} | |||
paypal.Buttons({ | |||
style: { | |||
color: 'white', | |||
shape: 'pill', | |||
label: 'pay', | |||
layout: 'vertical', | |||
}, | |||
onInit: function (data, actions) { | |||
actions.disable(); | |||
if(invoiceidDiv.style.display === "block") { | |||
elArr.push(invoiceid); | |||
} | |||
elArr.forEach(function (item) { | |||
item.addEventListener('keyup', function (event) { | |||
var result = elArr.every(validate); | |||
if (result) { | |||
actions.enable(); | |||
} else { | |||
actions.disable(); | |||
} | |||
}); | |||
}); | |||
}, | |||
onClick: function () { | |||
if (description.value.length < 1) { | |||
descriptionError.style.visibility = "visible"; | |||
} else { | |||
descriptionError.style.visibility = "hidden"; | |||
} | |||
if (amount.value.length < 1) { | |||
priceError.style.visibility = "visible"; | |||
} else { | |||
priceError.style.visibility = "hidden"; | |||
} | |||
if (invoiceid.value.length < 1 && invoiceidDiv.style.display === "block") { | |||
invoiceidError.style.visibility = "visible"; | |||
} else { | |||
invoiceidError.style.visibility = "hidden"; | |||
} | |||
purchase_units[0].description = description.value; | |||
purchase_units[0].amount.value = amount.value; | |||
if(invoiceid.value !== '') { | |||
purchase_units[0].invoice_id = invoiceid.value; | |||
} | |||
}, | |||
createOrder: function (data, actions) { | |||
return actions.order.create({ | |||
purchase_units: purchase_units, | |||
}); | |||
}, | |||
onApprove: function (data, actions) { | |||
return actions.order.capture().then(function (orderData) { | |||
// Full available details | |||
console.log('Capture result', orderData, JSON.stringify(orderData, null, 2)); | |||
// Show a success message within this page, e.g. | |||
const element = document.getElementById('paypal-button-container'); | |||
element.innerHTML = ''; | |||
element.innerHTML = '<h3>Thank you for your payment!</h3>'; | |||
// Or go to another URL: actions.redirect('thank_you.html'); | |||
}); | |||
}, | |||
onError: function (err) { | |||
console.log(err); | |||
} | |||
}).render('#paypal-button-container'); | |||
} | |||
initPayPalButton(); | |||
</script> | |||
</html> | |||
==贊助收入(Donate income)== | |||
{| class="wikitable" | {| class="wikitable" | ||
!Mail||Currency||Amount | !Mail||Currency||Amount |
於 2021年8月12日 (四) 15:28 的修訂
FOR TAIWAN
請使用以下連結贊助
ATM贊助 (手續費1%)
超商繳費 (手續費NTD20-28)
以上手續費為交易服務平台收取,贊助平台會由您贊助金額中扣除,非您要支付的手續費。
Except Taiwan
贊助收入(Donate income)
Currency | Amount | |
---|---|---|
koo*****[email protected] | NTD | 900 |
Total | NTD | 900 |
AD Income & difference
After April,2020<MATH>( 9.5 * 12 + 27 ) / 12 * 0.9 = 10.58 / MONTH</math>
After Jan,2021<MATH>( 9 * 12 + 27 ) / 12 * 0.9 = 10.12 / MONTH</math>
Time | Income | Used | balance | Host |
---|---|---|---|---|
Apr, 2019 | 15.69 | 11.32 | 4.37 | |
May, 2019 | 9.29 | 11.70 | -2.41 | |
Jun, 2019 | 14.99 | 11.32 | 3.67 | |
Jul, 2019 | 11.90 | 11.64 | 0.11 | 0.15 |
Aug, 2019 | 30.26 | 11.64 | 7.45 | 11.17 |
Sep, 2019 | 25.99 | 11.64 | 5.74 | 8.61 |
Oct, 2019 | 11.81 | 11.64 | 0.07 | 0.10 |
Nov, 2019 | 14.28 | 11.64 | 1.06 | 1.58 |
Dec, 2019 | 18.18 | 11.64 | 2.62 | 3.92 |
Jan, 2020 | 11.86 | 11.64 | 0.09 | 0.13 |
Feb, 2020 | 12.71 | 11.64 | 0.43 | 0.64 |
Mar, 2020 | 11.46 | 11.64 | -0.10 | -0.08 |
Apr, 2020 | 9.77 | 10.58 | -0.48 | -0.33 |
May, 2020 | 9.20 | 10.58 | -0.82 | -0.56 |
Jun, 2020 | 11.23 | 10.58 | 0.26 | 0.39 |
Jul, 2020 | 12.41 | 10.58 | 0.74 | 1.09 |
Aug, 2020 | 7.92 | 10.58 | -1.59 | -1.07 |
Sep, 2020 | 9.97 | 10.58 | -0.36 | -0.25 |
Oct, 2020 | 6.21 | 10.58 | -2.62 | -1.75 |
Nov, 2020 | 14.04 | 10.58 | 1.39 | 2.07 |
Dec, 2020 | 14.07 | 10.58 | 1.40 | 2.09 |
Jan, 2021 | 9.41 | 10.12 | -0.42 | -0.29 |
Feb, 2021 | 7.65 | 10.12 | -1.48 | -0.99 |
Mar, 2021 | 7.81 | 10.12 | -1.38 | -0.93 |
Apr, 2021 | 11.67 | 10.12 | 0.62 | 0.93 |
May, 2021 | 10.45 | 10.12 | 0.14 | 0.19 |
Jun, 2021 | 11.07 | 10.12 | 0.38 | 0.57 |
Jun, 2021 | 6.64 | 10.12 | -2.08 | -1.40 |
Total | 346.94 | 275.16 | 19.55 | 25.98 |
- 廣告收入扣除使用費,40%用於本站(含查卡器)備用金,60%為站長更新設備使用金。
- 若當月盈餘為負值,60%由盈餘扣除,40%由站長設備使用金扣除。
- 2019/07廣告收入贊助60%於京阿尼大火重建。29.74*(1-0.6)=11.90