fix call
This commit is contained in:
+10
-1
@@ -62,7 +62,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);
|
||||||
logger.info("READY FOR STRIPE CALL ************************************************************************ MORE ");
|
logger.info("READY FOR STRIPE CALL ************************************************************************ MORE ");
|
||||||
|
const cardholder = await stripe.issuing.cardholders.create(ReqParam).then((callResult);
|
||||||
|
console.log(cardholder);
|
||||||
|
let resultItem = {
|
||||||
|
"result": cardholder,
|
||||||
|
"total_record": 0
|
||||||
|
}
|
||||||
|
next(null, resultItem); // pass control to the next handler
|
||||||
|
/*
|
||||||
const cardholder = await stripe.issuing.cardholders.create(ReqParam).then((callResult)=>{
|
const cardholder = await stripe.issuing.cardholders.create(ReqParam).then((callResult)=>{
|
||||||
console.log("Ameye **************************** AMEYE ----- ");
|
console.log("Ameye **************************** AMEYE ----- ");
|
||||||
console.log(callResult);
|
console.log(callResult);
|
||||||
@@ -73,6 +80,8 @@ var cards = {
|
|||||||
next(null, resultItem); // pass control to the next handler
|
next(null, resultItem); // pass control to the next handler
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
*/
|
||||||
/*
|
/*
|
||||||
const cardholder = await stripe.issuing.cardholders.create({
|
const cardholder = await stripe.issuing.cardholders.create({
|
||||||
name: req_data.name,
|
name: req_data.name,
|
||||||
|
|||||||
Reference in New Issue
Block a user