nBill Community nBill Home Page
22/May/2012, 11:42:47 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Click Here for the nBill home page, or take a tour.  
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Eway Payments not reporting back correctly to nBill  (Read 210 times)
snaffle
Jr. Member
**
Offline Offline

Posts: 23


View Profile
« on: 13/December/2011, 06:58:21 AM »

Hi there,

Over the last couple of months, my client has noticed an odd problem with nBill, the Eway payment gateway and successful payments not being reported back to nBill. After some investigation it appears that error has been occurring intermittently since day one.

The error email that is generated by nBill is along the line's of the following (names, domain etc changed)...

Gateway transaction '882' not found (pending order ID: 831, Amount: AUD 50.00, Site: https://www.domain.com, REQUEST: Array
(
   [option] => com_nbill
   [action] => gateway
   [gateway] => eway
   [task] => ccsubmit
   [Itemid] => 100046
   [checksum] => a3a93da57efd41b82c1d25e2f785d727
   [ewayTotalAmount] => 5000
   [ewayTrxnNumber] => 9c938ac936_882
   [eWAYURL] => https://www.domain.com/index.php?option=com_nbill&action=gateway&gateway=eway&task=cb
   [ewayCustomerFirstName] => Firstname
   [ewayCustomerLastName] => Lastname
   [ewayCustomerEmail] => someone@domain.com
   [ewayCustomerAddress] => 1 Somewhere St, Somewhere, South australia, AU
   [ewayCustomerPostcode] => 5007
   [eWAYSiteTitle] => Some Organisation
   [ewayCustomerInvoiceDescription] => Donation
   [OneOff] => 1
   [CustomerFirstName] => First Name
   [CustomerLastName] => Last Name
   [CustomerAddress] => 1 Somewhere St
   [CustomerSuburb] => Somewhere
   [CustomerState] => South Australia
   [CustomerPostCode] => 5007
   [CustomerCountry] => AU
   [CustomerEmail] => someone@domain.com
   [CCName] => Firstname Lastname
   [CCNumber] => card number
   [CCExpMonth] => card expiry month
   [CCExpYear] => card expiry year
   [ewayCVN] => 123
   [cc_submit] => Submit
   [view] => frontpage
)
)

We are only using nBill to accept donations, and because the customer an error message, they make the same donation again, usually successfully the second time around (it took one customer 3 goes, and they got charged 3 times through Eway). In each instance the order is listed under "Pending Orders" in nBill

Each error email starts with - Gateway transaction '882' not found - except a different number each time.

So any ideas why this is happening?

Couple of other things...

I'm also concerned that the email that is generated when this error occurrs contains the customers full credit card details, number and cvn - is there any way of changing that?

and...

Oddly, the email also only goes to the admin email address entered on the order form, and not the general configuration email address. Is that the correct behaviour?

Thanks in advance.

nBill 2.0.9
Joomla 1.5.25
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #1 on: 13/December/2011, 10:59:54 AM »

The contents of the callback are included in the e-mail only if 'Add Debug Info?' is set in the gateway settings (there is a warning there that sensitive information can be included, and it is off by default). If you delete the value from that setting, it will just send the error message without any other info.

The e-mail goes to the vendor's e-mail address, or if that isn't set, it goes to the global configuration error email address.

As for what is actually causing the problem, that will require further investigation - please submit a support ticket as I will need access to your site and database to look into it.
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #2 on: 13/December/2011, 12:40:54 PM »

Actually, I think I found the cause of the problem - please try downloading the updated eWAY gateway (http://www.nbill.co.uk/component/option,com_docman/Itemid,10/task,doc_details/gid,60/).
Logged
snaffle
Jr. Member
**
Offline Offline

Posts: 23


View Profile
« Reply #3 on: 16/December/2011, 02:22:09 AM »

Thanks for the reply and the updated gateway. I'll give it a try and see how we go.
Logged
snaffle
Jr. Member
**
Offline Offline

Posts: 23


View Profile
« Reply #4 on: 16/December/2011, 03:46:32 AM »

Just on the error reporting, that makes sense, except when I checked the gateway configuration before upgrading, the Debug field was empty.

I'll see what happens now I've upgraded, though hopefully I won't get the error anymore :-)

Thanks again.
Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #5 on: 16/December/2011, 12:10:34 PM »

Yes you are right, the REQUEST array is output regardless of that setting when this particular error occurs. I will fix for the next release.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!