Need help with donation_button?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

130 Stars 23 Forks 2 Commits 8 Opened issues

Services available


Need anything else?

Contributors list

# 419,122
2 commits


This Python script was a quick-and-dirty solution to build an Amazon Dash button that would donate to the ACLU through the page

The script requires the Mechanize library (

Replace the obvious placeholders with your own information.

It's set up to be run on Amazon's AWS Lambda service, with the credit card info stored as the following encrypted environment variables for a tiny bit more security: CCnumber CCexpirationmonth CCexpirationyear CCCSC If you're not doing that, go ahead and put them in as strings.

Note that the state and country menus use numeric codes rather than abbreviations. See the file countryandstate_codes.txt for the select menus from the page so you can find the appropriate value and enter it.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.