mission-city-swing / mcs_registration

Mission City Swing Front Desk Registration
GNU General Public License v3.0
2 stars 4 forks source link

Add payment api #102

Closed allenz-crypto closed 5 years ago

allenz-crypto commented 5 years ago

@missmaggiemo For a new student form, it doesn't look like we record a class checkin for them. Is this something we want?

missmaggiemo commented 5 years ago

Re: new student form, I intentionally decoupled those two forms so that we could have new students fill out their waiver and demographic information separate from checking into class, so that that doesn't have to be one transaction. The idea was that a bunch of people could fill out the form, but checking into class only happens when we take their money.

allenz-crypto commented 5 years ago

@missmaggiemo I'm concerned that this line const createCharge = fireDB.functions().httpsCallable('createCharge'); will break if the function is not deployed on production. Can we run a firebase deploy --only functions on prod before I merge this?