The only thing I can spot from your screenshots as a potential issue is the Redirect URI (see attachment).
Your website is https:// and the URI lists http:// - the correct URI is added in Google Developer Console, as far as I can see, so you can try changing the URI following the steps below. If you still have any issues with it, please provide me a temporary wp-admin user (administrator), so I can remote in, and take a look.
There are two ways to change the URI. One is by inspecting the page, and the other one is by going through the database.
1. Open Amelia Settings/Integrations/Google Calendar (or Outlook calendar; or both) and right click/inspect on the Redirect URI field. Then, modify the highlighted line and delete "readonly="readonly"". After that you will be able to change the URI right there, through settings.
That's it, just save the new settings.
2. More complicated method - You'll need to go into your database, but please be careful when you update the table, because if you delete or add anything else, it can cause the plugin not to work properly.
When you access your database via PHPMyAdmin (or some other tool), access wp_options table:
It is possible that your prefix is not "wp_", but something else, so if that is the case, please look for "your_prefix_options" table.
When you access it, you can search through the column "option_name". Search for the term "amelia_settings":
When you find that, you need to edit the property under "option_value" column and find the string "redirectURI". It will look something like this :
So, all you need to do is replace it with your new website's URI:
So basically you need to replace newsite.com with youroldsite.com and it will be shown in Google settings properly. Please note that if you use https you will need to update it also in redirectURI option. Please don't remove the escape characters ( \ ), it needs to stay in \/\/ format
When you're done with this, please check if the URL from “Redirect URI” field and on "Create OAuth client ID" section are the same:
And I need to apologise, I included a screenshot to show the page but I had spotted that and we had already updated the HTTP to HTTPS. New Screenshot attached.
But we still have the problem - it maybe the google side but we need some support from those that have set this up before to help us sense check everything..
I'm glad to hear that the URI is correct. So, if I understand correctly, when you go to your employee's profile, and click on "Connect with Google", it takes you to the pages where you need to allow the connection, and then when you're back on your website, you're presented with the entire Employees page, not the actual employee with the Google Connection established?
If that's true, it could be generated by a security plugin (or mod_security on your server). Take a look at the URL of that page (when it returns from Google), and delete this part at the end of the URL: “=https://www.googleapis.com/auth/calendar”, and press Enter, and your employee should be connected to the calendar.
If you're still facing issues even after you've done this, please provide me a temporary wp-admin user (administrator), so I can log in, and take a look. Please note that this is a public ticket, so make sure to enable the PRIVATE response.
Hello Chris
Thank you for your purchase.
The only thing I can spot from your screenshots as a potential issue is the Redirect URI (see attachment).
Your website is https:// and the URI lists http:// - the correct URI is added in Google Developer Console, as far as I can see, so you can try changing the URI following the steps below. If you still have any issues with it, please provide me a temporary wp-admin user (administrator), so I can remote in, and take a look.
There are two ways to change the URI. One is by inspecting the page, and the other one is by going through the database.
1. Open Amelia Settings/Integrations/Google Calendar (or Outlook calendar; or both) and right click/inspect on the Redirect URI field. Then, modify the highlighted line and delete "readonly="readonly"". After that you will be able to change the URI right there, through settings.
That's it, just save the new settings.
2. More complicated method - You'll need to go into your database, but please be careful when you update the table, because if you delete or add anything else, it can cause the plugin not to work properly.
When you access your database via PHPMyAdmin (or some other tool), access wp_options table:
It is possible that your prefix is not "wp_", but something else, so if that is the case, please look for "your_prefix_options" table.
When you access it, you can search through the column "option_name". Search for the term "amelia_settings":
When you find that, you need to edit the property under "option_value" column and find the string "redirectURI". It will look something like this :
So, all you need to do is replace it with your new website's URI:
So basically you need to replace newsite.com with youroldsite.com and it will be shown in Google settings properly. Please note that if you use https you will need to update it also in redirectURI option. Please don't remove the escape characters ( \ ), it needs to stay in \/\/ format
When you're done with this, please check if the URL from “Redirect URI” field and on "Create OAuth client ID" section are the same:
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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
Thank you Aleksamar
And I need to apologise, I included a screenshot to show the page but I had spotted that and we had already updated the HTTP to HTTPS. New Screenshot attached.
But we still have the problem - it maybe the google side but we need some support from those that have set this up before to help us sense check everything..
Are you able to offer any further advice?
Many thanks
Chris
Hi again Chris
I'm glad to hear that the URI is correct. So, if I understand correctly, when you go to your employee's profile, and click on "Connect with Google", it takes you to the pages where you need to allow the connection, and then when you're back on your website, you're presented with the entire Employees page, not the actual employee with the Google Connection established?
If that's true, it could be generated by a security plugin (or mod_security on your server). Take a look at the URL of that page (when it returns from Google), and delete this part at the end of the URL: “=https://www.googleapis.com/auth/calendar”, and press Enter, and your employee should be connected to the calendar.
If you're still facing issues even after you've done this, please provide me a temporary wp-admin user (administrator), so I can log in, and take a look. 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 | 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
Great news Chris, you're welcome.
If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
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