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

nathanpryor
130 Stars 23 Forks 2 Commits 8 Opened issues

Services available

!
?

Need anything else?

Contributors list

# 419,122
Python
2 commits

donation_button

This Python script was a quick-and-dirty solution to build an Amazon Dash button that would donate to the ACLU through the page https://action.aclu.org/donate-aclu

The script requires the Mechanize library (http://wwwsearch.sourceforge.net/mechanize/).

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.