public property Payment::$finish_callback in Payment 7
The name of a function to call when payment execution is completed, regardless of the payment status. It receives one argument:
- $payment Payment The Payment object.
The callback does not need to return anything and is free to redirect the user or display something. Use Payment::context_data to pass on arbitrary data to the finish callback.
Type: string
File
- ./
payment.classes.inc, line 76 - The API and related functions for executing and managing payments.
Class
- Payment
- A single payment. Contains all payment-specific data.
Code
public $finish_callback = '';