Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static function validatePaymentInstrument($payment_processor_id, $values, &$errors, $billing_profile_id) {
- $payment = CiviPaymentSystem::singleton()->getById($payment_processor_id);
- $payment->setBillingProfile($billing_profile_id);
- $payment->validatePaymentInstrument($values, $errors);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement