Skip to content

Commit

Permalink
removed value field
Browse files Browse the repository at this point in the history
  • Loading branch information
merissali committed Feb 27, 2022
1 parent 81f216d commit 4e83ea1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions services/memberships/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ export const config = {
};

export const payment = async (event, ctx, callback) => {
const {
target: { value },
} = event;

const session = await stripe.checkout.sessions.create({
payment_method_types: ["card"],
line_items: [
Expand Down Expand Up @@ -87,9 +83,6 @@ export const payment = async (event, ctx, callback) => {
education1: ctx.body.education,
education: event.education,
email: event.body.email,
email2: value.email,
email3: value.body.email,
test: value,
// faculty: event.faculty,
// first_name: event.body.first_name,
// heard_from: event.body.heard_from,
Expand Down

0 comments on commit 4e83ea1

Please sign in to comment.