Please enable JavaScript to view this site.

EventPro Software User Manual

For any online payment gateway not directly supported, you need to set up a custom payment submission that posts all the correct fields to the gateway.

NOTE: This is a legacy payment gateway, which you can continue to use, but please note that any changes made to the gateway by the service provider could disrupt your online payment system. The new gateway integration platform is designed to avoid these disruptions and seamlessly update as required.

 

1.Custom Payment Form: This is the payment form used when accepting payments for events, invoices, and/or registrations.

Custom Payment Gateway Definition

Custom Payment Gateway Definition

a.When you set up your account with an online payment gateway provider, you should receive a snippet of HTML code that you are instructed to put on your website. Copy and paste that code into this memo field. You may then need to adjust some of the text to ensure that values are properly passed to the payment gateway.

b.Every payment gateway takes their own specific values, but a sample code snippet for a payment submission looks something like this:

 

<form name="payment" action="https://www.samplegateway.com/scripts/payment/payment.asp" method="POST">

 <input type="hidden" name="merchant_id" value="123456789">

 <input type="hidden" name="trnAmount" value=$Contact.PaymentAmount>

 <input type="hidden" name="ref1" value="$Contact.PaymentCustomData">

 <input type="hidden" name="ordName" value="$Contact.Name">

 <input type="hidden" name="ordEmailAddress" value="$Contact.PrimaryEmail">

 <input type="hidden" name="ordPhoneNumber" value="$Contact.PrimaryPhone">

 <input type="hidden" name="ordAddress1" value="$Contact.PrimaryAddress.AddressLine1">

 <input type="hidden" name="ordAddress2" value="$Contact.PrimaryAddress.AddressLine2">

 <input type="hidden" name="ordCity" value="$Contact.PrimaryAddress.City.ItemCode">

 <input type="hidden" name="ordProvince" value="$Contact.PrimaryAddress.State.ItemCode">

 <input type="hidden" name="ordPostalCode" value="$Contact.PrimaryAddress.PostalCode">

 <input type="hidden" name="approvedPage" value="https://connect.eventpro.net/DefaultInstall/Payments/CustomSuccess.asp">

 <input type="hidden" name="declinedPage" value="https://connect.eventpro.net/DefaultInstall/Payments/CustomFailure.asp">

</form>

 

c.The input fields will depend on the payment gateway to which you will be posting this form.

d.The reference field needs to be a field that is passed back from the payment gateway, and must have PaymentCustomData in it.

e.All the values can pull data from all fields in the Contact or Event tables using the format in the sample above, i.e. $Contact.Field or $Event.Field.

f.The "Contact" will be the...

i.Attendee Contact on Registration payments,

ii.Event Contact on Event payments, and

iii.Invoice Contact on Invoice payments.

g.Both tables also have fields that pull special information, namely PaymentItemName, PaymentItemNumber, PaymentAmount, and PaymentCustomData.

h.The "approved" and "declined" pages are the pages that the User will be returned to after leaving the payment gateway. The approved/declined pages are described in the sections below, which explain how to set up success and failure responses.

2.Success and Failure Responses:  Some payment gateway providers will post back a Success or Failure response to a given address.  EPConnect is capable of handling these responses if set up correctly. See examples of responses below:

When you have completed the payment settings for this Payment Gateway Definition, refer back to the topic Define Legacy Payment Gateways to save your changes.

© 2023 EventPro Software, a wholly owned subsidiary of Profit Systems Inc. All Rights Reserved.