function hook_commerce_payment_transaction_presave in Commerce Core 7
Allows you to prepare payment transaction data before it is saved.
Parameters
$transaction: The payment transaction object to be saved.
See also
File
- modules/
payment/ commerce_payment.api.php, line 378 - Hooks provided by the Payment module.
Code
function hook_commerce_payment_transaction_presave($transaction) {
// No example.
}