email_line
This commit is contained in:
+3
-2
@@ -61,13 +61,14 @@ var cards = {
|
|||||||
};
|
};
|
||||||
logger.info("READY FOR STRIPE CALL ************************************************************************ NEXT ");
|
logger.info("READY FOR STRIPE CALL ************************************************************************ NEXT ");
|
||||||
logger.info("REQ=>", ReqParam);
|
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 ");
|
logger.info("READY FOR STRIPE CALL ************************************************************************ MORE ");
|
||||||
// const cardholder = await stripe.issuing.cardholders.create(ReqParam);
|
// const cardholder = await stripe.issuing.cardholders.create(ReqParam);
|
||||||
const cardholder = await stripe.issuing.cardholders.create(
|
const cardholder = await stripe.issuing.cardholders.create(
|
||||||
{
|
{
|
||||||
name: name_line,
|
name: name_line,
|
||||||
email: 'jenny.rosen@example.com',
|
email: email_line,
|
||||||
phone_number: '+18008675309',
|
phone_number: '+18008675309',
|
||||||
status: 'active',
|
status: 'active',
|
||||||
type: 'individual',
|
type: 'individual',
|
||||||
|
|||||||
Reference in New Issue
Block a user