Hi there,
For some strange reason <?= $add_to_google_url ?> remains empty in the /book_success/ page after booking an appointment.
<a href="" id="add-to-google-calendar" class="btn btn-primary">
<i class="fas fa-plus"></i>
</a>
Synchronisation with Google Calendar works fine.
Checks done; without result:
- Settings are OK
- GOOGLE_SYNC_FEATURE is set to TRUE.
- GOOGLE_PRODUCT_NAME n has the same name as the Google Cloud Console project.
- GOOGLE_CLIENT_ID has the client ID from the OAuth2 credentials.
- GOOGLE_CLIENT_SECRET has the client secret from the OAuth2 credentials.
- GOOGLE_API_KEY has the correct API key.
- Tried these changes inside .htaccess without any result:
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(.*)$ index.php?/$1 [L]
- RewriteCond %{REQUEST_FILENAME} !-f
- #RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule (.*) /index.php/$1 [L]
- Without, same result
- Reuploaded the whole /google map under /vendor to be sure
- Changed the Cache Busting Token
- Deactivated GZIP
- ...
I'm clueless really...
Any ideas from the brilliant minds who slept a lot more than me hopefully ;-)
Kind regards,
Reinout