[Magento 2] Authorized.net completion pending or error issue ( Not moving to next page.)

The Magento 2 improves in many ways but it is still lagging with many small issues to use properly.
The major credit card processing that is the Authorized.net direct post way which is processing properly at the backend.
I can see the transaction that is successfully in placed at the authrozed.net and admin console got the order properly.
but the page was not moving at all after the completion of payment from the client side.

The solution should be temporaly but it is working fine at this moment.
The Magento version is 2.1.1 and authorized.net direct post.

From /shop/vendor/magento/module-authorizenet/Model/Directpost.php,
You should comment out the $this->checkTransId(); as below sameple;

protected function processOrder(\Magento\Sales\Model\Order $order)
try {
} catch (\Exception $e) {
//decline the order (in case of wrong response code) but don’t return money to customer.
$message = $e->getMessage();
$this->declineOrder($order, $message, false);
throw $e;

Transactions of this market type cannot be processed on this system with woocommerce

The below is the detail description from authorized.net’s site.


Response Reason Text: Transactions of this market type cannot be processed on this system.

Notes: The server is not configured to process the product type derived from the market type of this transaction.

This can happen for four reasons:

  1. You are attempting to process a type of transaction that your account is not designed to process. For example, you attempt to use a card swipe machine with an account that is enabled for Card Not Present transactions.
  2. Your software integration is passing an incorrect value for the field x_market_type. If you are using a Retail account, x_market_type should be set to a value of “2”. The integration guide for Card Present transactions can be found at http://www.authorize.net/support/CP_guide.pdf.
  3. Your Merchant Service Provider may be incorrectly set up for this account.
  4. The product type (SIC code) is incorrect for this account.

It is recommended to check the posting URL that is being used for your integration. Please consult the guide for the integration method you are using to verify the correct posting URL.

To help troubleshoot this issue, you can confirm the Product Type for your account using the following steps:

  1. Log in to your account at https://account.authorize.net.
  2. Click Account from the main toolbar.
  3. Click Merchant Profile.
  4. Refer to the Product Type listed under Business Information.



Actual solution you can do is reset yhe authroized.net account type as;

  1. Card not present
  2. Set as the MOTO instead of Retails.

This will remove the issue  as above.