Posted: January 10, 2014 at 12:02 pm
|
Payments accepted but don’t show as paid in Event Espresso and no confirmation Email sent <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> |
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? |
|
|
Hello Josh, [ 2014-01-13 11:19:10 ] payment_page.php -> event_espresso_pay Thank you |
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. |
|
|
Hello Josh, |
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: |
|
|
I changed the template for the page transactions from default to txnpage and still not working |
|
Sorry I made a mistake I wanted to say the thanks-page instead of transactions page I just wonder if there is any deference between transaction page and transactions |
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. |
|
|
Hi Josh, |
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? |
|
|
The templates folder is empty. |
sorry, I mean /wp-content/uploads/espresso/logs |
|
|
01/13/2014 11:19 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”. |
|
|
Hi Josh, |
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. |
|
|
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 |
|
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 . |
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. |
|
|
Acutely I sent them the logs and they told me it’s not generated by our system, |
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; } |
|
|
Hello Josh, |
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 { |
|
|
Hello Josh, |
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.