IO-3395 Postback Payment Date

Signed-off-by: Allan Carr <allan@imexsystems.ca>
This commit is contained in:
Allan Carr
2025-10-06 17:50:19 -07:00
parent 15792cb0ef
commit 4f6db827e7
3 changed files with 5 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ const handleCommentBasedPayment = async (values, decodedComment, logger, logMeta
payer: "Customer",
type: getPaymentType(ipMapping, values.cardtype),
jobid: p.jobid,
date: moment(Date.now()),
date: moment(Date.now()).tz(bodyshop.bodyshops_by_pk.timezone || "UTC"),
payment_responses: {
data: {
amount: values.total,

View File

@@ -97,7 +97,7 @@ const handleInvoiceBasedPayment = async (values, logger, logMeta, res) => {
payer: "Customer",
type: getPaymentType(ipMapping, values.cardtype),
jobid: job.id,
date: moment(Date.now())
date: moment(Date.now()).tz(bodyshop.timezone || "UTC")
}
});