Okay
  Public Ticket #2706242
Setup with Google issue
Closed

Comments

  • Grant Holmes started the conversation

    I'm getting this error in the google setup. Does my domain need to be HTTS to use this product?

    For use with requests from a web server

    URIs

    Invalid Origin: This app has a publishing status of "In production". URI must use https:// as the scheme.

    Invalid Origin: This app has a publishing status of "In production". URI must use https:// as the scheme.

  • [deleted] replied

    Hello Grant, 

    The domain doesn't have to be https for the Google integration in Amelia, just make sure to follow all of the instructions step by step and everything to be the same as per our instructions https://wpamelia.com/configuring-google-calendar/

    I visited your website, and as I can see there is https in the domain, even though it says not secure, and there are a lot of mixed content warnings in the error log, please look at the attachment. So, if you added some security maybe it isn't applied properly, so you should check out that first - solve the problem to see whether you should provide the URI with http or https there.

  • Grant Holmes replied

    So, I thought I did all this, but first question...

    I thought the "Google Calendar" integration would mean that if I have an appointment set, let's say tomorrow at 4pm in my google calendar, that time slot should not be available in Amelia, Yes?

  • [deleted] replied

    Hello Grant, 

    Yes, if you followed our instructions and synced Amelia to Google, the time slots of the Busy events from employees' Google calendars would be blocked for booking, if you enabled the option Remove Google Calendar Busy Slots  in Amelia -> Settings -> Integrations -> Google Calendar Settings. Also, if you have some bigger number of Busy events in Google please increase the number for the option Maximum Number Of Events Returned:  , which you will find in Google Calendar Settings as well. 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.


  • Grant Holmes replied

    Thanks! A couple settings there I'd missed. Now a timing question please.

    I'm east coast time (USA) and just set a 10am calendar appt for tomorrow. (btw, I just rechecked the settings, but something is wrong. It came to my google calendar as 9am. I have a 10am already on my calendar, so it shouldn't have been available.

    Also: I have a 2pm tomorrow already on my Google calendar, but when I go back to my calendar page, (https://grantsvoice.com/calendar/) to set an appointment, that 2pm slit is available. Is this part of the same problem? As Amelia did put the event on my GCalendar, I must assume the "hook" is correct?

  • [deleted] replied

    You are welcome, Grant.

    The timezone set for the back-end of Amelia is the one you choose in your WordPress General Settigns, so please check if you have chosen your timezone there. Please note that you should choose there one of the City options, as the UTC+- options don't recognize the Daylight savings time (if needed). On the front-end , customers can see the available time slots in their own timezone if you enable this option in Amelia -> Settings -> General. Also, check if you have set the same timezone in your Google calendars settings (as the one you set in your WP). 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.

  • Grant Holmes replied

    Thanks Marija.

    Google calendar and WPGeneral settings are both set to a city (New York (eastern time like me)).

    Not sure what else to check. Also, when I DO create an appt it does go to my Google calendar, so that is working, but again, Amelia is not pulling my calendar back, so is allowing me to set an appt tomorrow at 2pm, when there is something on my calendar at that time. I've also attached a screen shot on my google integration settings.

    BTW, the log file you included earlier, the server had some challenges and hopefully that is fixed.

    There's SOOOoooo much to getting this right!!

    (Finally- I also put in a question (sep ticket) about PRO/Developer version, but haven't seen an answer to that) Thanks!!!

    Grant

  • [deleted] replied

    You are welcome, Grant.

    If they are set to the same timezone the times in Amelia and Google should be the same. 

    Please check if you enabled the option Remove Google Calendar Busy Slots  in Amelia -> Settings -> Integrations -> Google Calendar Settings. And if you have some bigger number of Busy events in Google please increase the number for the option Maximum Number Of Events Returned:  .

    Also, please check if the event in Google is with status Busy and if it is created in your main calendar in your Google account - as Amelia employees can be connected to only one Google calendar, so if you have more Google calendars in your Google account Amelia won't read all of them, but only one the main one (that one is connected to Amelia). 


  • Grant Holmes replied

    Hi Marija,

    My screen shot showed that setting- "...busy slots"

    It's only me. No other employees and only one GCalendar.

    The "number of events returned" is unclear to me. I know there's an explanation there, but for a new user... what does that mean? How far its reaching into the future? I'm not THAT busy and only testing on things within the next few days. See attached. This is for Friday 3/5  To me this slot shouldn't be available.

    2nd screen shot is it clearly allowing the noon appt for one hour (overlap)

    Finally, attachment three- you can clearly see it coming into my calendar an hour earlier.

    Is there a way to NOT have to wait 24 hours for tech help? This is very important and the waiting for resolution is driving me nuts! I'm trying to show the issue and I can't tell it's in my settings. Please look at ALL the screen shots?

    Thanks

  • [deleted] replied

    Hi Grant,

     The "number of events returned" is not connected to the period of time but the number of events that you have in your Google calendar that should be blocked for booking in Amelia - so this depends on you, the user, if you have a bigger number of events in your Google calendar, you should increase that number . 

    It doesn't matter how many employees are in Amelia, but how many calendars you have in your Google account, please look at the attachment. Amelia employee connects to only one Google calendar in your Google account, the main one, and if you have there more than one calendars, Amelia won't read all of them , this isn't possible unfortunately, but the main one. This is why I asked you to check if you have those busy events in your Google calendar , in the main one. 

    Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look. If that is possible I will create one test employee and connect it to my Google calendar to check this out. 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 party. You can write credentials here just check Private Reply so nobody can see them except us.



  •   Grant Holmes replied privately
  •   [deleted] replied privately
  •   Grant Holmes replied privately
  •   [deleted] replied privately
  •   [deleted] replied privately
  •   Grant Holmes replied privately
  •   [deleted] replied privately
  •   Grant Holmes replied privately
  •   [deleted] replied privately
  • Grant Holmes replied

    Here ya go.

    9am set

  •   [deleted] replied privately
  •   Grant Holmes replied privately
  •   [deleted] replied privately
  •   Grant Holmes replied privately
  •   [deleted] replied privately
  •   [deleted] replied privately
  • Grant Holmes replied

    Marija,

    Glad you figured it out, but this seems a programming challenge, no? It shouldn't just change the schedule, but not allow it. Seems a logic challenge. I'll remove the setting, but developers should look at the logic. That's an interesting issue.

  • [deleted] replied

    Hello Grant, 

    Sorry that I have missed to see this option , we were testing with a test service that didn't have buffers. This is why you have the option in Amelia Settings that can be enabled or disabled, to either insert the buffer times with the appointments all together to your Google calendar, or not. This depends on the use case, some users needed this, for the Google events to have the buffers included, so we implemented this as an option.

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.


  • Grant Holmes replied

    Sorry to do this but I cannot find my purchase code to enter to submit a ticket. Should be in my profile no?

    I've switched email programs since purchase and can't find it.

    Grant

  • [deleted] replied

    Hi Grant, 

    You can find your purchase code in the email sent to you after your purchase by us (TMS) - it is sent to the email address you provided while purchasing Amelia, and you can also find it when you login to our store https://store.tms-plugins.com/login The credentials for the store are sent to you also in an email after the purchase, but if you can't find it you can use the Forgot password option in the store, and you need to use the email address you provided while purchasing Amelia.