Auto reminder for pending payment status ?

  • Leon Treff
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 5 months ago #88752 by Leon Treff
Auto reminder for pending payment status ? was created by Leon Treff
Hello,
on creation of an event, I can activate the auto reminder function such that all registrants will be send an email a few days before the event will take place. Of cause, I can decide myself about the text to send in the reminder email, but this message will be send to all the registrants of the event.
How could a reminder message be send automatically only to those registrants that have not yet paid until a given date, i. e. those with a pending payment status?

Thank you for any hint.

Sincerely
Léon

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

More
9 years 5 months ago #88772 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Auto reminder for pending payment status ?
The extension is designed to send reminder email to all registrants of the event. If you want to send to pending registrants only, you will need to edit code. The instructions below is applied to latest version, not sure what version you are using but it should be the same

1. Open the file components/com_eventbooking/helper/mail.php

2. Find the method sendReminder

3. Inside that method, you will see code like this

->where('b.published = 1')

4. Change it to:

->where('b.published = 0')

And it should work as expected

Tuan

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

  • Leon Treff
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
9 years 5 months ago #88785 by Leon Treff
Replied by Leon Treff on topic Auto reminder for pending payment status ?
Hello,
oh many thanks. I can easily implement that change. I am using the latest version.

Sincerely,
Léon

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

Moderators: Tuan Pham Ngoc