Unable to Send Triggered Email

Hi,

I am trying to create a triggered email for my booking website. The booking flow is a custom made flow not via Wix bookings.

The log error is what I have pasted below:

{
“insertId”: “…7AeRhvx.h5KO7Ve71nyhIY”,
“timestamp”: “2026-03-22T14:59:24.942Z”,
“labels”: {
“siteUrl”: “https://www.olayemiogundola.com”,
“revision”: “729”,
“namespace”: “Velo”,
“tenantId”: “275f62d0-0805-420b-b7db-e5a46b34bdff”,
“viewMode”: “Site”,
“pageName”: “Payment Summary”
},
“sourceLocation”: {
“file”: “pages/Payment Summary.xgdi6.js”
},
“operation”: {
“id”: “…8En10D.sh6V9Kft0CLKHAj”,
“producer”: “https://www.olayemiogundola.com
},
“jsonPayload”: {
“message”: “Payment email failed: TypeError: (0 , s.sendPaymentPendingEmail) is not a function”
},
“severity”: “ERROR”,
“receiveTimestamp”: “2026-03-22T14:59:26.454Z”,
“id”: “25f792d6-b749-45ee-a709-d1d42d463d75”
}

Can you share the code that you’re using?

Based on the message it seems you’re either calling. function that doesn’t exist, or haven’t imported etc it correctly.

Thanks, it has been resolved. I had a wrong email ID. I’ve corrected it and it’s now working perfectly.