function calcCCVal(){ var tickprice=document.getElementById("tickprice").value; var tickcnt=document.getElementById("tickcpunt").value; var ccfixedfee=document.getElementById("ccff").value; var ccpf=document.getElementById("ccpf").value; var ccamount=(tickcnt*tickprice*(ccpf/100))+(tickcnt*ccfixedfee); var paypalamount=(tickcnt*tickprice*(2.5/100))+(tickcnt*0.30); var googleamount=(tickcnt*tickprice*(2/100))+(tickcnt*0.20); var ebeeamount=(tickcnt*tickprice*(3.95/100))+(tickcnt*0.50); var googlesave=ccamount-googleamount; var paypalsave=ccamount-paypalamount; var ebeesave=ccamount-ebeeamount; document.getElementById('showCCAmountInfo').innerHTML="You save approximately $"+googlesave+" with Google Checkout, $"+paypalsave+" with PayPal in Credit Card Processing Fee by switching to Eventbee" ; } document.write(''); document.write('
| My credit card processing fee savings |
| 1. My average ticket price: $ |
| 2. Number of tickets I sell per year: |
| 3. I am currently paying Credit Card Processing Fee of % + $ |