Support

Home Forums Event Espresso Premium Moneris Payments Getaway Setup

Moneris Payments Getaway Setup

Posted: January 10, 2014 at 12:02 pm


modular

January 10, 2014 at 12:02 pm

Payments accepted but don’t show as paid in Event Espresso and no confirmation Email sent
Here is Some screen Shoots and Status report:
https://copy.com/Fi1lFsV6LyPQ
https://copy.com/6M8EjtMSRkK9
https://copy.com/TNFTCgIEllNQ
https://copy.com/jtTB7cx6be8Q
https://copy.com/Hg9iyhNXdSce
Thanks

<code>
=============================================================================================
 Versions
=============================================================================================
Event Espresso version: 	3.1.36.2.P
WordPress version: 	WP 3.8
Installed plugins: 	Event Espresso - Social Coupons by Seth Shoultes version 1.5.4.p, Event Espresso - MailChimp Integration by  version 1.2, Event Espresso - Members Addon by Event Espresso version 1.9.8.p, Event Espresso - Multi Event Registration by Seth Shoultes version 1.0.5.p, Event Espresso - Permissions by Event Espresso version 1.5.5.p, Event Espresso - Recurring Events by Event Espresso version 1.1.8.p, Event Espresso - Social Media by Event Espresso version 1.1.7.p, Event Espresso - Ticketing by Event Espresso version 2.1.p, Event Espresso by Event Espresso version 3.1.36.2.P, TinyMCE Advanced by Andrew Ozz version 3.5.9.1, WordPress Importer by wordpressdotorg version 0.6.1, WP Clone by WP Academy by WP Academy version 2.1.6

=============================================================================================
 Settings
=============================================================================================
Home URL: 	http://mocsummit.com
Site URL: 	http://mocsummit.com

=============================================================================================
 Registration Pages
=============================================================================================
Event Page: 	#498 - http://mocsummit.com/event-registration/
Payment/Thank You Page: 	#499 - http://mocsummit.com/thank-you/
Transaction Notification Page: 	#501 - http://mocsummit.com/transactions/
Cancel Return Page: 	#500 - http://mocsummit.com/registration-cancelled/

=============================================================================================
 Server Environment
=============================================================================================
PHP Version: 	5.3.24
Server Software: 	Apache
WP Max Upload Size: 	32 MB
Server upload_max_filesize: 	32 MB
Server post_max_size: 	33 MB
WP Memory Limit: 	40 MB - We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP
WP Debug Mode: 	No
Espresso Logging: 	Log directory is writable.

=============================================================================================
 PHP Sessions
=============================================================================================
Session save path: 	 does not exist - contact your host to resolve the problem.
Session name: 	PHPSESSID

=============================================================================================
 Remote Posting/IPN
=============================================================================================
fsockopen/cURL: 	
                    	
	                    	Your server has fsockopen and cURL enabled.                    	
                    
</code>


Josh

  • Support Staff

January 10, 2014 at 5:22 pm

Hi there,

If you look in /wp-content/uploads/espresso/logs there should be a moneris notification log, and there might be some errors to point the way forward. Can you check?


modular

January 13, 2014 at 11:42 am

Hello Josh,
Here is the log I got after changing Credit Card information
the payment accepted by Moneris but I got the attached screen after the payment complete
https://copy.com/MKxY14cf2LtM

[ 2014-01-13 11:19:10 ] payment_page.php -> event_espresso_pay
Payment for: Doe,John|| attendee_session id: df103890a39abd9ae7d0830888bd6f00-52d0326f7197c8.91206449|| registration id: 2-52d42dd7b845c|| transaction details: a:43:{s:17:”response_order_id”;s:17:”mhp14012131806p94″;s:10:”date_stamp”;s:10:”2014-01-13″;s:10:”time_stamp”;s:8:”11:19:03″;s:19:”bank_transaction_id”;s:18:”662272390010370010″;s:12:”charge_total”;s:4:”1.00″;s:18:”bank_approval_code”;s:6:”015984″;s:13:”response_code”;s:3:”027″;s:8:”iso_code”;s:2:”01″;s:7:”message”;s:41:”APPROVED * =”;s:10:”trans_name”;s:8:”purchase”;s:10:”cardholder”;s:13:”John Doe”;s:4:”f4l4″;s:11:”5465***5556″;s:4:”card”;s:1:”M”;s:11:”expiry_date”;s:4:”1808″;s:6:”result”;s:1:”1″;s:3:”eci”;s:1:”7″;s:7:”txn_num”;s:8:”194-0_75″;s:16:”rvar_moneris_hpp”;s:10:”1389637083″;s:17:”cvd_response_code”;s:1:”M”;s:14:”transactionKey”;s:30:”qLU38EQd8rARmixd7rSvx15toP1PsK”;s:9:”quantity1″;s:1:”1″;s:12:”description1″;s:70:”Modular and Off-Site Construction Summit 2014. Attendee: Johne Doe”;s:3:”id1″;s:2:”24″;s:6:”price1″;s:4:”1.00″;s:13:”shipping_cost”;s:0:””;s:3:”hst”;s:0:””;s:3:”pst”;s:0:””;s:3:”gst”;s:0:””;s:15:”bill_first_name”;s:5:”John”;s:14:”bill_last_name”;s:7:”Doe”;s:17:”bill_company_name”;s:0:””;s:16:”bill_address_one”;s:14:”werqwerqwerqwe”;s:9:”bill_city”;s:8:”Edmonton”;s:22:”bill_state_or_province”;s:0:””;s:16:”bill_postal_code”;s:7:”T6G 2W2″;s:12:”bill_country”;s:0:””;s:10:”bill_phone”;s:0:””;s:8:”bill_fax”;s:0:””;s:5:”email”;s:19:”ABC@Hotmail.com”;s:7:”cust_id”;s:15:”2-52d42dd7b845c”;s:4:”note”;s:0:””;s:11:”attendee_id”;i:24;s:15:”registration_id”;s:15:”2-52d42dd7b845c”;}

Thank you


Josh

  • Support Staff

January 13, 2014 at 1:52 pm

Hi there,

Can you compare the timestamp in the log to when the Thank You page is loaded up? The thank you page may be loading up before the IPN reaches your site. If that’s the case, then it should update the payment status in the admin automatically.


modular

January 13, 2014 at 2:49 pm

Hello Josh,
here is a snapshot from the admin
https://copy.com/6DbkZlt3YkxA
it’s shows payment is not done yet!!!


Josh

  • Support Staff

January 13, 2014 at 3:36 pm

Hi atr atr,

Can you try installing the simplified transactions page template onto your WP theme and set the txn page to use it? You can download a copy from here:

https://eventespresso.com/wiki/how-to-set-up-paypal-ipn/


modular

January 13, 2014 at 4:32 pm

I changed the template for the page transactions from default to txnpage and still not working


modular

January 13, 2014 at 5:02 pm

Sorry I made a mistake I wanted to say the thanks-page instead of transactions page
here is the result
https://copy.com/qsX31PqGY0Qd

I just wonder if there is any deference between transaction page and transactions
since both of them have [ESPRESSO_TXN_PAGE] code but when I navigate to http://www.mocsummit.com/transactions using my browser
it shows this Message (An error occurred. No ID or an invalid ID was supplied.)
and the other one shows the code [ESPRESSO_TXN_PAGE] is it normal???


Josh

  • Support Staff

January 14, 2014 at 8:20 am

The “transaction” page is redundant. You only need one, and since everything is set up to use “transactions”, that’s the page where you’ll set the simplified transactions page template. The Thank You page needs to use a regular page template. If the thank you page gets set to use the simplified transactions page template, it will remove everything from the web page except for the shortcode (which is what you posted in your screenshot.)

Please note that the transactions page is not displayed during the registration process. It is an IPN listener that is used in the communication between your site and the payment gateway. It’s normal for it to display an ID not supplied message if you navigate to the page directly.


modular

January 14, 2014 at 10:00 am

Hi Josh,
“transactions” page has been set to the simplified transactions page template and still the same problem,no email and still show unpaid amount of Money.


Josh

  • Support Staff

January 15, 2014 at 8:00 am

Can you look in /wp-content/uploads/espresso/templates for a file named “moneris_hpp.log” and let us know if that file exists and has any contents?


modular

January 15, 2014 at 9:22 am

The templates folder is empty.


Josh

  • Support Staff

January 15, 2014 at 9:55 am

sorry, I mean /wp-content/uploads/espresso/logs


modular

January 15, 2014 at 10:10 am

01/13/2014 11:19 AM]
IPN Validation Errors: Transaction failed verification, & order_id = mhp14012131806p94, & response_code = null, & amount = null, & txn_num = 194-0_75, & transactionKey = qLU38EQd8rARmixd7rSvx15toP1PsK, & status = Invalid
ipnData
response_order_id = mhp14012131806p94, & date_stamp = 2014-01-13, & time_stamp = 11:19:03, & bank_transaction_id = 662272390010370010, & charge_total = 1.00, & bank_approval_code = 015984, & response_code = 027, & iso_code = 01, & message = APPROVED * =, & trans_name = purchase, & cardholder = John Doe, & f4l4 = 4564***2526, & card = M, & expiry_date = 1508, & result = 1, & eci = 7, & txn_num = 194-0_75, & rvar_moneris_hpp = 1389637083, & cvd_response_code = M, & transactionKey = qLU38EQd8rARmixd7rSvx15toP1PsK, & quantity1 = 1, & description1 = Modular and Off-Site Construction Summit 2014. Attendee: John Doe, & id1 = 24, & price1 = 1.00, & shipping_cost = , & hst = , & pst = , & gst = , & bill_first_name = John, & bill_last_name = Doe, & bill_company_name = , & bill_address_one = werqwerqwerqwe, & bill_city = Edmonton, & bill_state_or_province = , & bill_postal_code = T6G 2W2, & bill_country = , & bill_phone = , & bill_fax = , & email = Doe@ualberta.ca, & cust_id = 2-52d42dd7b845c, & note = , & attendee_id = 24, & registration_id = 2-52d42dd7b845c, &
[01/13/2014 4:02 PM]
IPN Validation Errors: Transaction failed verification, & order_id = mhp14012180148p51, & response_code = null, & amount = null, & txn_num = 195-0_75, & transactionKey = QZTro2xP35TdtJa26nTfRgGasqmEZ2, & status = Invalid
ipnData
response_order_id = mhp14012180148p51, & date_stamp = 2014-01-13, & time_stamp = 16:02:44, & bank_transaction_id = 662272390010370020, & charge_total = 1.00, & bank_approval_code = 005293, & response_code = 027, & iso_code = 01, & message = APPROVED * =, & trans_name = purchase, & cardholder = John Doe, & f4l4 = 4564***2526, & card = M, & expiry_date = 1508, & result = 1, & eci = 7, & txn_num = 195-0_75, & rvar_moneris_hpp = 1389654104, & cvd_response_code = M, & transactionKey = QZTro2xP35TdtJa26nTfRgGasqmEZ2, & quantity1 = 1, & description1 = Modular and Off-Site Construction Summit 2014. Attendee: John Doe, & id1 = 25, & price1 = 1.00, & shipping_cost = , & hst = , & pst = , & gst = , & bill_first_name = John, & bill_last_name = Doe, & bill_company_name = , & bill_address_one = aSFASDFASD F ASDF, & bill_city = Edmonton, & bill_state_or_province = , & bill_postal_code = T6G 2W2, & bill_country = , & bill_phone = , & bill_fax = , & email = Doe@ualberta.ca, & cust_id = 2-52d47055138d7, & note = , & attendee_id = 25, & registration_id = 2-52d47055138d7, &
[01/13/2014 4:11 PM]
IPN Validation Errors: Transaction failed verification, & order_id = mhp14012181012p85, & response_code = null, & amount = null, & txn_num = 196-0_75, & transactionKey = I7Dej3QZ3H3V5iSZ5uKIYMUBt08xAu, & status = Invalid
ipnData
response_order_id = mhp14012181012p85, & date_stamp = 2014-01-13, & time_stamp = 16:11:04, & bank_transaction_id = 662272390010370030, & charge_total = 1.00, & bank_approval_code = 015143, & response_code = 027, & iso_code = 01, & message = APPROVED * =, & trans_name = purchase, & cardholder = John Doe, & f4l4 = 4564***2526, & card = M, & expiry_date = 1508, & result = 1, & eci = 7, & txn_num = 196-0_75, & rvar_moneris_hpp = 1389654607, & cvd_response_code = M, & transactionKey = I7Dej3QZ3H3V5iSZ5uKIYMUBt08xAu, & quantity1 = 1, & description1 = Modular and Off-Site Construction Summit 2014. Attendee: aefasdf sadfasdf, & id1 = 26, & price1 = 1.00, & shipping_cost = , & hst = , & pst = , & gst = , & bill_first_name = aefasdf, & bill_last_name = sadfasdf, & bill_company_name = , & bill_address_one = sdfasdfa, & bill_city = Edmonton, & bill_state_or_province = , & bill_postal_code = T6G 2W2, & bill_country = , & bill_phone = , & bill_fax = , & email = Doe@ualberta.ca, & cust_id = 2-52d4724c6562a, & note = , & attendee_id = 26, & registration_id = 2-52d4724c6562a, &
[01/13/2014 4:26 PM]
IPN Validation Errors: Transaction failed verification, & order_id = mhp14012182534p66, & response_code = null, & amount = null, & txn_num = 197-0_75, & transactionKey = MU4j9Ge0MoQQzxKMfmyRbu35IwxRY5, & status = Invalid
ipnData
response_order_id = mhp14012182534p66, & date_stamp = 2014-01-13, & time_stamp = 16:26:12, & bank_transaction_id = 662272390010370040, & charge_total = 1.00, & bank_approval_code = 025617, & response_code = 027, & iso_code = 01, & message = APPROVED * =, & trans_name = purchase, & cardholder = John Doe, & f4l4 = 4564***2526, & card = M, & expiry_date = 1508, & result = 1, & eci = 7, & txn_num = 197-0_75, & rvar_moneris_hpp = 1389655531, & cvd_response_code = M, & transactionKey = MU4j9Ge0MoQQzxKMfmyRbu35IwxRY5, & quantity1 = 1, & description1 = Modular and Off-Site Construction Summit 2014. Attendee: sdfgsdfgs dgdfg, & id1 = 27, & price1 = 1.00, & shipping_cost = , & hst = , & pst = , & gst = , & bill_first_name = sdfgsdfgs, & bill_last_name = dgdfg, & bill_company_name = , & bill_address_one = sdfgsdfg, & bill_city = Edmonton, & bill_state_or_province = , & bill_postal_code = T6G 2W2, & bill_country = , & bill_phone = , & bill_fax = , & email = Doe@ualberta.ca, & cust_id = 2-52d475e8da864, & note = , & attendee_id = 27, & registration_id = 2-52d475e8da864, &
[01/13/2014 4:48 PM]
IPN Validation Errors: Transaction failed verification, & order_id = mhp14012184752p29, & response_code = null, & amount = null, & txn_num = 202-0_75, & transactionKey = orksvdBy5kUDAookYElDd3MrxevQ8v, & status = Invalid
ipnData
response_order_id = mhp14012184752p29, & date_stamp = 2014-01-13, & time_stamp = 16:48:35, & bank_transaction_id = 662272390010370090, & charge_total = 1.00, & bank_approval_code = 045822, & response_code = 027, & iso_code = 01, & message = APPROVED * =, & trans_name = purchase, & cardholder = John Doe, & f4l4 = 4564***2526, & card = M, & expiry_date = 1508, & result = 1, & eci = 7, & txn_num = 202-0_75, & rvar_moneris_hpp = 1389656869, & cvd_response_code = M, & transactionKey = orksvdBy5kUDAookYElDd3MrxevQ8v, & quantity1 = 1, & description1 = Modular and Off-Site Construction Summit 2014. Attendee: tyert ertyert, & id1 = 28, & price1 = 1.00, & shipping_cost = , & hst = , & pst = , & gst = , & bill_first_name = tyert, & bill_last_name = ertyert, & bill_company_name = , & bill_address_one = ertyerty, & bill_city = Edmonton, & bill_state_or_province = , & bill_postal_code = T6G 2W2, & bill_country = , & bill_phone = , & bill_fax = , & email = Doe@ualberta.ca, & cust_id = 2-52d47b2272966, & note = , & attendee_id = 28, & registration_id = 2-52d47b2272966, &


Josh

  • Support Staff

January 15, 2014 at 10:31 am

Hi there,

I would recommend sending an email to Moneris’ tech support with the details from an entry in the error log, to see if they can look up the attempted transaction verification, and determine a more specific cause for the verification failure than a status of “invalid”.


modular

January 17, 2014 at 3:30 pm

Hi Josh,
Moneris’ tech support confirm that they have no problem from their side and all the verification was correctly done with no errors and they advice to make sure that the software is interrupting the confirmation message correctly,??
I running out of time.any suggestion will b appreciated ?
thanks.


Josh

  • Support Staff

January 17, 2014 at 4:07 pm

Did you ask them to explain why the verification failure had a status of “invalid”? The thing is, they sent the verification failure errors. So if they’re saying there are no errors, that’s not exactly the case, because you have errors in the logs.


modular

January 17, 2014 at 4:19 pm

Yes, I did and they confirmed that their log doesn’t show any invalid value and everything is fine, even my transactions report shows the validation is done with no problem
https://copy.com/1ud4W7o1snZe


modular

January 17, 2014 at 4:29 pm

Can I send you my (Store ID) and (HPP_Key) on a private email where you can test it on other website? so we can tell if the problem caused by Moneris or not .


Josh

  • Support Staff

January 17, 2014 at 4:30 pm

You can tell them that everything is not fine and show them the errors you have in the error log. If they can explain why there are validation errors in the logs it will help us know how to fix.


modular

January 17, 2014 at 4:34 pm

Acutely I sent them the logs and they told me it’s not generated by our system,
Should I try again and talk to another tech guy?


Josh

  • Support Staff

January 17, 2014 at 5:21 pm

There is something you can try where you’ll be bypassing the verification step so even if the the transactions fail verification the Thank you page will say the payment is complete as long as there’s an approved message. Event Espresso will still log the IPN errors so you’ll still have IPN errors that you can send to Moneris support and deal with that later.

If you look in gateways/moneris_hpp/EE_Moneris_HPP.class.php on line 148 and see where it says:

$this->moneris_hpp_log( $log_entry, TRUE );
return FALSE;

You add another check before it returns false so this will be:

$this->moneris_hpp_log( $log_entry, TRUE );
if ($this->ipnData['response_code'] < 50) {
  return TRUE;
} else {
  return FALSE;
}


modular

January 20, 2014 at 4:40 pm

Hello Josh,
I changed the code as you told me.Now the thank you page show no detailes like before it’s only says : thank you, and it alright for me,but still the registration in the attendee list shows incomplete status and there is no way I can tell when it’s paid or not.
THANKS


Josh

  • Support Staff

January 23, 2014 at 9:26 am

Hi there,

The code change I posted should not have removed everything on the Thank You page. I’m thinking you might have not closed that if statement with a closing brace. Can you post the contents of your modified gateways/moneris_hpp/EE_Moneris_HPP.class.php file? Or you can compare what you have to this block of code that shows the modification in context:

foreach ( $this->ipnData as $key => $value ) {
			$log_entry .= $key . ' = ' . $value . ', & ';
		}
		$this->moneris_hpp_log( $log_entry, TRUE );
		if ($this->ipnData['response_code'] < 50) {
			return TRUE;
		} else {
			return FALSE;
		}
	}
	
} else {


modular

January 23, 2014 at 9:32 am

Hello Josh,
Problem solved from Moneris side. I’ve rewrite the code as it was and the system is working now thank you 😉


Josh

  • Support Staff

January 23, 2014 at 11:03 am

Hi there,

Did they tell you how they solved it from their side?

The support post ‘Moneris Payments Getaway Setup’ 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