12 use Magento\Payment\Helper\Formatter;
29 private $subjectReader;
40 $this->subjectReader = $subjectReader;
46 public function build(array $buildSubject)
50 $paymentDO = $this->subjectReader->readPayment($buildSubject);
51 $amount = $this->formatPrice($this->subjectReader->readAmount($buildSubject));
53 if ($this->is3DSecureEnabled($paymentDO->getOrder(),
$amount)) {
68 if (!$this->config->isVerify3DSecure(
$storeId)
75 $specificCounties = $this->config->get3DSecureSpecificCountries(
$storeId);
76 if (!empty($specificCounties) && !in_array(
$billingAddress->getCountryId(), $specificCounties)) {
build(array $buildSubject)
__construct(Config $config, SubjectReader $subjectReader)