public function doProcessCards()
	{
		$pan = $this->payment->pan;
		$this->payment->mask('pan');

		$type = new Type($this->payment->type, $this->payment->toArray());
		$fields = $type->fields();
		if (!in_array('pan', $fields)) {
			return '00';
		}

		$cvc = $this->payment->cvc;
		$rc = BankCard::doCheckCard($pan, $cvc);

		if ($rc !== '00') {
			return $rc;
		}

		if ($type->sid() == Type::SALE) {
			$to = $this->payment->to;
			if ($to) {
				$rc = BankCard::doCheckCard($to);
			}
		}

		return $rc;

	}