cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2: Authorize.Net: Transaction has been declined. Please try again later

Magento 2: Authorize.Net: Transaction has been declined. Please try again later

I'm on Magento 2.3.2, Using Authorize.Net [sandbox] as my payment method, I'm unable to place order because I'm getting an error Transaction has been declined. Please try again later., I see my payment.log i got this.

 

[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' => 'qamar@noname.com',
      ),
      '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":{"SuppplementalDataQualificationInndicator":0},"messages":{"resultCode":"Error","message":[{"code":"E00076","text":"dataDescriptor contains invalid value."},{"code":"E00076","text":"dataValue contains invalid value."}]}}',
) [] []

Getting NULL value

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

Response

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

Also i'm getting these in my Network

Screenshot from 2019-10-03 22-29-21.jpgScreenshot from 2019-10-03 22-29-31.jpgScreenshot from 2019-10-03 22-29-35.jpgScreenshot from 2019-10-03 22-30-49.jpg

 

2 REPLIES 2

Re: Magento 2: Authorize.Net: Transaction has been declined. Please try again later

@Partab SaifAre you using a custom checkout or one page checkout? If yes then there is definitely a conflict and extension provider must be able to help.

 

Let know otherwise.

- Tarandeep
Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.

Re: Magento 2: Authorize.Net: Transaction has been declined. Please try again later

Actually I'm using default checkout.


@Tarandeep Singh wrote:

@Partab SaifAre you using a custom checkout or one page checkout? If yes then there is definitely a conflict and extension provider must be able to help.

 

Let know otherwise.