Reset stripe call
This commit is contained in:
+23
-1
@@ -38,6 +38,28 @@ var cards = {
|
||||
|
||||
logger.info("READY FOR STRIPE CALL ",req_data);
|
||||
|
||||
const cardholder = await stripe.issuing.cardholders.create({
|
||||
name: 'Olu Test',
|
||||
email: 'jenny.rosen@example.com',
|
||||
phone_number: '+18008675309',
|
||||
status: 'active',
|
||||
type: 'individual',
|
||||
individual: {
|
||||
first_name: 'Olu',
|
||||
last_name: 'Test',
|
||||
dob: {day: 1, month: 11, year: 1981},
|
||||
},
|
||||
billing: {
|
||||
address: {
|
||||
line1: '123 Main Street',
|
||||
city: 'San Francisco',
|
||||
state: 'CA',
|
||||
postal_code: '94111',
|
||||
country: 'US',
|
||||
},
|
||||
},
|
||||
});
|
||||
/*
|
||||
const cardholder = await stripe.issuing.cardholders.create({
|
||||
name: req_data.name,
|
||||
email: 'ses66181@gmail.com',
|
||||
@@ -68,7 +90,7 @@ var cards = {
|
||||
next(null, resultItem); // pass control to the next handler
|
||||
|
||||
});
|
||||
|
||||
*/
|
||||
|
||||
} catch (e) {
|
||||
next(e.message, null); // pass control to the next handler
|
||||
|
||||
Reference in New Issue
Block a user