[+] MO : Uptdate module to store payment cc information

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9683 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vSchoener
2011-10-27 15:15:30 +00:00
parent cf384e0af1
commit 8a67500a4a
6 changed files with 85 additions and 8 deletions
+15
View File
@@ -123,5 +123,20 @@ class CashTicket extends PrepaidServices
return $error_msg[$error_code];
}
/**
* Set the detail of a payment - Call before the validate order init
* correctly the pcc object
* See Authorize documentation to know the associated key => value
* @param array fields
*/
public function setTransactionDetail($response)
{
// If Exist we can store the details
if (isset($this->pcc))
{
$this->pcc->transaction_id = (string)$response['transaction_id'];
}
}
}