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:
User clicks a button or something on the website that says pay dues
A UUID is generated and attached to their account on firebase
They pay through venmo and type that UUID in their payment message
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
If there is text in the message matching the UUID then update that members verification status to paid
Concerns
How to make chapter due pricing easily updateable in the future
Options to pay for one semester or the whole year? Need to set an expiration date for dues on that user's account
Still need to check with Reyna if this is something she wants/is useful
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:
Concerns