function pay_pay_activity_create in Pay 6
Same name and namespace in other branches
- 7 includes/pay.trigger.inc \pay_pay_activity_create()
Implementation of hook_pay_activity_create().
File
- includes/
pay.trigger.inc, line 44 - Implements hooks that are pertinent to the trigger module.
Code
function pay_pay_activity_create(&$activity) {
// To respond by form, we must get the pfid of the transaction and then load
$transaction = $activity
->pay_transaction();
$pay_form = $transaction
->pay_form();
pay_actions_do($pay_form
->handler() . '_activity_create', $transaction);
}