public function PayPalPaymentECPaymentMethodController::validate in PayPal for Payment 7
Validate a payment against a payment method and this controller. Don't call directly. Use PaymentMethod::validate() instead.
Parameters
Payment $payment:
PaymentMethod $payment_method:
boolean $strict: Whether to validate everything a payment method needs or to validate the most important things only. Useful when finding available payment methods, for instance, which does not require unimportant things to be a 100% valid.
Throws
Overrides PaymentMethodController::validate
See also
File
- paypal_payment_ec/
includes/ PayPalPaymentECPaymentMethodController.inc, line 76
Class
- PayPalPaymentECPaymentMethodController
- A PayPal Express Checkout payment method.
Code
public function validate(Payment $payment, PaymentMethod $payment_method, $strict) {
}