• Hello,
    I just downloaded and set up the latest version of the plugin and synced it with my Google Calendar.
    When I am online, I select a date and time and click on the ‘Book now’ button, I am not redirected anywhere and remain on the same page with the circles under ‘Order’ that keep moving as if they are still loading something.
    In the backend, I see the reservations awaiting for approval and if I approve them they change status but I get an error alert: ‘500: error’.

    Why? I can’t understand what generates it.

    Online the page continues to load, as if the booking had not been successful. On my Google Calendar I do not see the reservations received and approved and no notification email is sent to the administrator address. Indeed, when I try to send a testing email it always gives me the error ‘500: error’.

    Why is all this happening? What could I have done wrong?

    Plus I have one last question. In the best scenario, I can expect reservations to appear in my Google Calendar, but I can’t expect that the plugin will detect my availability from the Google Calendar and create bookable slots online. Is that right?

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Pinpoint World Support

    (@pinpointworld)

    Hi,

    The issue can be for multiple reasons, we would need to see the backend errors to fix it. Could you write to us via de contact form here: https://pinpoint.world/contact and provide more information?
    If the intervals that are booked in the Google Calendar coincide with the available intervals in the Pinpoint Booking System the system will block does days. But will not create availability from Google Calendar.

    Best Regards,
    Support Team

    Thread Starter valci1

    (@valci1)

    Hi,

    I’m working on this on localhost, the website isn’t online yet. Could this be the problem?

    What do you mean with ‘If the intervals that are booked in the Google Calendar coincide with the available intervals in the Pinpoint Booking System’? In Google Calendar I have created a new calendar and it is empty (as I understood your tutorials suggested).
    Is it wrong?

    Thanks

    Plugin Support Pinpoint World Support

    (@pinpointworld)

    Hi,

    We are not sure if that would be the problem. But you can enable WP_DEBUG and WP_DEBUG_LOG so we can see the error. For more info here: https://www.ads-software.com/support/article/debugging-in-wordpress/

    Regarding the Google calendar sync, it’s ok for the calendar to be empty. But for example, if you add an event in the Google Calendar from 9:00-10:00 in one day and you have and interval 9:00-10:00 available in the Pinpoint Booking System calendar, the hour interval will be blocked.

    Thread Starter valci1

    (@valci1)

    Hi,
    thank you for your answer.

    With debugging on I get two errors:
    1 Fatal error: Uncaught InvalidArgumentException: Redirect URI must be absolute
    2 Notice: ob_end_flush(): failed to send buffer of zlib output compression
    Could you please help me with these?

    I understood what the calendar should do and it’s what i need, but it doesn’t work for me. There’s cache? Or maybe I’ve done something wrong setting up the api.

    Thank you

    • This reply was modified 3 years, 10 months ago by valci1.
    Plugin Support Pinpoint World Support

    (@pinpointworld)

    Hi,

    It seems that the Fatal error is the issue and from the looks of it it’s an error from the Google Sync. Could you tell how the token URI looks like and how the URI from the project looks like?

    Best Regards,
    Support Team

    Thread Starter valci1

    (@valci1)

    Yes,
    project id antonella-brogi
    token-uri AIzaSyAYIupfTfiRlJ7KcEFBAblO6rHQ_6jUaQU
    I copied them from my google apis dashboard. I really don’t understand what is going on.
    Thanks

    Plugin Support Pinpoint World Support

    (@pinpointworld)

    Hi,

    So the Google Sync needs to following parameters to work.
    Client ID
    Client Secret
    Project ID
    Calendar ID
    Token URI
    The first 3 (Client ID, Client Secret, Project ID) you get them from the console.developers.google.com, credentials page.
    The Calendar ID is you Google Calendar id you want to sync with.
    The Token URI is the link where the Pinpoint Booking Calendar is located for example https://yourdomain.com/my-booking-page/ and it has to be also inserted in the “Authorized redirect URIs” in the credentials page.
    We did have problems syncing on localhost as we could add the domains in the Google Project. We recommend that you try syncing once the website is on a server.
    Hope this makes things a little more clear.

    Best Regards,
    Support Team

    Thread Starter valci1

    (@valci1)

    Thank you very much!

    I will test it when the website is online, following your indication.

    Thank you!

    Thread Starter valci1

    (@valci1)

    Hi,
    I am testing your plugin online, I entered all the data correctly and I enabled synchronization with my Google Calendar.
    I entered an event, but my Pinpoint calendar still marks the slot as available.
    I can not understand. Could it be a cache problem? I tried to empty it but nothing has changed.
    Thanks

    Plugin Support Pinpoint World Support

    (@pinpointworld)

    Hi,

    Is it possible to write us via the contact page here: https://pinpoint.world/contact with a link to check?

    Best Regards,
    Support Team

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Google Calendar and errors with approvation and tes emails’ is closed to new replies.