In my Amelia configuration, once people schedule an appointment, I set those appointments to approved and add them (automatically through google calendar integration) to my calendar. For the most part this is fine, because if people pay with either paypal or stripe, they pay right there on the checkout so I now that those appointments on my calendar are paid.
But, as we talked before in another ticket, there are some payment methods I have in my woocommerce website that are not direct - meaning people receive a code that they can use to pay the appointment at the ATM. They choose that payment on checkout and receive the code. Due to the nature of this method, these appointments go to my calendar as approved (because they went thorught the checkout) but I'm not entirely sure those appointments are paid if I don't confirm it on the woocommerce orders.
The problem: it happened sometimes already that, once the appointment comes, people have not paid, or thought that if they didn't paid, the appointment was not scheduled.
My question: Can i make some configuration (and do you have any suggestion) to automatically send an email to those clients that use those other payments methods and didn't pay? Say, with 48h from the appointment time?
We will modify the WooCommerce integration, so you can configure how different statuses in WooCommerce are saved in Amelia. This will be included in the next update, until then, we will try to help you. Could you tell me please, what's the status of those appointments in WooCommerce?
Amelia triggers the appointment creation on statuses "Completed", "Processing" and "On Hold". So, when you change the payment status to one of these, an appointment will be created.
To stop Amelia from creating an appointment for "Processing" or "On Hold" statuses, you can simply comment those lines of code in ../wp-content/plugins/ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php
The thing is...I don't want that to happen. I want the creation of the appointment if the status is "On Hold". Otherwise I could have a problem where two persons schedule for the same time. What I really wanted is, for those people with "On Hold" status, once it gets to two days from the scheduled time they get an email reminding them to pay, or at least if that's not automatically, I receive some message saying that that appointmnet is in two days and is not paid.
If you want to have only one booking per employee for the same service you can connect all employees to the same Google calendar so one of the time slots has been booked it will no longer be available for booking for any of the employees.
2) Yes, I suppose it's possible to configure this with cron:
cron is a Linux utility which schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks like in our plugin for notifications.
Depending on the server, there are different configurations for it, which you can contact your hosting provider about, or you can check out one of the solutions for it on this link.
GET 'https://yourdomain.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send' > /dev/null
If that doesn't help you, my suggestion is to install the WP Crontrol plugin. You can find more info about it, and detailed instructions on how to set it up in our FAQ section.
If you have any more issues or questions feel free to ask, we will gladly help.
Hello,
In my Amelia configuration, once people schedule an appointment, I set those appointments to approved and add them (automatically through google calendar integration) to my calendar. For the most part this is fine, because if people pay with either paypal or stripe, they pay right there on the checkout so I now that those appointments on my calendar are paid.
But, as we talked before in another ticket, there are some payment methods I have in my woocommerce website that are not direct - meaning people receive a code that they can use to pay the appointment at the ATM. They choose that payment on checkout and receive the code. Due to the nature of this method, these appointments go to my calendar as approved (because they went thorught the checkout) but I'm not entirely sure those appointments are paid if I don't confirm it on the woocommerce orders.
The problem: it happened sometimes already that, once the appointment comes, people have not paid, or thought that if they didn't paid, the appointment was not scheduled.
My question: Can i make some configuration (and do you have any suggestion) to automatically send an email to those clients that use those other payments methods and didn't pay? Say, with 48h from the appointment time?
Thanks in advance
Hello Maria,
Thank you for reaching out to us.
We will modify the WooCommerce integration, so you can configure how different statuses in WooCommerce are saved in Amelia. This will be included in the next update, until then, we will try to help you. Could you tell me please, what's the status of those appointments in WooCommerce?
Have a nice day!
Kind Regards,
Stanislav Snagovskiy
[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
You can try wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Stanislav, those are great news!
Here is the status of a appointment not paid. In english is like "Awaiting payment confirmation" - this is a default state in woocommerce.
Hello Andre,
Thank you for reaching out to us.
Amelia triggers the appointment creation on statuses "Completed", "Processing" and "On Hold". So, when you change the payment status to one of these, an appointment will be created.
To stop Amelia from creating an appointment for "Processing" or "On Hold" statuses, you can simply comment those lines of code in ../wp-content/plugins/ameliabooking/src/Infrastructure/WP/Integrations/WooCommerce/WooCommerceService.php
I hope that helps.
If you need some further assistance, please don't hesitate to contact us.
Have a nice day!
Kind Regards,
Stanislav Snagovskiy
[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
You can try wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Thank you Stanislav
The thing is...I don't want that to happen. I want the creation of the appointment if the status is "On Hold". Otherwise I could have a problem where two persons schedule for the same time. What I really wanted is, for those people with "On Hold" status, once it gets to two days from the scheduled time they get an email reminding them to pay, or at least if that's not automatically, I receive some message saying that that appointmnet is in two days and is not paid.
Is this possible?
You are welcome Maria,
I hope you're doing well.
1) Then don't comment on this line of code:
If you want to have only one booking per employee for the same service you can connect all employees to the same Google calendar so one of the time slots has been booked it will no longer be available for booking for any of the employees.
https://wpamelia.com/configuring-google-calendar/
2) Yes, I suppose it's possible to configure this with cron:
cron is a Linux utility which schedules a command or script on your server to run automatically at a specified time and date. A cron job is the scheduled task itself. Cron jobs can be very useful to automate repetitive tasks like in our plugin for notifications.
Depending on the server, there are different configurations for it, which you can contact your hosting provider about, or you can check out one of the solutions for it on this link.
Also, you can try this:
*/15 * * * * wget -q -O - "https://www.yourwebsite.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send"
Or this:
*/15 * * * * /usr/local/bin/php ~/public_html/wp-cron.php --action='wpamelia_api' --call='/notifications/scheduled/send'
Or this:
GET 'https://yourdomain.com/wp-admin/admin-ajax.php?action=wpamelia_api&call=/notifications/scheduled/send' > /dev/null
If that doesn't help you, my suggestion is to install the WP Crontrol plugin. You can find more info about it, and detailed instructions on how to set it up in our FAQ section.
If you have any more issues or questions feel free to ask, we will gladly help.
Have a nice day!
Kind Regards,
Stanislav Snagovskiy
[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
You can try wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables