From 9a8b0ce9a6fbc0ff158e206fa26e3783dcb3d269 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sun, 20 Oct 2024 14:10:14 -0400 Subject: [PATCH] email_line --- service/cards.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/service/cards.js b/service/cards.js index 4910cbe..7215a0f 100644 --- a/service/cards.js +++ b/service/cards.js @@ -61,13 +61,14 @@ var cards = { }; logger.info("READY FOR STRIPE CALL ************************************************************************ NEXT "); logger.info("REQ=>", ReqParam); - const name_line = "First Lastname"; + const name_line = req_data.name; // "First Lastname"; + const email_line = req_data.email; // "First Lastname"; logger.info("READY FOR STRIPE CALL ************************************************************************ MORE "); // const cardholder = await stripe.issuing.cardholders.create(ReqParam); const cardholder = await stripe.issuing.cardholders.create( { name: name_line, - email: 'jenny.rosen@example.com', + email: email_line, phone_number: '+18008675309', status: 'active', type: 'individual',