Support

Home Forums Event Espresso Premium Get error page when wrong credit card entered

Get error page when wrong credit card entered

Posted: June 13, 2016 at 11:46 pm


All in IT Solutions

June 13, 2016 at 11:46 pm

Hi, I’m getting error of eWay payment gateway saying:

Debugging / Sandbox output
Response code = 58 Response = string(914) “HTTP/1.1 200 OK Cache-Control: private Content-Type: text/html; charset=utf-8 Server: Microsoft-IIS/7.5 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET X-EWAY-SERVER: M3 Content-Length: 486 Date: Tue, 14 Jun 2016 05:23:42 GMT Connection: keep-alive Set-Cookie: ASP.NET_SessionId=idudhcqat1ibocudgryaxoey;Secure; path=/; HttpOnly Set-Cookie: BIGipServerVirtServerPool-015-SSL=1929579274.47873.0000;secure; path=/ 000000581595.00183684595FalseFunction Not Permitted to Terminal”
End of Debugging / Sandbox output (this will go away when you switch to live transactions)

Can anyone please help?

My site is http://thumpboxing.com.au/


Tony

  • Support Staff

June 14, 2016 at 5:56 am

Hi there,

I’ve created a ticket to remove this so it is only displayed when the gateway is in sandbox mode.

To fix it on your site you will need to copy the eWay gateway from:

\wp-content\plugins\event-espresso\gateways\

Copy the eway folder from there and place it within:

\wp-content\uploads\espresso\gateways\

Now within that location edit the file ewaypaymentprocess.php and either remove lines 76-80, or wrap them within a sandbox check like this:

if ($eway_settings['use_sandbox']) {
    echo '<h3 style="color:#ff0000;" title="Payments will not be processed">' . __('Debugging / Sandbox output', 'event_espresso') . '</h3>';
    echo "Response code = " . $responsecode;
    echo "\nResponse = ";
    var_dump($response);
    echo '<h3 style="color:#ff0000;" title="Payments will not be processed">' . __('End of Debugging / Sandbox output (this will go away when you switch to live transactions)', 'event_espresso') . '</h3>';
}

The above will be included within the next version of Event Espresso 3


All in IT Solutions

June 14, 2016 at 6:36 pm

Hi Tony, thanks for that, it worked. Can you assist me with another issue as described below:

The questions (question group) are not captured and shown empty when the admin get the email after someone register for an event. For example the name, address field are empty when i see in eWay dashboard. see screenshot below:

Also there are other custom fields setup in event espresso which are not included in the confirmation message sent to admin after payment.

Could you please help me with this, thanks in advance.


Tony

  • Support Staff

June 16, 2016 at 3:17 am

Have you modified Event Espresso at all?

Within \wp-content\uploads\espresso\gateways\ do you have a gateway_display.php file?

If so rename that file, for example add ‘-temp’ to the filename and retest. Does the information provided pass over to eWay?

You currently only request First Name, Last Name and Email from the system questions, if you also want to request Address information you need to nebale it within the event.

Edit the event and look within the sidebar for the ‘Event Questions for Primary Attendee’, click the check box next to ‘Address information’ and update the event – http://take.ms/NcQIo

EE will now request the Address info system questions during the registration and they will be passed to the gateway.

Also there are other custom fields setup in event espresso which are not included in the confirmation message sent to admin after payment.

Which questions are not being sent in the email?


All in IT Solutions

June 20, 2016 at 10:30 pm

Hi Tony, thanks for the tips, it’s nearly there, except the custom fields which i reckon are sent to the admin confirmation message:

Please see the screenshot below with the fields:

Is it possible to show these custom fields in the confirmation message?

Thanks in advance for your help and support. Really appreciate it.


Tony

  • Support Staff

June 21, 2016 at 3:06 am

Those fields should already be included within the Admin email as it includes all custom fields, do you not see those within the admin email?

Are you wanting to include those within the users confirmation email?

If so the custom questions can be included using the [custom_questions] shortcode.


All in IT Solutions

June 21, 2016 at 4:59 pm

Thanks Tony, will see how it goes. cheers!


All in IT Solutions

June 27, 2016 at 5:51 pm

Hi Tony, again the same problem has arised. Got this email from our client:

Good Morning,
Still getting payments from eway with no details.
Also asked if location on our website payment to be changed to address please.
Your attention to these request would be greatly appreciated.

I checked the eWay and again the customer detail fields are empty (screenshot attached)

Also, the eWay confirmation email is same, see below:

—–Original Message—–
From: eWAY [mailto:mail@receipts.ewaypayments.com] On Behalf Of aysha@thumpboxing.com
Sent: Monday, June 27, 2016 7:59 PM
To: aysha@thumpboxing.com
Subject: Receipt of APPROVED purchase/payment @ eWAY

The following was charged to your credit card:
Purchase / Payment: AUD$299.00
Amount charged is in AUSTRALIAN Dollars

eWAY Transaction No : 185345321
Bank Authorisation Code: 2030527

Merchant Details
———————————————————————
Merchant ID: 235438
Terminal ID: 24235258

Customer Details
———————————————————————
Name :
Email :
Address :
Postcode :
Invoice Description: Level 1 Instructor Course- Sydney NSW
Invoice Ref# :
———————————————————————
Your payment has been securely processed by the eWAY payment gateway.
http://www.eway.com.au

Can you please look into this issue please, if you need we can provide the admin login detail of the site: http://thumpboxing.com


Tony

  • Support Staff

June 28, 2016 at 5:10 am

Have you modified Event Espresso at all?

Within \wp-content\uploads\espresso\gateways\ do you have a gateway_display.php file?


All in IT Solutions

June 28, 2016 at 4:51 pm

looks like there is only gateway_display-temp.php


Tony

  • Support Staff

June 30, 2016 at 4:19 am

I tested a registration on your site and EE is passing all of the details you are requesting during registration over to eway – http://take.ms/dVOko

That page is hosted by eWay themselves so if the details are displayed there then eWay has those details.

If you run a new registration and make a test payment using eWay does it show the details within the eWay transaction?

The support post ‘Get error page when wrong credit card entered’ 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