We just got the feedback from our colleagues and they have told us that you can do this
use AmeliaBooking\Domain\Factory\Booking\Appointment\AppointmentFactory; // $appointmentData - an array with all the booking and payment data // for all the possible fields check Appointment.php class $reservationObject = AppointmentFactory::create($appointmentData); $container = require AMELIA_PATH . '/src/Infrastructure/ContainerConfig/container.php'; // adding all the fields in the service and provider object from the serviceId and providerId $bookingApplicationService = $container->get('application.booking.booking.service'); $bookingApplicationService->setReservationEntities($reservationObject); // adding to google calendar $googleCalendarService = $container->get('infrastructure.google.calendar.service'); $googleCalendarService->handleEvent($reservationObject, 'bookingAdded')
Hope this helps.
If you already have our licenses, please write to us in the Amelia category. The reason we ask you to do this is that there has been a lot of abuse.
Because if the license has expired and the subscription has not been renewed, these users do not have access to our support, the same applies to licenses that are purchased through Envato.
Licenses purchased through Envato have access to our support for only 6 months when that time period has to elapse they have to contract Envato to extend the time for support.
We hope you understand.
If you have any more questions please open another ticket and we will gladly help you there.
No, that's not possible, unfortunately. In that case, you can open a separate ticket for each question and we can forward your question to them.
Our developers are very busy working on new features and on complete redesign of Amelia and on the fixing of minor bugs and they are not working on support. We can forward your question to them and they will answer you as soon as they have the time.
You are most welcome, and we are glad that we were able to help you. If you have any more questions please open another ticket and we will gladly help you there.
Our developers are very busy working on new features and on the complete redesign of Amelia and on the fixing of minor bugs. We can forward your question to them and they will answer you as soon as they have the time.
The customer object is inside booking[0]['customer']. It will be filled out in the setReservationEntities function, which is in the code i previously sent, based on the customerId. Or you can add the customer object directly, for example:
Hello !
Currently, I'm creating the appointments programmatically in PHP by population the data into the SQL tables (wp_amelia_appointments table)
I would like to know how to generate the googleCalendarEventId data, is there a PHP function or event that I can use ?
Thanks for your help !
Hello Branquet,
We have forwarded your ticket to our developer and as soon as we get some feedback from them we will contact you immediately.
We wish you all the best.
Have a nice day.
Kind Regards,
Marko Davidovic
[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
Thanks for your help !
I would like to use your PHP functions rather than rewrite what already exists
Hello Branquet,
You are most welcome. As soon as our Developer sends us some feedback we will reply to you in this ticket.
We wish you all the best.
Have a nice day.
Kind Regards,
Marko Davidovic
[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
Hi !
Some news about your developer feedback ?
Thanks !
Hello Branquet,
We just got the feedback from our colleagues and they have told us that you can do this
Hope this helps.
If you already have our licenses, please write to us in the Amelia category. The reason we ask you to do this is that there has been a lot of abuse.
Because if the license has expired and the subscription has not been renewed, these users do not have access to our support, the same applies to licenses that are purchased through Envato.
Licenses purchased through Envato have access to our support for only 6 months when that time period has to elapse they have to contract Envato to extend the time for support.
We hope you understand.
If you have any more questions please open another ticket and we will gladly help you there.
We wish you all the best.
Have a lovely weekend.
Kind Regards,
Marko Davidovic
[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
Hello !
Thanks for the feedback !
I understant and I have a licence, is this possible to discuss with one of your delevoper inside a discussion ?
If I want more explanations about the code you give for example ?
Thanks !
Hello Branquet,
No, that's not possible, unfortunately. In that case, you can open a separate ticket for each question and we can forward your question to them.
Our developers are very busy working on new features and on complete redesign of Amelia and on the fixing of minor bugs and they are not working on support. We can forward your question to them and they will answer you as soon as they have the time.
Kind Regards,
Marko Davidovic
[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
Thats 'ok !
You can thank your developer, the code works fine you saved my day !
Hello Branquet,
You are most welcome, and we are glad that we were able to help you. If you have any more questions please open another ticket and we will gladly help you there.
We wish you all the best.
Have a lovely weekend.
Kind Regards,
Marko Davidovic
[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
Hi !
Can I have some help with the code your developer send me ? Customer name does not appear in the new created google calendar event.
What type of data do I need to insert inside $appointmentData array ?
Hello again Branquet,
Our developers are very busy working on new features and on the complete redesign of Amelia and on the fixing of minor bugs. We can forward your question to them and they will answer you as soon as they have the time.
We wish you all the best.
Have a nice day.
Kind Regards,
Marko Davidovic
[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
I understand thanks for the reply.
I attached a screenshot of the problem, the name of the customer is missing with the current PHP code
Thanks !!
Hello again Branquet,
Thank you for the additional information. As soon as our Developer sends us some feedback we will reply to you in this ticket.
We wish you all the best.
Have a nice day.
Kind Regards,
Marko Davidovic
[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
Thanks very much,
I'm waiting for your feedback
Hello again Branquet,
You are most welcome. As soon as our Developer sends us some feedback we will contact you.
Have a nice day.
Kind Regards,
Marko Davidovic
[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
Hello again Branquet,
We just got the feedback from our colleagues and they have sent some examples
Example of $appointmntData array
The customer object is inside booking[0]['customer']. It will be filled out in the setReservationEntities function, which is in the code i previously sent, based on the customerId. Or you can add the customer object directly, for example:
Hope this helps.
Kind Regards,
Marko Davidovic
[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