You are here

interface PayPalPaymentIPNPaymentMethodControllerInterface in PayPal for Payment 7

Provides IPN for payment methods.

Hierarchy

Expanded class hierarchy of PayPalPaymentIPNPaymentMethodControllerInterface

All classes that implement PayPalPaymentIPNPaymentMethodControllerInterface

File

paypal_payment_ipn/includes/PayPalPaymentIPNPaymentMethodControllerInterface.inc, line 10

View source
interface PayPalPaymentIPNPaymentMethodControllerInterface {

  /**
   * Validates IPN message variables for a payment.
   *
   * @param Payment $payment
   * @param array $ipn_variables
   *
   * @return bool
   *   Whether the IPN variables are valid.
   */
  public static function PayPalValidateIPNVariables(Payment $payment, array $ipn_variables);

  /**
   * Processes an IPN for a payment.
   *
   * @param Payment $payment
   * @param array $ipn_variables
   *
   * @return NULL
   */
  public static function PayPalProcessIPN(Payment $payment, array $ipn_variables);

}

Members

Namesort descending Modifiers Type Description Overrides
PayPalPaymentIPNPaymentMethodControllerInterface::PayPalProcessIPN public static function Processes an IPN for a payment. 3
PayPalPaymentIPNPaymentMethodControllerInterface::PayPalValidateIPNVariables public static function Validates IPN message variables for a payment. 3