My client has a new employee and the employee wants to integrate there Google Calendar. I am getting an error after clicking to add the calendar saying that the URIs don't match. The redirect URI uses HTTP according to the address in the Amelia setting but the website uses HTTPS so I think that is the issue. There is no way that I see to change it. I've gone through the code and looked at database entries with no luck. Is there a way to change this? Deactivating and reactivating the plugin maybe?
To change the URI, 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:
Please note that this is a pre purchase category reserved for those who didn't purchased yet, please verify your purchase from now on and use Amelia category to rise your tickets.
My client has a new employee and the employee wants to integrate there Google Calendar. I am getting an error after clicking to add the calendar saying that the URIs don't match. The redirect URI uses HTTP according to the address in the Amelia setting but the website uses HTTPS so I think that is the issue. There is no way that I see to change it. I've gone through the code and looked at database entries with no luck. Is there a way to change this? Deactivating and reactivating the plugin maybe?
Hi,
To change the URI, 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:
Please note that this is a pre purchase category reserved for those who didn't purchased yet, please verify your purchase from now on and use Amelia category to rise your tickets.