Posted: October 15, 2020 at 12:17 pm
What would our steps be to check on whether we are occasionally dropping a transaction using the Firstdata gateway plugin? We have some errors and have to dig through this. |
|
This reply has been marked as private. | |
Hi there, First you would need to check the error logs on your site and see if anything shows up there, with payment made within Event Espresso we also create payment logs, you’ll find those in Event Espresso -> Payment methods -> logs. Check for any errors showing there (the errors will still be logged even if FirstData times out). If you look in the EE transactions linked to the registrations you are having issues with, then if the request to FirstData is timing out the payment object should have this message in the gateway response:
What is happening on the site to make you think you are running into timeouts with FirstData? — You’ve asked if this is something you need a support token for and the short answer right now is I can’t say as there are no details of what the problem itself is. If you can provide some details on what is happening I can advise from there. |
|
This reply has been marked as private. | |
I can confirm that we will only research into the registrations you request we look into. To be clear though, to troubleshoot this we need to view the requests sent from your site to your payment merchant and then the response received from them. Those logs don’t contain what would be considered sensitive card related details (card numbers etc) but those logs may contain details from the registration itself (name, email address, address, etc). I/we (EventEspresso) have no interest in any registration data (or really any data) sent on the requests which is unrelated to the issue itself. The only way to start troubleshooting this is to view those requests/responses which could (and likely will) contain more than a simple ‘success’ or ‘fail’. The above is not intended as any form of get-out clause etc but simply to highlight the fact that we will need to view various requests related to the registrations/payments this is happening on to troubleshoot. If you sent me to say the EE Registration and EE Transaction view and state not to view any other data related to it then there really isn’t much I can troubleshoot. I can also confirm that we (EventEspresso) will not share any data from your site with any 3rd parties. |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
Hi ICLE, There’s no error in that log entry, that looks like a response log from FirstData and shows the payment was Approved unless I’m missing something? |
|
This reply has been marked as private. | |
I’m going to remove the credentials posted on the forums (yes even though its private reply). If you’ve purchased a support token to investigate this then please use the link to redeem your token on your account page (just below your license keys) to securely send us your login details and any additional details required. |
|
The nature of our issue is in finding the error in these logs… Other transactions in the “Payment Methods” logs do not have any of that text. What shall I then isolate for review? |
|
Unfortunately, I have no idea what you are going to find without reviewing the logs. Each successful payment ‘should’ create 3 log entries Payeezy sale request Parameters (the request from your site to FirstData) Entry isn’t an error, its the body of the response log and appears to be a successful payment. If you can send over the login details I’ll happily review the log entries for a transaction this has happened on. https://eventespresso.com/send-login-details/ (Note that we generally require a support token to troubleshoot directly on the server, without one I’ll review the logs and see if anything stands out but if you need further troubleshooting you’ll need a support token) |
|
Is there a way to get a “Payment Methods” log csv export? |
|
I have sent login detail and have also reviewed 14 examples I was provided. I can provide that list to you as well. Is support@eventespresso.com the email to use to send an attached Excel file? |
|
Hi ICLE, Did you use the form to send the login details as we’ve not received any submissions from your account?
There’s no CSV export, but there is a ‘Download results’ button at the bottom of the list which exports the payment logs themselves. I have received your Excel file so just need temp login details to view the logs. |
|
We have set up a cron in bluehost, and have set the “Global Message Settings” for “Generate and send all messages:” to “On separate request” yet we are still getting Message Activity with “No recipient” in the To column of the “Message Activity” page. I can select them and “generate and send” but I need these to trigger and get sent on the 5 minute cron that is set up. What are we missing in the settings or do we need to create a bit of code to place somewhere? |
|
The plugin ‘WP Control’ is being utilized. The Hook for “AHEE__EE_Messages_Scheduler__generation”, “AHEE__EE_Messages_Scheduler__generation”, and “AHEE__EE_Messages_Scheduler__cleanup” states the following when edited: Cron events trigger actions in your code. A cron event needs a corresponding action hook somewhere in code, e.g. the functions.php file in your theme. What do we need to do with the coding that is needed to add these to the functions.php file? |
|
WP Crontrol (correction) |
|
Can you add more details of what you set up with Bluehost, please? Did you disable WP_CRON?
Do they site at that step indefinitely? It’s expected for them to show ‘No Recipient’ until they have generated, which is done via the Cron.
Why would you add them to You don’t need to add anything to the site, you just need a Cron to trigger wp-cron.php so that it then triggers the jobs there which EE uses. |
|
Here is what I got back from the individual (Tajiana) who is halping to install a working cron. Apparently she saw a similar support ticket and was following those directions: “Cron events trigger actions in your code. A cron event needs a corresponding action hook somewhere in code, e.g. the functions.php file in your theme.” I need more info about how to add the action hooks to the functions.php file. |
|
This is the link to which we are looking for setup guidance: |
|
Ok, so that’s actually a totally different issue. The issue you are referring to is when the It looks like a core WP issue as all we do is add the job and then it’s somehow lost. But, in either case, what we did to fix that was add a check into
In short and with all due respect, whoever is helping you here needs to learn more about how WP_Cron works, that has nothing to do with the issue you are referring to. That snippet is basically telling you that you WP_Cron takes a schedule and a function to call and you can’t just schedule a task without having a function to call for that task. EE already has those built into it, you don’t need anything in If you are looking in WP Crontrol the only thing you need to confirm is that you can see these jobs:
It should look like this: https://monosnap.com/file/kJgTqpdZSU1W1z8r8IJneJnFz9TPW1 If those are there EE has added the WP_Cron events as expected, thats it. If they aren’t there, use Event Espresso to do it for you by either de-activating and then re-activating Event Espreso 4, or, run the —- I’m not sure what you are doing with crons on the server, but you want to do something like this: https://www.siteground.co.uk/tutorials/wordpress/real-cron-job/ Which in effect does nothing more than call wp-cron.php on a ‘real’ cron every X minutes, rather than WP_CRON doing it on every single request to check if a task needs to fire. |
|
The only Cron Event I see is: and the last one was ran 6 months two weeks ago. The latest version of EE4 is loaded and was restarted the other night. |
|
That’s the only EE cron you have listed? The cron jobs will only be created on activation so if they’ve been altered/removed since then you’ll need to de-activate and re-activate EE to have them recreated. |
|
Yes. I have 159 pages with this one EE Cron in the log. |
|
That’s a very good indication that you have an issue with WP_CRON on your site. Every registration added on EE creates that cron to check if the registration has been finalized after the user’s session has expired. If you’ve got many of those just sitting waiting to run then crons aren’t running on your site. At the top of WP Crontrol does it mention anything about WP_CRON being disabled? If you look in the sites Earlier you said you added a cron in bluehost, can you add some details on what you actually did there? If you’ve added a cron in bluehost to trigger your sites cron jobs the above crons should already have run. |
|
There is no code in wp-config.php nor in functions.php which refers to cron. Please advise next steps. THanks. |
|
Please answer my question above, the next steps depend on what you’ve done to cron. Regarding AHEE__EE_Cron_Tasks_expired_transaction_check, a new wp_cron task will be scheduled each time there is a registration so if WP_CRON isn’t running then its expected that you would see those and they wont be removed until WP_CRON is functioning again. |
|
How can I determine if WP_CRON is running? |
|
I created a page and scheduled it to publish two minutes in the future and it did. There is no record in the “Cron Events” of WP-Crontrol of this event. Note: all the events in the “Cron Events” start at over 7 months ago. |
|
Hey, I’ve just been informed that AHEE__EE_Messages_Scheduler__sending are present, they were ran manually. Is there a setting to allow them to run upon the need to run? |
|
If we make changes to the frequency do we need to restart wordpress to see the changes? |
|
Is it possible to get someone at EE to login and advise on the settings? We have been suffering for over a month with this. |
|
Ok, so were they always there or have they been manually added, and then manually run?
The only setting needed is setting ‘Generate and send all messages’ to ‘On separate request’ within Event Espresso -> Messages -> Settings They are added to the WP Cron schedules and then run with WP_CRON.
Sorry, I don’t understand. Changes to which frequency and how would you restart WordPress?
Sure, however, last time we logged in there was an issue with an NDA here. I assume that is still valid here? We don’t keep login credentials for any longer than necessary so we no longer have the credentials you sent over previously, if you can resend temp credentials using this form: https://eventespresso.com/send-login-details/ I’ll take a look.
I’m sorry your running into this issue, but if you take a look at the timestamps within this thread you’ll see I’ve replied to each of your posts within 24hours, mostly within an hour of your previous reply. So the month long delay in fixing this has not been on our end. |
|
I understand about the support issue, we were in a panic trying to shift back to virtual events from live broadcasts. I will provide login credentials today. |
|
Hi, Unfortunately, it looks like the password supplied is invalid, can you recheck and resend, please? |
|
This reply has been marked as private. | |
Hi there, That’s the credentials I’m using but still getting invalid login. |
|
I logged in twice on a PC win7 chrome. is it throwing you to a page at georgiabar.org/SSO…? |
|
No, I’m using Win10 with Chrome. I sent you a screenshot via email showing you the login page I’m using. |
|
I am up for a screenshare if you cannot get in. |
|
I have sent a way to login through the SSO so the experience will be as it is by any other typical user. |
|
What is the status of accessing my site? What else can I do to facilitate forward motion? |
|
Hi there, My apologies for the delay, I can access the site with the latest credentials. I had a look at site can see loopback requests are failing on the site, if you look in Tools -> Site Health you’ll see a critical error showing ‘Your site could not complete a loopback request’, which is required for WP_CRON to work. It could be due to your SSO running and preventing the request from completing or it could be from any number of issues (sessions being opened on each request for example). First, try adding this to your sites
That switches WP to use an alternative method for WP_CRON which doesn’t require loopback requests. You need to add the above line somewhere before the line that has:
Do messages automatically step through the message queue with the above in place? You may want to clear out the current |
|
I cleared the “AHEE__EE_Cron_Tasks__expired_transaction_check” cron tasks and added the command to the wp-config.php file. The messages are still not getting sent. I searched for: What is our next step to diagnose and fix this? |
|
What do you suggest now? I would like to have this working before the holidays. |
|
This reply has been marked as private. | |
What is the next step to solve the messages not sending? |
|
Hi ICLE, I logged into the site to check which cron jobs were missing and confirmed the above 3 were indeed missing, so I manually added the Did you previously completely de-activate and re-active EE4 as mentioned above? Its really rare for all of the message crons to vanish, especially In any case, the message queue system should now work as expected and automatically send messages for you, can you please confirm if that is the case? |
|
Seems to be working now! Thanks. |
|
Great, I’m going to close this thread for now. If you have any further issues please feel free to open another. |
|
The support post ‘How can we find out if Firstdata is timing out?’ 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.