Closed (fixed)
Project:
eWay payment gateway for e-Commerce
Version:
6.x-1.0-beta3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2009 at 01:11 UTC
Updated:
19 Jun 2011 at 02:51 UTC
Pretty simple really, just added a line to ec_eway.module at around line 176
switch ($response->ewayTrxnStatus) {
case 'True':
$receipt->status = RECEIPT_STATUS_COMPLETED;
$receipt->approval_code = $response->ewayAuthCode;
$receipt->extern_id = $response->ewayTrxnNumber; //INSERTED THIS
break;
case 'False':
This just gives us a reference to the eway transaction number for reporting purposes
Comments
Comment #1
gordon commentedThanks this has been committed to dev