Hi,
I have a modification in the checkout_process.php and would like to know how (or if?) its possible to code it into the Paypal IPN module. I've tried copy and paste but that doesn't work. Thanks in advance for any help.
The modification is:
$file_extension = $_SESSION['format'] ? $_SESSION['format'] : $formats->defaultFormat();
$sql_data_array = array('orders_id' => $insert_id,
'orders_products_id' => $order_products_id,
'orders_products_filename' => $attributes_values['products_attributes_filename'].'.'.$file_extension,
'download_maxdays' => $attributes_values['products_attributes_maxdays'],
'download_count' => $attributes_values['products_attributes_maxcount']);
tep_db_perform(TABLE_ORDERS_PRODUCTS_DOWNLOAD, $sql_data_array);
}
$products_ordered_attributes .= "\n\t" . $attributes_values['products_options_name'] . ' ' . $attributes_values['products_options_values_name'];
}
}