card created

This commit is contained in:
CHIEFSOFT\ameye
2024-10-30 19:05:23 -04:00
parent a685dd98a5
commit 02fdedd028
+13 -6
View File
@@ -95,16 +95,23 @@ var cards = {
}
).then((cardConfirm)=>{
const card = await stripe.issuing.cards.create({
cardholder: cardholder.id,
currency: 'usd',
type: 'virtual',
});
let resultItem = {
"result": cardholder,
"result_confirm": cardConfirm,
"card": card,
"total_record": 0
}
next(null, resultItem); // pass control to the next handler
console.log(cardConfirm);
});
let resultItem = {
"result": cardholder,
"total_record": 0
}
next(null, resultItem); // pass control to the next handler
});
}).catch((error) => {