SHPE-UTDallas / Website-Redesign

Redesign of the SHPE website
3 stars 2 forks source link

Automate processing of chapter dues #41

Open gabriel-flynn opened 3 years ago

gabriel-flynn commented 3 years ago

Venmo API library - https://pypi.org/project/venmo-api/

Idea: Create a lambda function (in python since the library is a python library) in AWS or GCP that we can call to verify if a member has paid their dues.

Flow:

  1. User clicks a button or something on the website that says pay dues
  2. A UUID is generated and attached to their account on firebase
  3. They pay through venmo and type that UUID in their payment message
  4. The lambda runs on a schedule (maybe every 1-5 minutes? We get 2 million invocations a month for free) and checks if someone has paid
    • We might need to make another table with the primary key being the UUID and the foreign key being the user
  5. If there is text in the message matching the UUID then update that members verification status to paid

Concerns

gabriel-flynn commented 3 years ago
gabriel-flynn commented 3 years ago