Support

Home Forums Event Espresso Premium Registration Pending Payment email automation?

Registration Pending Payment email automation?

Posted: May 22, 2020 at 1:14 pm

Viewing 1 reply thread


tyler

May 22, 2020 at 1:14 pm

Hello,

I’ve seen a few questions about this in the forum and understand that the registration pending payment email isn’t supposed to go out when someone abandons their registration on the credit card payment page.

Our client only allows credit card payment and would like people who register but don’t complete payment to get the registration pending payment after a set amount of time (eg, 10 minutes or an hour).

Is there anyway to make that happen or must they continue to manually trigger these one by one?

Thank you!


Tony

  • Support Staff

May 26, 2020 at 5:40 am

Hi Tyler,

As you mentioned, Event Espresso will not trigger the Pending Payment message for the above, however, there is a hook you can use to do whatever you want in those situations:

AHEE__EE_Payment_Processor__update_txn_based_on_payment__no_payment_made

That will fire when the session expires (by default 1 hour after the ticket is submitted) and you’ll need a custom function to check over the transaction and then trigger the pending payment email. Stepping through the process of triggering messages isn’t something we can work through on the forums but the above should help get you started.

If you take a look in \event-espresso-core-reg\modules\messages\EED_Messages.module.php you’ll see how that hooks into the hook fired just after the above to process default messages.

Viewing 1 reply thread

The support post ‘Registration Pending Payment email automation?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso