Okay
  Public Ticket #2823599
Calendar Synchronization
Closed

Comments

  •  2
    Ilse started the conversation

    Hi

    An appointment was booked by a customer and payed succesfully using mollie. We did however not get an email and sms notification, which woked perfectly for the previous appointments. The reminder appointment to the employee was however sucesfully send. 

    The appointment is also not visible in our google calendar (which is succesfully synchronazid, as other appointment are visible in our calendar).

    Is there a way to synchronize the appointment manually with the google calendar? I already tried to recouple the calendar but the appointment (only that particular one) is not being synchronized.

    And is it possible to send an email to the employee manually with the details of the booked appointment for which an email & sms notification was not send? 

    Kind regards


  • [deleted] replied

    Hi I

    Thank you for reaching out to us.

    Could you kindly tell us if you have updated the plugin to it's latest version (4.0.1)?

    Unfortunately there is no way to manually force the appointment to sync or send email and SMS notifications this should happen automatically so let's try and locate the cause of the issue.

    Please send us some more details about that particular appointment, when and how was it created, who is it assigned to, etc. Any additional information you can think of will help us understand better and provide you with the best solutionsmile.png 

  •  2
    Ilse replied

    Hi 

    At that time the plugin was not yet updated to the newest version. (Now it is.)

    The appointment was created by a costumer using the tool on our website and succesfully paid using mollie.

    The employee has a google account & calendar attached. 

    The appointment that is not synced is the one on the 13th of august.

    Kind regards

  • [deleted] replied

    Please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. 

    We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties. 

    You can write credentials here just check PRIVATE Reply so nobody can see them except us.

  •   Ilse replied privately
  • [deleted] replied

    Hi Ilse

    In your Amelia - Settings - Integrations - Maximum Number Of Events Returned the number of events was set to 50, so that specific event probably wasn't picked up. It is always recommended to set it at maximum so I increased it to 2500, could you please check now?

    9573515783.png

  •  2
    Ilse replied

    Hi

    The appointment on 13th august is still not being synced with our google calendar.

    If I add a new (test) appointment it is immediately synced with the calendar

    Kind regards

  • [deleted] replied

    That is strange, let me forward this to our Level 2 to investigate further, I might be missing something here.

    We appreciate your time and patience.

  •  2
    Ilse replied

    Hi, 

    Thank you.

    Kind regards

    Ilse

  •  2,572
    Aleksandar replied

    Hello Ilse

    An existing appointment cannot be added to the Google Calendar anymore. So, if the appointment exists in Amelia, you can't force it to be added into Google Calendar.

    The new version, 4.0.1 includes a fix for these situations, so now that you've updated the plugin, it shouldn't happen again. I do apologize for the inconvenience, and I hope that it's now permanently resolved.

    As Blazenka said, please make sure the "Maximum number of events returned" is set to the maximum value also.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •  2
    Ilse replied

    Ok, thank you for the help

    Kind regards

  •  2,572
    Aleksandar replied

    You're welcome, Ilse

    Please keep an eye on it, and if the issue happens again, let us know.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •  2
    Ilse replied

    Hi

    Unfortunately the problem happened again. No notifications are send (not by mail and not by SMS) and the appointment is not synced with our Google calendar. It concerns an appointment booked directly by a customer and payed using Mollie. As an appointment created by ourselves through the backend (without a Mollie payment) is no problem, we thought it might be a problem concerning a combination of the Mollie integration, Google Calendar Integration and the notifications.

    Kind regards

    Ilse




  •  2,572
    Aleksandar replied

    Hey Ilse

    Sorry to hear this happened again.

    I don't understand if:

    1. The appointment was created, but no notifications were sent and the Google Calendar event wasn't created, or
    2. The appointment was not created, no notifications, and no Google Calendar event was created?

    Can you please tell me which customer booked the appointment, on which date, at what time, what payment option was used within Mollie? As many details as possible, please, so our developers can try replicating the issue and see what's going on.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •   Ilse replied privately
  •   Ilse replied privately
  •  2,572
    Aleksandar replied

    Hey Ilse

    If we understand each other correctly, you're referring to the Google Calendar? If that's true, it should not be possible, since the event in Google is created when the appointment in Amelia is created.

    Can you please keep the credentials you previously provided active, and share the calendar where the appointment is supposed to be written with me ([email protected])?

    Just let me know when you do that, because there is a lot of spam going into my inbox, so I don't want to overlook the invitation.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •   Ilse replied privately
  • [deleted] replied

    Hi Ilse

    Thank you for confirming that, we will investigate this and get back to you with more information.

    We appreciate your time and patience. 

  •  2,572
    Aleksandar replied

    Hey Ilse

    What payment method are you using with Mollie payments? If the appointment is created in Amelia, it should definitely be created as a busy event in Google Calendar. I can see that all your employees are connected, but for example, the appointment scheduled for August 13th hasn't been added to the calendar.

    Maybe if the appointment was created before the Google Calendar connection has been established, or if they navigated away from the page before all post-booking actions were completed by the plugin.

    I've enabled the option to run these post-booking actions immediately, so I hope this will fix the issue. Please keep an eye on the plugin for a day or two, and let me know.

    If it occurs again, make sure to tell me exactly which customer, whcih appointment and I'll check it out once again.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •  2
    Ilse replied

    Hi

    Ok, thanks for the support. I will keep an eye on it.

    Kind regards


  •  2
    Ilse replied

    Concerning  the payment method, it is Bancontact.

    Kind regards

  •  2,572
    Aleksandar replied

    OK Ilse, thanks for letting me know.

    This setting that we turned on should resolve this, but if it doesn't please let us know.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •  2
    Ilse replied

    Hi

    Unfortunately the problem still exists. We tested everything with Mollie in test mode and then everything is fine. But when it is in "live" mode none of the integrations work for new appointments. So maybe it is a bug on Mollie's side? 

    It concerns the appointment on 29th of august at 16:00. (We've put the appointment in the google calendar manually)

    Kind regards 

    Ilse

  • [deleted] replied

    Hi Ilse,

    thank you for letting us know!

    Developer asked if you could provide us with database access; you can write the credentials here just make sure that you check PRIVATE reply.

  •   Ilse replied privately
  • [deleted] replied

    Please download the file attached to this response that has been forwarded to us by our developers, it contains a fix, then set up a Cron job

    */15 * * * * https://example.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/undelivered/send

    My suggestion is to update the plugin manually by following these steps:

    1.) Download zip from our store or from the email you received when you purchased the plugin

    2.) Use FTP to open /yourwordpressfolder/wp-content/plugins

    3.) Delete existing ameliabooking folder.

    4.) Upload the previously downloaded ameliabooking folder through FTP into "plugins" folder (unzip it)

    5.)  Go to WP-admin panel, open Plugins section.

    6.) Deactivate Amelia Plugin, and then activate it again.

    7.) Clear server and browser cache

    cron is a Linux utility which schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks like in our plugin for notifications.

    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 jobx. 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:

    7810032183.png

    Then, go to Tools/Cron Events, and click on "Cron Schedules" tab. In it, add a 15 minute interval:

    2487877415.png

    Then go back to "Cron Events" tab and click on "Add new":

    9085918175.png

    Below it, select "PHP Cron event" radio button, and add the URL you copied from Amelia/Notifications in this form:

    file_get_contents("yourURL");
    2095163400.png

    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:

    7642938415.png

    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.


  •  2
    Ilse replied

    Hi

    Thanks for the support, I updated the plugin and added the cron job.

    Thanks again, and let us hope the problem does not happen again ;)

    Greetings

  • [deleted] replied

    Hi Ilse,

    that should be it; unless Cron functions are changed manually no trouble should occursmile.png

    Thank you for your patience; 

    If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.

     

  •  2
    Ilse replied

    Hi

    Unfortunately the problem is not fixed, new appointments are not added to the google calendar of the employee. Changing the employee of an appointment to another employee, and back to the original employee fixes this. But it is intensive to do this for each appointment.

    Mails are also not send to the customer after they completed the booking, we do this manually now until the problem is fixed.

    Kind regards

    Ilse

  •  2
    Ilse replied

    Hi

    FYI, this happens randomly, sometimes notifications and calendar synchronization work perfectly, sometimes they don't. They either work both or none of them work.

    We now tested it with a test booking, and it worked. It is however hard to test this, as we need to pay a fee for each payment we receive. Testing with a "free" appointment is no use as the mollie plugin must not be used then.

    Hope you can find a solution for this quickly. 

    Kind regards

  •  2,572
    Aleksandar replied

    Hello Ilse

    The integration can't choose to work intermittently, so it is being caused by something. How many employees do you have? How many of them are linked to their Google Calendar? What's the "Maximum number of events returned" set to?

    As for the notifications, you can create a new cron with this URL:

    https://example.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/undelivered/send
    

    Of course - replace example.com with your website, and this will check the appointment and if the notification has been automatically sent. If they aren't sent, this cron will send the notification.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •  2
    Ilse replied

    The problem seems to be resolved. 
    Thanks for all the support.

    Kind regards
    Ilse

  • [deleted] replied

    Hi Ilse,

    thank you for reaching out to ussmile.png

    I'm happy to hear that solution was found; 

    If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.


  •  2
    Ilse replied

    Hi

    The problem appears to be back. I am 99% sure the problem arises due to the integration with mollie. The appointments are correctly registrated in Amelia itself, but there is no synchronization with the google calendar and notifications are not send (neither to the customer and the employee). Testing with the mollie sandbox gives no problems.

    This is probably the same issue as in ticket #2849200, which is probably also not solved.

    Kind regards

    Ilse

  •  2,572
    Aleksandar replied

    Hello again Ilse

    If the appointments are being created, the Google Calendar synchronization (if properly configured) should work regardless of whether Mollie is working or not.

    When Amelia creates an appointment, it creates an event in Google Calendar, and it sends out the notifications related to the appointment. As long as the appointment is created, the Google Calendar event should be created.

    How many employees do you have? How many of them are linked to their Google Calendar? What's the "Maximum number of events returned" set to?

    The credentials you previously created for us no longer work, so if this doesn't help, please provide me with a new set of credentials, and I'll check it out. Please note that this is a public ticket, so make sure to enable the PRIVATE response.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •   Ilse replied privately
  •   Aleksandar replied privately
  •   Ilse replied privately
  •  2,572
    Aleksandar replied

    Thank you, Ilse.

    You may be right about Mollie being the culprit here. When the appointment is booked, the status is set to pending, and when the payment goes through a hook is triggered in Amelia which sends the email, creates the busy event in Google, creates a potential Zoom meeting, etc. If this hook doesn't fire, the issue can arise.

    I forwarded the ticket to our developers, and they'll see what they can do about it. The biggest issue here is that it can't be replicated using the Sandbox credentials, but I'm sure they'll get to the bottom of it.

    Please leave the credentials active, so they can check it out and I'll get back to you as soon as I hear from them.

    Sorry for the inconvenience.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •  2
    Ilse replied

    Hi

    Great to hear that the cause of the issue is already found!

    Kind regards 

  •  2,572
    Aleksandar replied

    Hi again Ilse

    It's not yet 100% confirmed, but it is what our developers suspect.

    They are working on it, and hopefully, it will be included in the next update.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •  2,572
    Aleksandar replied

    Hello Ilse.

    Our developers are still working on resolving this, and the fix should be included in the next update.

    Until then, you can create a new cron job using this command:

    */15 * * * * https://krono-escape.be/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/undelivered/send
    

    So, along with the CRON that's already added for scheduled notifications, add this one as well and it should work fine.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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

  •  2
    Ilse replied

    Ok thanks, we will add the cron job.

    Kind regards

  •  2,572
    Aleksandar replied

    You're welcome, Ilse

    If you need some further assistance, please feel free to reach out to us.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia 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