Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. public static function validatePaymentInstrument($payment_processor_id, $values, &$errors, $billing_profile_id) {
  2. $payment = CiviPaymentSystem::singleton()->getById($payment_processor_id);
  3. $payment->setBillingProfile($billing_profile_id);
  4. $payment->validatePaymentInstrument($values, $errors);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement