Issue with authOrderPayments service

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Issue with authOrderPayments service

Pradeep Chaudhary
The processPayment method in CheckOutHelper invokes authOrderPayments
service with timeout of 180 seconds. authOrderPayments service
internally invokes authOrderPaymentPreference service which  finally
invokes payment processing service specific for a product store and
payment method type with a timeout of 300 seconds.

1. This seems to be a bug in the implementation. As per my
understanding the wrapper service timeout should be more than the
internal service timeout period.

2. What will be timeout period for authOrderPaymentPreference service
in the above situation. Will it be 180 or the default timeout period ?

3. In case of timeout error from authorization service provider the
authOrderPaymentPreference service rolls back and order status is not
updated. Also no entry is made in PaymentGatewayResponse table.
How should I change the service implementation to handle timeout error
from authorization service provider side ?

Any help is appreciated.