class PayPalPaymentIPNTestPaymentMethodController in PayPal for Payment 7
A dummy class that simply implements PayPalPaymentIPNPaymentMethodControllerInterface.
Hierarchy
- class \PaymentMethodController
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PaymentMethodController:: |
public | property | Default values for the controller_data property of a PaymentMethod that uses this controller. | 1 |
PaymentMethodController:: |
public | property | An array with ISO 4217 currency codes that this controller supports. | |
PaymentMethodController:: |
public | property | A human-readable plain text description of this payment method controller. | |
PaymentMethodController:: |
public | property | The machine name. | |
PaymentMethodController:: |
public | property | The function name of the payment configuration form elements. | 1 |
PaymentMethodController:: |
public | property | The function name of the payment method configuration form elements. | 1 |
PaymentMethodController:: |
public | property | The human-readable plain text title. | |
PaymentMethodController:: |
static | function | Returns an array with the names of all available payment method controllers that inherit of this one. | |
PaymentMethodController:: |
function | Execute a payment. | 2 | |
PaymentMethodController:: |
function | Validate a payment against a payment method and this controller. Don't call directly. Use PaymentMethod::validate() instead. | 2 | |
PayPalPaymentIPNTestPaymentMethodController:: |
public static | function |
Processes an IPN for a payment. Overrides PayPalPaymentIPNPaymentMethodControllerInterface:: |
|
PayPalPaymentIPNTestPaymentMethodController:: |
public static | function |
Validates IPN message variables for a payment. Overrides PayPalPaymentIPNPaymentMethodControllerInterface:: |
|
PayPalPaymentIPNTestPaymentMethodController:: |
public | function | Constructs a new instance. |