function pay_gateway_response in Pay 7
Same name and namespace in other branches
- 6 pay.module \pay_gateway_response()
Callback for pay activity responses.
1 string reference to 'pay_gateway_response'
- pay_menu_menu in includes/
pay.menu.inc - Implementation of hook_menu().
File
- ./
pay.module, line 542 - Pay module allows for accepting payments using pluggable payment backends.
Code
function pay_gateway_response($pay_activity) {
// Add an additional activity to the transaction to track the response.
$new_activity = $pay_activity
->pay_transaction()
->add_activity($pay_activity
->pay_method());
$new_activity
->do_activity('response', $_REQUEST);
}