top of page
Forum Posts
CT Health Ltd.
Apr 14, 2025
In Velo (Wix Code)
Hi Eitan,
I was able to look at your WhatsApp Verify Twilio tutorial and implement a WhatsApp Verification for users who are registering to an online course.
I am using the same principals to send WhatsApp message as a one way communication tool to send the a message on approval. The message will contain a generic message "Dear applicant your application has been approved." But when I try to use the client.messages.create there is no response when I run the code from the back end twilio.jsw. My code is below: 👇
export const sendWhatsAppMessage = async()=>{
const twilio = require("twilio");
const accountSid = await getSecret("twilioAccountSid");
const authToken = await getSecret("twilioAuthToken");
const serviceID = "VA40b8535ce62d05f7035e5bb5ccb83a01";
const twilioPhoneNumber = await getSecret ("twilioPhoneNumber")
const client = twilio(accountSid, authToken)
const sendMessage = await client.messages.create({
body: "Dear student, your application for admission into CCD, Batch 40 has been approved . Please wait for payment link to complete the admission.",
from: twilioPhoneNumber,
to: "+8801712185328",
});
console.log(sendMessage.body)
return sendMessage;
}
I am also attaching a video which shows what happens when I run the code in backend.
The WhatsApp number I am using is being used for the verification.
Do I need to use a different number or is there something wrong with the code?
0
0
6
CT Health Ltd.
Mar 27, 2025
In Velo (Wix Code)
Hi Eitan,
I am trying to take photo of user and store it in CMS. I want the user to select a button on which the web browser will ask for the user's consent for opening the camera of the device. Then with another button I want the user to take a photo from the user’s device and then upload.
Is there a npm package that can help me achieve this? I have pasted the URL below with 2 screenshots
https://www.dlpbadas-bd.org/course-registration-1
0
1
15
CT Health Ltd.
Nov 19, 2024
In Velo (Wix Code)
Hi Eitan,
I have two collections Course Content and Faculties.
I have a mutli-reference field inside Course Content which references names from Faculties collection.
I am trying to populate a repeater which will be displayed on page load using the Course Content collection and display the value from the mutli-reference value.
I am trying to use wixdata.queryreferenced() but am unable to display the value from the reference field.
0
4
32
CT Health Ltd.
Sep 04, 2024
In Velo (Wix Code)
Hi Eitan,
Need help passing data between 2 repeaters.
I have 2 repeaters - search repeater and sale repeaters. Search repeater is loaded using a WIX data query and the sale repeater is an empty repeater.
I am loading the search repeater using WIX data query and then want to select an item from the search repeater and push it to the sale repeater. I know I have to use arrays but I can't figure out how to use the array to push the data from the search repeater to the sale repeater.
0
1
10
CT Health Ltd.
More actions
bottom of page