- Posts: 32
- Thank you received: 0
- Community Forum
- Appointment Booking Pro - Retired, no longer for sale or supported.
- ABPro 4.0.x
- Do I understand message centre correct?
Do I understand message centre correct?
- Kenneth
- Topic Author
- Offline
- Junior Boarder
Less
More
8 years 1 month ago #21323
by Kenneth
Do I understand message centre correct? was created by Kenneth
Hi,
I'm setting up a site where we want two options for payment. One is asap with a payment processor and the other is to just submit the order and to pay later (handled manually).
We want one mail to be sent to the people paying later, and one to be sent to the people that have paid.
Will this work:
- "Booking Complete (to Customer):" - will go to people paying asap
- "Booking In-Progress (to Customer):" - will go to people paying later
Will this work? Or will the people paying later receive "Booking Complete (to Customer):" also, when we complete the payment?
I'm setting up a site where we want two options for payment. One is asap with a payment processor and the other is to just submit the order and to pay later (handled manually).
We want one mail to be sent to the people paying later, and one to be sent to the people that have paid.
Will this work:
- "Booking Complete (to Customer):" - will go to people paying asap
- "Booking In-Progress (to Customer):" - will go to people paying later
Will this work? Or will the people paying later receive "Booking Complete (to Customer):" also, when we complete the payment?
Please Log in to join the conversation.
- Rob
- Offline
- Administrator
Less
More
- Posts: 4785
- Karma: 103
- Thank you received: 673
8 years 1 month ago #21324
by Rob
A different message for paid vs payment due is a good idea and I will add it to the wish list.
Replied by Rob on topic Do I understand message centre correct?
Sorry, ABPro has no facility to offer different messages based on payment method.We want one mail to be sent to the people paying later, and one to be sent to the people that have paid.
- Booking Complete = booking is set to status 'accepted' and the timeslot locked for the customer.
- Booking In-Progress = booking is set to status 'new' and a booking 'request' is set to admin so they can accept or decline it.
A different message for paid vs payment due is a good idea and I will add it to the wish list.
Please Log in to join the conversation.
- Kenneth
- Topic Author
- Offline
- Junior Boarder
Less
More
- Posts: 32
- Thank you received: 0
8 years 1 month ago #21326
by Kenneth
Replied by Kenneth on topic Do I understand message centre correct?
Hi,
If possible; this is something I would be willing to pay for to push it from wish list over to get it developed?
If possible; this is something I would be willing to pay for to push it from wish list over to get it developed?
Please Log in to join the conversation.
- Rob
- Offline
- Administrator
Less
More
- Posts: 4785
- Karma: 103
- Thank you received: 673
8 years 1 month ago - 8 years 1 month ago #21327
by Rob
Replied by Rob on topic Do I understand message centre correct?
Adding a new message type would be a big (expensive) task involving database changes, admin screen changes and multiple code changes.
Another option for your specific requirement may be a minor code change to re-purpose an existing message type.
The work flow for processing a new booking can follow two paths, depending of if the customer is being sent to PayPal to pay, or not.
The 'pay now' path (PayPal) is fine.
The 'pay later' path could be changed to send the In-Progress message rather than the Confirmed message. This assumes you are running with auto-accept enabled so the in-progress message is not required and can be used for a payment-due confirmation.
Edit file:
\components\com_rsappt_pro3\controllers\process_booking_request.php
Around line 417 look for:
Change the 'accepted' part of the IF condition to also send in_progress messages.
Now, when you enable a Non-Payment Booking button (pay later), and the customer selects that, the booking will go in as payment due, the customer will not be sent to PayPal, and they will receive the In-Progress message rather than the Confirmation. You can compose your in-progress message to tell them to bring payment when they come for their appointment.
Note: This is not a tested solution, only a suggestion.
Another option for your specific requirement may be a minor code change to re-purpose an existing message type.
The work flow for processing a new booking can follow two paths, depending of if the customer is being sent to PayPal to pay, or not.
The 'pay now' path (PayPal) is fine.
The 'pay later' path could be changed to send the In-Progress message rather than the Confirmed message. This assumes you are running with auto-accept enabled so the in-progress message is not required and can be used for a payment-due confirmation.
Edit file:
\components\com_rsappt_pro3\controllers\process_booking_request.php
Around line 417 look for:
if($request_status == "accepted"){
$temp = buildMessage(strval($last_id->last_id), "confirmation", "No", "", "No", "Yes");
$message .= $temp[0];
if($temp[1] != ""){
$message_attachment = JPATH_BASE.$temp[1];
}
$message_admin .= buildMessage(strval($last_id->last_id), "confirmation_admin", "No");
} else {
$message .= buildMessage(strval($last_id->last_id), "in_progress", "No");
$message_admin .= buildMessage(strval($last_id->last_id), "in_progress_admin", "No");
//$message_admin = $message;
}
Change the 'accepted' part of the IF condition to also send in_progress messages.
if($request_status == "accepted"){
$temp = buildMessage(strval($last_id->last_id), "in_progress", "No", "", "No", "Yes");
$message .= $temp[0];
if($temp[1] != ""){
$message_attachment = JPATH_BASE.$temp[1];
}
$message_admin .= buildMessage(strval($last_id->last_id), "in_progress_admin", "No");
} else {
$message .= buildMessage(strval($last_id->last_id), "in_progress", "No");
$message_admin .= buildMessage(strval($last_id->last_id), "in_progress_admin", "No");
//$message_admin = $message;
}
Now, when you enable a Non-Payment Booking button (pay later), and the customer selects that, the booking will go in as payment due, the customer will not be sent to PayPal, and they will receive the In-Progress message rather than the Confirmation. You can compose your in-progress message to tell them to bring payment when they come for their appointment.
Note: This is not a tested solution, only a suggestion.
Last edit: 8 years 1 month ago by Rob.
Please Log in to join the conversation.
- Kenneth
- Topic Author
- Offline
- Junior Boarder
Less
More
- Posts: 32
- Thank you received: 0
8 years 1 month ago #21332
by Kenneth
Replied by Kenneth on topic Do I understand message centre correct?
Nice suggestion. Is this something I could pay you to do for me?
Please Log in to join the conversation.
- Rob
- Offline
- Administrator
Less
More
- Posts: 4785
- Karma: 103
- Thank you received: 673
8 years 1 month ago #21333
by Rob
Replied by Rob on topic Do I understand message centre correct?
Sure, send me an email (This email address is being protected from spambots. You need JavaScript enabled to view it.) and we can arrange it.
Please Log in to join the conversation.
- Community Forum
- Appointment Booking Pro - Retired, no longer for sale or supported.
- ABPro 4.0.x
- Do I understand message centre correct?
Time to create page: 0.159 seconds