Jump to content

Recommended Posts

Hi just quick note. I don't have time to look at where to submit bugs so I ll add it to here.

 

there is a eway gateway bug

On the payment.php around line 104

 

if($ewayResponseFields["EWAYTRXNSTATUS"]==true){

 

that shoud be string "True"

 

if($ewayResponseFields["EWAYTRXNSTATUS"]=='True'){

 

 

other wise your order will submit even if user submit incorrect card details

 

Use below

 

if($ewayResponseFields["EWAYTRXNSTATUS"]=='True'){

//else if($rnum=="00") $Ewayshared->handleCurlResponse();

//else if ($rnum == "" && $rcode=="" ) $Ewayshared->handleCurlResponse();

$Ewayshared->handleCurlResponse();

} else {

$tfail_msg = 'Transaction fail. Check your card details.';

$smarty->assign('errors', $tfail_msg);

}

Link to comment
Share on other sites

  • 3 weeks later...

would this be the same for eway NZ ? which modual or plugin are you referring to here ? I think there maybe a few of them , but you certainly have my attention , if this is the case would it mean all orders come thru as paid even if details are wrong ? (scary)

Link to comment
Share on other sites

×
×
  • Create New...