You are here

pay_method_custom.inc in Pay 7

Same filename and directory in other branches
  1. 6 includes/handlers/pay_method_custom.inc

The base class for manual payment activities.

File

includes/handlers/pay_method_custom.inc
View source
<?php

/**
 * @file
 * The base class for manual payment activities.
 */
class pay_method_custom extends pay_method {
  function settings_form(&$form, &$form_state) {
    parent::settings_form($form, $form_state);

    // Eliminate the 'authorized' option from the settings.
    $group = $this
      ->handler();
    unset($form[$group]['pay_form_action']['#options']['authorize']);
  }

}

Classes

Namesort descending Description
pay_method_custom @file The base class for manual payment activities.