Support

Home Forums Event Espresso Premium Payment Gateway per Event

Payment Gateway per Event

Posted: September 11, 2014 at 6:52 am


krobertson

September 11, 2014 at 6:52 am

I have seen this as a feature request .. any news on when this may actually happen?

I have a current client that requires this ASAP and need to find a solution even if it requires some customization.

I need to be able to create two different Authorize.net payment gateways and assign them on an event basis. The client has two locations each with their own merchant account.

Any ideas?


Josh

  • Support Staff

September 11, 2014 at 7:13 am

Hi there,

Are you using EE3 or EE4? Currently EE3 allows for this customization.


krobertson

September 12, 2014 at 6:35 am

Hello Josh …

We are using EE3. I have seen where you can do it with Paypal but we need this functionality with authorize.net. Can you assist me with this?


Sidney Harrell

September 12, 2014 at 9:23 am

Are you using authnet AIM or SIM? The AIM gateway is in plugins/event-espresso/gateways/aim and the SIM gateway is in gateways/authnet. Before you make any modifications, you’ll want to copy the gateway that you are working on from plugins/event-espresso/gateways to uploads/espresso/gateways. That way your changes will be preserved the next time you update.
You’ll basically need to duplicate what you’ll see in the gateways/paypal/paypal_vars.php on lines 13-18. There it checks the event meta for a field “paypal_email”. For authnet, you’ll need to pull 2 or 3 fields from the event meta, the login ID, the Transaction Key, and possibly the MD5 Hash Value, depending on whether you are using SIM and have it set up to use the hash value. If SIM, the relevent file is authnet_vars.php, if AIM, then it’s aim_ipn.php (cause one is off-site, the other on-site).


krobertson

September 12, 2014 at 11:41 am

Thanks for the info! Great to know it is possible!

Do you have copies of the modified code available?

Is there anyone you recommend that would be able to do this for us? We are slammed right now …


Sidney Harrell

September 12, 2014 at 11:46 am

We could do it for you for a couple of support tokens. Follow this link and get two tokens. Then there is a token redemption form where you’ll need to provide wp-admin and ftp access. (or we can just do it locally and email you the folder, but if there are any issues it would be smoother for us to have access). Are you using authnet AIM (the on-site payment form) or authnet SIM (the off-site payment gateway)?


krobertson

September 18, 2014 at 6:31 am

Awesome … one more question ..

The client wants to have a little more info sent to Authorize.net for use when they download the transactions into their accounting system.

Would you also be able to add a few fields that would be sent to Authorize.net during the transaction?


Lorenzo Orlando Caum

  • Support Staff

September 18, 2014 at 11:09 am

Hi,

Could you let us know if you are using Authorizenet AIM (onsite and registrant never leaves your site) or Authorizet SIM (offsite on secure Authorizenet server)?

They use different APIs so we’ll need this information to let you know if the additional request is possible.


Lorenzo

  • This reply was modified 9 years, 7 months ago by  Sidney Harrell. Reason: typo


krobertson

September 19, 2014 at 8:24 am

Sorry .. we are actually using the AIM but .. their processor is not authorize.net … we only have to change the URL it posts to in the php file. They say they are fully compatible with authorize.net though …


Sidney Harrell

September 23, 2014 at 9:19 am

Is it up and running transactions now? If it is, and you changed the URL, did you copy the aim folder from plugins/event-espresso/gateways to uploads/gateways first?
We can add some extra fields in, that shouldn’t be a problem.


krobertson

September 24, 2014 at 12:25 pm

That’s great to hear!

Yes .. it’s been running for a few years … no, I did not copy the file … I just modified the core file. I know .. that’s not the correct way …

I need to upgrade to the latest version 3 first … then I will buy a couple support tokens to start the ball rolling.

Thanks!

The support post ‘Payment Gateway per Event’ 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