The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
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.