How to Fix Transaction Timeout in Php

Calling the authorize.net api, I've encountered this error:

An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.

Solution:

Add this line to your .htaccess:


php_value max_execution_time 18000


Seems the request timeouts before the authorize.net can send back its response.

1 Comments

  1. hi
    i am kamesh.same issues affect to me.
    i copy that code in htaccess.but no response same error occurred.

    ReplyDelete

Post a Comment

Post a Comment

Previous Post Next Post
NERV Open Source
Building production Spring Boot systems?

Explore NERV — open-source Java libraries for audit trails, persistence, exception handling, and reliable event-driven architecture.