We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3193afa commit 7636a97Copy full SHA for 7636a97
src/api/routes/payment.js
@@ -209,6 +209,7 @@ router.post(
209
);
210
211
paymentDetails = {
212
+ ...paymentDetails,
213
firstName: customer.name ? customer.name.split(' ')[0] : null,
214
lastName: customer.name
215
? customer.name.split(' ').slice(1).join(' ')
@@ -266,7 +267,9 @@ router.post(
266
267
});
268
} else {
269
logger.info(
- `[TEST MODE] POST to CougarCS Cloud API for UHID=${uhID}`
270
+ `[TEST MODE] POST to CougarCS Cloud API for CUSTOMER=${JSON.stringify(
271
+ paymentDetails
272
+ )}`
273
274
}
275
} catch (err) {
0 commit comments