Support

Home Forums Pre-Sales Recurring Payments + Action hooks

Recurring Payments + Action hooks

Posted: July 25, 2013 at 11:31 am


Jeremy Moseley

July 25, 2013 at 11:31 am

I plan on having the standard events, but in addition to this I would like to sell access to a “member portal” subscription for a monthly fee. It would be nice to offer this as a standalone item as well as an add-on to a standard event registration. I am hoping that this is possible with perhaps the multiple events registration add-on. My goal is to have a single checkout rather that EE + WooCommerce, S2 Members or similar.

So couple questions…

Is it possible to add an ongoing event such as a “member portal” with a recurring payment?

Does Event Espresso have an action hook available on purchase that I would be able to update the user meta table?


Josh

  • Support Staff

July 25, 2013 at 12:16 pm

Hi Jeremy,

Recurring payments have been looked into, specifically the WePay gateway was added since WePay supports recurring payments. However, at this time Event Espresso doesn’t have support for recurring payments.

There are some action hooks that tie into the registration and payment process. This might be a bit early, but the action_hook_espresso_save_attendee_data fires when the attendee’s registration gets saved. Here’s an example of how that hook can be used to create a new WP user account when someone registers for an event:

https://gist.github.com/sethshoultes/5574217

There are a few other hooks that may be added to that fire later too:

action_hook_espresso_track_successful_sale

action_hook_espresso_transaction

action_hook_espresso_email_after_payment

The support post ‘Recurring Payments + Action hooks’ 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