Jump to content

Exception on hook paymentOptions for module


KennethB.

Recommended Posts

Hello all,

 

Over the last 3 days I have received the following error in Prestashop (version 1.7.7.5, PHP 7.3, using standard checkout procedure with the Mollie module v4.3.1):

Error (3)      Exception on hook paymentOptions for module . [2021-09-12T20:04:59+0200] Curl error: Resolving timed out after 2000 milliseconds

 

What can I do to research this?

Is this server/webhosting related, network related, Prestashop 1.7.7.5 related or Mollie payment module related, ... or just bad luck that it occured while a customer wanted to perform step 4 'payment' using the standard PS 1.7.7.5 checkout and that I will have to learn to live with?

 

Link to comment
Share on other sites

On 9/14/2021 at 2:56 PM, El Patron said:

the curl time out needs to be upped, 2 seconds is pretty short depending on what the call is and process remote platform.

learn more from this search

https://www.google.com/search?q=setting+php+curl+timeout&oq=setting+php+curl+timeout&aqs=chrome..69i57j0i22i30l3.4120j1j7&sourceid=chrome&ie=UTF-8

Ok, thank you for the tip!

I've crawled through some of the information already and I know there is no single, correct answer to my next question but I'll try anyway: what would be a sensible timeout value instead of the 2 seconds used in the Mollie payment module? 


I've seen suggestions of using 'no limits' but then I read stories about people working on servers and having to kill off year-old curl requests that kept on running and running so 'no limit' is no good either, of course.

Any suggestions?

Edited by KBruyninckx (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...