noahmanger / pdxtipjar

Website source code for PDX Tip Jar
https://pdxtipjar.com
MIT License
2 stars 9 forks source link

Allow multiple payment services per recipient. #4

Open alexgpdx opened 4 years ago

alexgpdx commented 4 years ago

Many recipients will have multiple payment systems and it would be ideal if users had their choice of ways to tip workers.

alexgpdx commented 4 years ago

I've built a new Google form with some field validation for this change and will share it if interested. I don't know Javascript, but here's the modified headers for Table.js, taken from my form:

const HEADERS = {
  work: "Location",
  role: "Role",
  name: "Name",
  crypto: "Crypto Name"
  crypto_address: "Crypto Wallet Address"
  paypal_handle: "PayPal.me @username"
  cashapp_handle: "Cash App $cashtag"
  venmo_handle: "Venmo @username"
//  app: "Pay",
//  handle: "Handle",
  support_others: "Do you financially support others?",
  healthcare: "Do you have health insurance?",
};

Modifying existing entries to use the a new format seems fairly straightforward, but I didn't know how to rebuild the Donate page to use multiple donate buttons.

noahmanger commented 4 years ago

Thanks for the suggestion, @alexgpdx ! We're actually working on some updates to the backend and I think this would be a great thing to include.