Deposit Payment And Completion Feature

  • Donal
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 7 months ago #85779 by Donal
Hello,

During our last booking cycle, we weren't able to fully test and implement the deposit feature. We are now hoping to implement the deposit feature for the upcoming booking cycle. This post is partly in reference to my post at joomdonation.com/forum/events-booking-ge...ed.html?limitstart=0 I can see that a lot of progress has been made on this in the past 6 months, but there are still 1 or 2 issues outstanding.

1) Reminders are being sent in the middle of the night here in BST (5.05am) (event reminders and deposit payment reminders)
In my opinion, it would be much better if the reminders were sent out at the time of the event, e.g. if the event starts at 6pm BST on the 6th, and an event reminder/deposit reminder is set for 3 days before, then the reminders start being sent out on the 3rd at 6pm.

2) The Registrants Export is still not good enough to easily complete book-keeping. I see that the registrants table now has all of the information required, but it's just not being exported in the report.

If deposit feature is enabled, can you export 1 further column:
A) Deposit Completion Payment Transaction ID (deposit_payment_transaction_id)

After completion payment, the Due column on the registrants report should be updated to show that full payment has been made, e.g. After Deposit payment of 10: Gross Amount = 20, Deposit Amount = 10, Due Amount = 10. After completion payment: Gross Amount = 20, Deposit Amount = 10, Due Amount = 0. If this is too difficult to implement, then it is also sufficient to export another Column from the DB
B) Deposit Completion Payment Made (process_deposit_payment)

3) Deposit payment thank you message email subject doesn't correctly resolve the [REGISTRATION_ID] Tag. It currently shows as "Payment for registration #[REGISTRATION_ID] confirmation" It would also be nice if these email subjects were customisable.

4) Not so important, just nice: If global "Activate Deposit Feature" is set to yes, but a particular event is set to Deposit Amount = 0, then don't show the "Payment Type" field, as it is just confusing..

If the above items can be actioned, Event Booking would have a very good deposit feature implementation.

Regards,
D

Please Log in or Create an account to join the conversation.

  • Donal
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 7 months ago #86109 by Donal
Replied by Donal on topic Deposit Payment And Completion Feature
Hello,
the above points are important to me. I appreciate that you are busy and I would be happy to try to see if I could fix 1, 2 & 3 myself. I just need a pointer as to which files I need to be editing. If you tell me the files and I manage to fix the problems, then I will post the code back here.

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #86209 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Deposit Payment And Completion Feature
#1=> Not possible to change it because right now, Events Booking use a system plugin to trigger sending reminder emails. It will check and send reminder emails every 60 minutes (of course need to have visitors access to the site to have the plugin to run)

#2=> The code which handle the export is in components/com_eventbooking/helper/data.php, method csvExport. Please look at it, you should be able to customize to add / remove fields you want

#3=> I think it is fixed in the new version 2.10.0 which I am going to release this week. So maybe you don't have to fix it


#4=> Might be something for the future

Tuan

Please Log in or Create an account to join the conversation.

  • Donal
  • Topic Author
  • Offline
  • Elite Member
  • Elite Member
More
9 years 6 months ago #87008 by Donal
Replied by Donal on topic Deposit Payment And Completion Feature

Tuan Pham Ngoc wrote: #2=> The code which handle the export is in components/com_eventbooking/helper/data.php, method csvExport. Please look at it, you should be able to customize to add / remove fields you want


Hi Tuan,
I had modified this in the previous release, and now I needed a new mod in the current release. Could you please include in the export by default, as it is absolutely vital to running events with deposits, that there is some way of knowing that the transaction (Deposit + Completion payment) is complete.

It's a simple mod for you to make in data.php, if deposit option is activated include EB_DEPOSIT_PAYMENT_TRANSACTION_ID/deposit_payment_transaction_id as a header and a field in prepareRegistrantsExportData, just 2 lines to be added.
Code:
if ($config->activate_deposit_feature) { $headers[] = JText::_('EB_DEPOSIT_AMOUNT'); $headers[] = JText::_('EB_DUE_AMOUNT'); $headers[] = JText::_('EB_DEPOSIT_PAYMENT_TRANSACTION_ID'); $fields[] = 'deposit_amount'; $fields[] = 'due_amount'; $fields[] = 'deposit_payment_transaction_id'; }
Regards,
Donal

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc