Support

Home Forums Event Espresso Premium Different Authorize.net API accounts for different events

Different Authorize.net API accounts for different events

Posted: August 17, 2020 at 11:16 am

Viewing 1 reply thread


office@lmgnow.com

August 17, 2020 at 11:16 am

I currently use Authorize.net AIM as my payment method.

I have a specific special event that I need to use a different Authorize.net account (different API Login ID and Transaction Key). I don’t want to set up a whole new site just for this one event.

is there a filter I can hook into to change the API credentials used. (prob just hard code the new API info in a function)

I was thinking something along the lines of:

add_filter( ‘event_espresso_transaction’, ‘my_custom_credentials’ );
function my_custom_credentials( $transaction_details ) {
if ( 123 == $transaction_details[‘event_id’] ) {
$transaction_details[‘api_login_id’] = ‘xxxxxxxxxxx’;
$transaction_details[‘transaction_key’] = ‘xxxxxxxxxxxxxxxxxx’;
}

return $transaction_details;
}

Does such a filter exist?


Tony

  • Support Staff

August 17, 2020 at 2:00 pm

Hi there,

No, there’s no filter for the above but you can do it using the Payment Methods Pro add-on which creates multiple ‘instances’ of a payment method and allows you to set specific events to use specific payment methods.

Viewing 1 reply thread

The support post ‘Different Authorize.net API accounts for different events’ 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