Support

Home Forums Event Espresso Premium First Data sales incomplete

First Data sales incomplete

Posted: April 22, 2013 at 7:14 am


Matt tuttle

April 22, 2013 at 7:14 am

Hello,

I’m in the process of testing First Data, and all my test sales are coming back as incomplete.  Are there any updates available on that gateway or any known issues?

Thanks,

Matt


Chris Reynolds

  • Support Staff

April 22, 2013 at 11:41 am

If you are using E4, there is a bug that is fixed in the beta version that we are testing now.


Matt tuttle

April 22, 2013 at 11:42 am

I’m not using the E4 version, just the one that requires the store id and the .pem file.  Won’t connect.


Sidney Harrell

April 22, 2013 at 12:10 pm

When you say test sales, are you using an account on the firstdata sandbox server?
Where did you put the .pem file?


Matt tuttle

April 22, 2013 at 12:15 pm

I tried sandbox mode and it gave me a “could not connect” error, and after speaking with tech support at first data was told to switch it over to live mode and try again.  After that point transactions came back with an “incomplete” message.

I put the .pem file in the /public_html/wp-content/plugins/event-espresso/gateways/firstdata/ folder.


Matt tuttle

April 22, 2013 at 12:28 pm

Here’s a link to my test event if anyone would like to test it:

https://pkug.org/conferences/rapid-response-2013/event-registration/?ee=6


Sidney Harrell

April 22, 2013 at 12:29 pm

Sounds like it’s not a .pem file issue, then. You might want to put a copy of the .pem file in uploads/espresso/gateways/firstdata, though. You don’t need the rest of the firstdata files in there, just create the firstdata folder manually and copy the .pem file into it. That way you won’t have to keep copying the pem file into the plugins/event-espresso/gateways/firstdata folder every time you update Event Espresso.
Can you take a look at the file uploads/espresso/logs/espresso_log.txt? It should be creating a record for each gateway transaction. The latest transaction will be at the end of the file. Try to match the transaction record to the one that came back “incomplete”. If you like, you can email a copy of the file, or just paste in the transaction in question, to support at eventespresso.com.


Matt tuttle

April 22, 2013 at 1:11 pm

I moved that over to the uploads file, and still no dice.  Here’s the error I got:

[ 2013-04-22 15:09:32 ]  payment_page.php  -> event_espresso_pay
Payment for: Tuttle, Matt|| attendee_session id: s5hcr5g5aea91ev3gmdmp2los6-51754f9d985bf7.17902965|| registration id: 6-51758aa4c57dd|| transaction details: s:69:”<r_approved>FAILURE</r_approved><r_error>Could not connect.</r_error>”;


Sidney Harrell

April 22, 2013 at 1:28 pm

That looks like the “could not connect” transaction, which could be a pem issue or using a live account on the sandbox server. Can you see the “incomplete” transaction? Can you fill out the form here: https://eventespresso.com/send-login-details/ so I can take a look at it directly? (please include ftp info)


Matt tuttle

April 22, 2013 at 1:40 pm

Sent.


Matt tuttle

April 23, 2013 at 7:53 am

Sidney,

Do you have any update on this?

Matt


Sidney Harrell

April 24, 2013 at 10:04 am

I tried it with our sandbox account and got the same results. It looks like your host may be blocking outbound requests on port 1129. What type of hosting are you on?


Matt tuttle

April 30, 2013 at 4:12 am

Hi Sidney,

We actually switched over to the E4 gateway and the payments are going through.  But, upon redirect, attendees are receiving an error message: ”
“There was an error processing your transaction!”
” and the payment status is incomplete.  Can you help me clear this up?

Here’s my test event link: https://pkug.org/conferences/rapid-response-2013/event-registration/?ee=6

Thanks,

Matt


Sidney Harrell

April 30, 2013 at 9:07 am

I believe you have to go into the e4 Payment Pages interface in your firstdata e4 account, go to the Receipt Page tab, and make sure that your EE notifications page url is set in the Relay Response field.


Matt tuttle

April 30, 2013 at 9:39 am

Hi Sidney,

I’ve already done that.  Is there an y documentation on E4 setup?  When I run a test registration, I my order processes at Fisrtdata, and is in the list of sales, but upon redirect I get a notice that there was an error processing the transaction.

I am receving an email confirmation with an “Edit registration details” link, but when I click it, I notice that some of the radio buttons I checked are not showing as clicked as well.

Please advise, I’d like to go live on this today if possible.

Thanks,

Matt


Matt tuttle

April 30, 2013 at 10:25 am

Hi Sidney,

Turns out the thank you page redirect had to be set to
“Automatic linking to the receipt page including result parameters using HTTP POST method (AUTO-POST)”
If it’s not, it gives some communication errors.  So, payments are now being recorded as received.

Now, it looks like there was an issue with how I setup my questions as well.  Some of the questions contained “:” which seems to have effected how the system records it.  So, I fixed that and the details seem to be populating and saving.

One more issue I noticed is that in my thank you email, after clicking the “Edit registration details” link I was brought to the page with my details and questions.  After updating, the system brings me to a confirm registration page.  I then hit confirm registration and was brought to another payment page with a message stating that my registration is not complete until payment is received.  Since payment was received, should this message still display?

Please advise.

Thanks,

Matt


Sidney Harrell

April 30, 2013 at 12:48 pm

Sounds like the email link is taking you back into the full registration process, which is not checking whether you got there through the email link, or from the link on the confirmation page. (sorry, I’m not that familiar with how that email link works) Can you tell me if the edited registrant is still marked as paid in the backend?


Matt tuttle

April 30, 2013 at 1:00 pm

On the backend, they are still marked as paid.  Change to the details are also reflected as well.  But, I’d prefer not to have any confusion on that if attendees do want to edit their details.


Sidney Harrell

May 1, 2013 at 9:58 am

In the payment_page.php template, try replacing line 31, which currently is:

<?php }else{ ?>

with:

<?php }elseif ($amount_pd >= $total_cost) { ?>
Thank you for updating your attendee data.
<?php $total_cost = 0;
}else{ ?>


Matt tuttle

May 1, 2013 at 1:50 pm

Hery Sidney,

Tried that, didn’t work.  Just loaded a blank page.

Matt


Josh

  • Support Staff

May 2, 2013 at 12:02 pm

Hi Matt,

There may be an error in your code if it’s loading a blank page. If you turn on debugging it may point to the line where there’s an error.

You can turn on debugging by editing the wp-config.php file:

http://codex.wordpress.org/Editing_wp-config.php#Debug


Matt tuttle

May 3, 2013 at 8:25 am

Hi Josh,

My site is actually live now, so I’d prefer to not turn debug mode on.  Any chance someone from EE could send over the fixed file?

Matt


Josh

  • Support Staff

May 6, 2013 at 10:00 am

Hi Matt,

We don’t have anything committed yet, can you post the contents of your payment_page.php template in a gist or pastebin so we can take a look?


Matt tuttle

May 14, 2013 at 8:39 am

Hi Josh,

Sorry it took me so long to get back to this, here’s a link: https://gist.github.com/anonymous/4ce28cec8ebd5c599778

Let me know if you can fix that feature.

Thanks,
Matt


Josh

  • Support Staff

May 16, 2013 at 10:10 am

I checked and the template code that you posted here does not include the fix that Sidney suggested. Here’s a link to a gist with the entire contents of payment_page.php that includes Sidney’s fix:

https://gist.github.com/joshfeck/5592909

The support post ‘First Data sales incomplete’ 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