Are you running pay() when the page loads instead of when t… Twetch · July 20, 2020 Are you running pay() when the page loads instead of when the button is clicked?