Support

Home Forums Event Espresso Premium Registration Pending Payment email automation?

Registration Pending Payment email automation?

Posted: May 22, 2020 at 1:14 pm


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.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 2 months, 2 weeks ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!