Buenos días hemos seguido todos los pasos para la integración de las notificaciones vía whastapp en el plugin de AMelis pero al realizar un envío de testeo de un mensaje de por ejempo de confirmación de reserva nos devuelve un error el plugin sin más información de a que se pude deber.
Gracias por ponerte en contacto con nosotros. En casos como este, la mejor opción es investigar el error a través de la consola de desarrolladores. Para hacerlo, necesitamos las credenciales de administrador de WP junto con la URL del sitio web para poder acceder al sitio y ver el problema con más detalle.
¿Podrías proporcionarnos las credenciales de administrador de WP?
Gracias por proporcionar el acceso. Esto es lo que puedes ver en la consola de desarrollador:
Parece que la API no se ha creado y la cuenta no está reconocida. ¿Podrías revisar todos los pasos en nuestra documentación para asegurarte de seguir cada uno correctamente? Puedes encontrar las instrucciones en este enlace - link.
Vale gracias, ya están funcionado las notificaciones directas (confirmación, cancelación, reprogramación de cita, etc...), pero NO las que se disparan de forma automática por tareas CRON, por ejemplo: recordatorio de cita (esta se debe ejecutar a las 12:00 pero llegan los whastapp)
¿Os adjunto configuración en amelia y en nuestro host por si veis algo raro???
Las notificaciones programadas son independientes de las "estándar" y requieren configuraciones diferentes. Aunque se pueden configurar a través de CPanel, recomendamos utilizar el plugin WPCrontol para la configuración.
Depending on the server, there are different configurations for it, which you can contact your hosting provider about, or you can check out one of the solutions for it on this link.
GET 'https://yourdomain.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send' > /dev/null
WP Crontrol plugin is the best option if you're not familiar with cron jobs. You can find more info about it, and detailed instructions on how to set it up in our FAQ section.
So, if you already read that, and still need some clarification here's some further info.
You copy only the URL from below a scheduled notification:
Then, go to Tools/Cron Events, and click on the "Cron Schedules" tab. In it, add a 15-minute interval:
Then go back to the "Cron Events" tab and click on "Add new":
Below it, select the "PHP Cron event" radio button, and add the URL you copied from Amelia/Notifications in this form:
file_get_contents("yourURL");
Below it add the name and set it to run a few minutes in the future, using the provided time format. So, if you're adding the cron event at 12:45 (local, current time), set it to run at 12:50; and then select the schedule you previously selected:
Click on Add Event, and that's it.
The cron runs every 15 minutes and checks if there's an email to be sent. So, in Amelia Notifications, your scheduled notifications are set to run every day at a certain time. If you set that time to be 15:00 (for example), the emails will be sent when the cron runs after that time.
For example, there's an appointment booked for tomorrow, and it's currently 14:44 - the cron runs, but since it's not yet 15:00, it doesn't send anything. It runs again after 15 minutes, so at 14:59, but there are still no emails flagged by Amelia, so it doesn't send anything. Then it runs again at 15:14 and it sees there's an email that should've been sent at 15:00, so it sends the email. It will only send emails when Amelia sees an appointment scheduled for the next day.
Buenos días hemos seguido todos los pasos para la integración de las notificaciones vía whastapp en el plugin de AMelis pero al realizar un envío de testeo de un mensaje de por ejempo de confirmación de reserva nos devuelve un error el plugin sin más información de a que se pude deber.
Podeis indicarnos que puede estar pasando?
Gracias
Attached files: Captura de pantalla 2024-12-20 a las 11.06.38.png
Hola Lidia,
Gracias por ponerte en contacto con nosotros. En casos como este, la mejor opción es investigar el error a través de la consola de desarrolladores. Para hacerlo, necesitamos las credenciales de administrador de WP junto con la URL del sitio web para poder acceder al sitio y ver el problema con más detalle.
¿Podrías proporcionarnos las credenciales de administrador de WP?
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Buenos días,
El acceso es:
www.curasana.es/privado
usuario: Amelia
contraseña: WD)tHG0J5vHZc(FL1HMi*V0R
Saludos
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Vale gracias, ya están funcionado las notificaciones directas (confirmación, cancelación, reprogramación de cita, etc...), pero NO las que se disparan de forma automática por tareas CRON, por ejemplo: recordatorio de cita (esta se debe ejecutar a las 12:00 pero llegan los whastapp)
¿Os adjunto configuración en amelia y en nuestro host por si veis algo raro???
¿Podéis echar un ojo a ver donde esta fallando?
Gracias.
Attached files: Captura de pantalla 2024-12-30 a las 13.03.00.png
Captura de pantalla 2024-12-30 a las 13.03.12.png
Hola Lidia,
Las notificaciones programadas son independientes de las "estándar" y requieren configuraciones diferentes. Aunque se pueden configurar a través de CPanel, recomendamos utilizar el plugin WPCrontol para la configuración.
Depending on the server, there are different configurations for it, which you can contact your hosting provider about, or you can check out one of the solutions for it on this link.
Also, you can try this:
*/15 * * * * wget -q -O - "https://www.yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send"
Or this:
*/15 * * * * /usr/local/bin/php ~/public_html/wp-cron.php --action='wpamelia_api' --call='/notifications/scheduled/send'
Or this:
GET 'https://yourdomain.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send' > /dev/null
WP Crontrol plugin is the best option if you're not familiar with cron jobs. You can find more info about it, and detailed instructions on how to set it up in our FAQ section.
So, if you already read that, and still need some clarification here's some further info.
You copy only the URL from below a scheduled notification:
Then, go to Tools/Cron Events, and click on the "Cron Schedules" tab. In it, add a 15-minute interval:
Then go back to the "Cron Events" tab and click on "Add new":
Below it, select the "PHP Cron event" radio button, and add the URL you copied from Amelia/Notifications in this form:
Below it add the name and set it to run a few minutes in the future, using the provided time format. So, if you're adding the cron event at 12:45 (local, current time), set it to run at 12:50; and then select the schedule you previously selected:
Click on Add Event, and that's it.
The cron runs every 15 minutes and checks if there's an email to be sent. So, in Amelia Notifications, your scheduled notifications are set to run every day at a certain time. If you set that time to be 15:00 (for example), the emails will be sent when the cron runs after that time.
For example, there's an appointment booked for tomorrow, and it's currently 14:44 - the cron runs, but since it's not yet 15:00, it doesn't send anything. It runs again after 15 minutes, so at 14:59, but there are still no emails flagged by Amelia, so it doesn't send anything. Then it runs again at 15:14 and it sees there's an email that should've been sent at 15:00, so it sends the email. It will only send emails when Amelia sees an appointment scheduled for the next day.
I hope that helps.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables