function pay_method_direct::authorize_action in Pay 7
Same name and namespace in other branches
- 6 includes/handlers/pay_method_direct.inc \pay_method_direct::authorize_action()
Create a stub method to ensure that do_action('authorize') is executed. If your subclass wants to change, store, or fixup data before it's sent to the gateway, do it by overriding this method.
The 'real' work will be done in the form_submit() function.
File
- includes/
handlers/ pay_method_direct.inc, line 47 - The base class for 'direct' payment activities, where payments are collected on third-party sites such as PayPal, and the responses are returned to Drupal on a URL callback.
Class
- pay_method_direct
- @file The base class for 'direct' payment activities, where payments are collected on third-party sites such as PayPal, and the responses are returned to Drupal on a URL callback.
Code
function authorize_action($values = array()) {
$this
->set_direct_pending($values);
}