okay it's time to get some bread
when people pay for membership with cash, we currently have it so that an officer writes down their info then passes the info to another officer who inputs this into a Python script which makes an API request... point is that approach sucks and we should just make a page where that info can be entered immediately by the officer who takes down payment info. no delays, no concerns about information integrity.
here's how it's gonna go down.
const data = {
payerEmail,
amount,
payerName,
note: `SCE Membership: ${payerEmail}`,
transactionId: 'N/A - cash payment',
}
and send a POST request with that object to the /storePayment endpoint located in the membership payment api. i recommend using/adding to the api functions to keep with clark practices
when this is done, payments will automatically get stored in the database, and cash payers will get their automated email to confirm their membership. automation is the way vro ✌️
okay it's time to get some bread
when people pay for membership with cash, we currently have it so that an officer writes down their info then passes the info to another officer who inputs this into a Python script which makes an API request... point is that approach sucks and we should just make a page where that info can be entered immediately by the officer who takes down payment info. no delays, no concerns about information integrity.
here's how it's gonna go down.
and send a POST request with that object to the
/storePaymentendpoint located in the membership payment api. i recommend using/adding to the api functions to keep with clark practiceswhen this is done, payments will automatically get stored in the database, and cash payers will get their automated email to confirm their membership. automation is the way vro ✌️