[+] CORE: Add a way to add easily transaction details (last method changed)

This commit is contained in:
vSchoener
2011-10-27 00:58:24 +00:00
parent ed0a7733f2
commit 92623a4645
3 changed files with 62 additions and 36 deletions
+3 -3
View File
@@ -82,9 +82,9 @@ else
$authorizeaim = new authorizeaim();
$message = $response[3];
if ($response[0] == 1)
{
$authorizeaim->validateOrder((int)$cart->id, Configuration::get('PS_OS_PAYMENT'), (float)$response[9], $authorizeaim->displayName, $message, NULL, NULL, false, $customer->secure_key);
$authorizeaim->setTransactionDetail($response);
{
$authorizeaim->setTransactionDetail($response);
$authorizeaim->validateOrder((int)$cart->id, Configuration::get('PS_OS_PAYMENT'), (float)$response[9], $authorizeaim->displayName, $message, NULL, NULL, false, $customer->secure_key);
}
else
$authorizeaim->validateOrder((int)$cart->id, Configuration::get('PS_OS_ERROR'), (float)$response[9], $authorizeaim->displayName, $message, NULL, NULL, false, $customer->secure_key);