You are here

class PayPalPaymentIPNTestPaymentMethodController in PayPal for Payment 7

A dummy class that simply implements PayPalPaymentIPNPaymentMethodControllerInterface.

Hierarchy

Expanded class hierarchy of PayPalPaymentIPNTestPaymentMethodController

4 string references to 'PayPalPaymentIPNTestPaymentMethodController'
PayPalPaymentIPNControllerTest::testProcess in paypal_payment_ipn/tests/PayPalPaymentIPNControllerTest.test
Test process().
PayPalPaymentIPNControllerTest::testValidate in paypal_payment_ipn/tests/PayPalPaymentIPNControllerTest.test
Tests validate().
PayPalPaymentIPNListener::testIPNListener in paypal_payment_ipn/tests/PayPalPaymentIPNListener.test
Tests the IPN listener.
paypal_payment_ipn_test_payment_method_controller_info in paypal_payment_ipn_test/paypal_payment_ipn_test.module
Implements hook_payment_method_controller_info().

File

paypal_payment_ipn_test/includes/PayPalPaymentIPNTestPaymentMethodController.inc, line 10

View source
class PayPalPaymentIPNTestPaymentMethodController extends PaymentMethodController implements PayPalPaymentIPNPaymentMethodControllerInterface {

  /**
   * Constructs a new instance.
   */
  public function __construct() {
    $this->title = __CLASS__;
  }

  /**
   * {@inheritdoc}
   */
  public static function PayPalValidateIPNVariables(Payment $payment, array $ipn_variables) {
    return TRUE;
  }

  /**
   * {@inheritdoc}
   */
  public static function PayPalProcessIPN(Payment $payment, array $ipn_variables) {
  }

}

Members

Namesort descending Modifiers Type Description Overrides
PaymentMethodController::$controller_data_defaults public property Default values for the controller_data property of a PaymentMethod that uses this controller. 1
PaymentMethodController::$currencies public property An array with ISO 4217 currency codes that this controller supports.
PaymentMethodController::$description public property A human-readable plain text description of this payment method controller.
PaymentMethodController::$name public property The machine name.
PaymentMethodController::$payment_configuration_form_elements_callback public property The function name of the payment configuration form elements. 1
PaymentMethodController::$payment_method_configuration_form_elements_callback public property The function name of the payment method configuration form elements. 1
PaymentMethodController::$title public property The human-readable plain text title.
PaymentMethodController::descendants static function Returns an array with the names of all available payment method controllers that inherit of this one.
PaymentMethodController::execute function Execute a payment. 2
PaymentMethodController::validate function Validate a payment against a payment method and this controller. Don't call directly. Use PaymentMethod::validate() instead. 2
PayPalPaymentIPNTestPaymentMethodController::PayPalProcessIPN public static function Processes an IPN for a payment. Overrides PayPalPaymentIPNPaymentMethodControllerInterface::PayPalProcessIPN
PayPalPaymentIPNTestPaymentMethodController::PayPalValidateIPNVariables public static function Validates IPN message variables for a payment. Overrides PayPalPaymentIPNPaymentMethodControllerInterface::PayPalValidateIPNVariables
PayPalPaymentIPNTestPaymentMethodController::__construct public function Constructs a new instance.