Magento 2: Authorize.Net : Транзакция была отклонена. Пожалуйста, повторите попытку позже


Я на Magento 2.3.2, Используя Authorize.Net [sandbox] в качестве способа оплаты, я не могу разместить заказ, потому что я получаю ошибку Transaction has been declined. Please try again later., я вижу, что мой payment.log я получил это.

[2019-10-03 15:32:01] main.DEBUG: array (
  'request' => 
  array (
    'payload_type' => 'createTransactionRequest',
    'merchantAuthentication' => 
    array (
      'name' => '8RxFRSXd70A',
      'transactionKey' => '4469UffsC425Oc5A',
    ),
    'transactionRequest' => 
    array (
      'transactionType' => 'authOnlyTransaction',
      'amount' => '34.00',
      'payment' => 
      array (
        'opaqueData' => 
        array (
          'dataDescriptor' => NULL,
          'dataValue' => NULL,
        ),
      ),
      'solution' => 
      array (
        'id' => 'HHH102003',
      ),
      'order' => 
      array (
        'invoiceNumber' => '000002288',
      ),
      'poNumber' => NULL,
      'customer' => 
      array (
        'id' => '532',
        'email' => '[email protected]',
      ),
      'billTo' => 
      array (
        'firstName' => 'NoName',
        'lastName' => 'Test',
        'company' => 'NoName',
        'address' => '62 Chelsea Piers   ',
        'city' => 'New York',
        'state' => 'NY',
        'zip' => '10011',
        'country' => 'US',
      ),
      'shipTo' => 
      array (
        'firstName' => 'NoName',
        'lastName' => 'Test',
        'company' => 'NoName',
        'address' => '62 Chelsea Piers   ',
        'city' => 'New York',
        'state' => 'NY',
        'zip' => '10011',
        'country' => 'US',
      ),
      'customerIP' => '127.43.456.21',
      'userFields' => 
      array (
        'userField' => 
        array (
          0 => 
          array (
            'name' => 'transactionType',
            'value' => 'authOnlyTransaction',
          ),
        ),
      ),
    ),
  ),
  'response' => '{"transactionResponse":{"SupplementalDataQualificationIndicator":0},"messages":{"resultCode":"Error","message":[{"code":"E00076","text":"dataDescriptor contains invalid value."},{"code":"E00076","text":"dataValue contains invalid value."}]}}',
) [] []

Получение НУЛЕВОГО значения

      'payment' => 
      array (
        'opaqueData' => 
        array (
          'dataDescriptor' => NULL,
          'dataValue' => NULL,
        ),
      ),

Ответ

'response' => 
    '{"transactionResponse":{"SupplementalDataQualificationIndicator":0},
    "messages":{"resultCode":"Error","message":[
    {"code":"E00076","text":"dataDescriptor contains invalid value."},
    {"code":"E00076","text":"dataValue contains invalid value."}]}}',

Кроме того, я получаю их в своей сети

enter image description here enter image description here enter image description here enter image description here

Author: Partab Saifuddin Zakir, 2019-10-03

1 answers

Я столкнулся с подобной проблемой, подобной этой, я пытался решить свою таким образом, вы можете попробовать, пожалуйста, выполните следующие действия.

Шаг 1: Перейдите в Магазин панели администратора > Конфигурация > Продажи > Оплата Метод. Шаг 2: Выберите Просмотр магазина в качестве основного веб-сайта.

enter image description here

Шаг 3: Установите все флажки, если они не такие, как Use Default

enter image description here

Надеюсь, это поможет вам. Спасибо

 4
Author: Ranjeet Kumar, 2019-10-04 15:41:40