Added logger

This commit is contained in:
CHIEFSOFT\ameye
2024-10-20 08:38:53 -04:00
parent 78b8cce1c5
commit 8b17832174
+3 -2
View File
@@ -40,7 +40,7 @@ var cards = {
logger.info("READY FOR STRIPE CALL ************************************************************************ AFTER ");
var ReqParam = {
name: req_data.name,
email: 'jenny.rosen@example.com',
email: 'jenny.rosen@example.com',
phone_number: '+18008675309',
status: 'active',
type: 'individual',
@@ -60,7 +60,8 @@ var cards = {
},
};
logger.info("READY FOR STRIPE CALL ************************************************************************ NEXT ");
logger.log("REQ=>", ReqParam);
logger.info("REQ=>", ReqParam);
logger.info("READY FOR STRIPE CALL ************************************************************************ MORE ");
const cardholder = await stripe.issuing.cardholders.create(ReqParam).then((callResult)=>{
console.log("Ameye **************************** AMEYE ----- ");