Notes on Timeout Settings
While Worldpay optimizes our systems to ensure the return of Authorization responses as quickly as possible, some portions of the process are beyond our control. The round-trip time of an Authorization can be broken down into three parts, as follows:
-
Transmission time (across the Internet) to Worldpay and back to the merchant
-
Processing time by the card association or authorization provider
-
Processing time by Worldpay
Typically, the transmission time to and from Worldpay does not exceed 0.6 seconds and processing time by Worldpay occurs in 0.1 seconds. The processing time by the card association or authorization provider can take between 0.5 and 3 seconds, but some percentage of transactions may take significantly longer.
Because the total processing time can vary due to a number of factors, Worldpay recommends using a timeout setting of 20 seconds for cnpAPI transactions. These settings should ensure that you do not disconnect prior to receiving a valid authorization, causing dropped orders and/or re-auths and duplicate auths.
While it is uncommon, under certain circumstances network latency may cause a duplicate Online Sale transaction to go undetected as a duplicate. This can occur if you submit a second, duplicate Sale transaction while the response from the network for the Authorization portion of the first transaction is sufficiently delayed such that the first Sale has not been recorded as a valid transaction in the system.
If you elect to submit Online Sale transactions, Worldpay recommends waiting not less than 60 seconds before resubmitting the transaction to reduce the chances of undetected duplicate Sale transactions.