function payment_webform_payment_finish in Payment for Webform 7
Implements Payment::finish_callback.
1 string reference to 'payment_webform_payment_finish'
- payment_webform_page_payment in ./
payment_webform.module - Return a payment page for a field instance.
File
- ./
payment_webform.module, line 232 - Hook implementations and shared functions.
Code
function payment_webform_payment_finish(Payment $payment) {
payment_webform_insert($payment->context_data['cid'], $payment->pid);
$_SESSION['payment_webform_pid'] = $payment->pid;
drupal_goto('payment_webform/finish');
}