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

This commit is contained in:
vSchoener committed 2011-10-27 15:15:30 +00:00
1 parent 8e35ab7208
commit 8150ec7439
6 files changed
+85 -8

No files matched your search

+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'];
}
}
}