You are here

PayPalPaymentIPNTestPaymentMethodController.inc in PayPal for Payment 7

File

paypal_payment_ipn_test/includes/PayPalPaymentIPNTestPaymentMethodController.inc
View source
<?php

/**
 * Contains \PayPalPaymentIPNTestPaymentMethodController.
 */

/**
 * A dummy class that simply implements PayPalPaymentIPNPaymentMethodControllerInterface.
 */
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) {
  }

}

Classes

Namesort descending Description
PayPalPaymentIPNTestPaymentMethodController A dummy class that simply implements PayPalPaymentIPNPaymentMethodControllerInterface.