You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No order created in Magento 2 but payment made on Laybuys end.
You have no try catches or handling of errors!
So when there is a REST API timeout during a checkout such as in method laybuyConfirm used in execute method the inside code of your condition is not executed as everything bombs out, yet the payment was successfully captured on Laybuys end.
No order created in Magento 2 but payment made on Laybuys end.
You have no try catches or handling of errors!
So when there is a REST API timeout during a checkout such as in method laybuyConfirm used in execute method the inside code of your condition is not executed as everything bombs out, yet the payment was successfully captured on Laybuys end.
The default timeout for Zend Http Client is 10 seconds.
https://framework.zend.com/manual/1.12/en/zend.http.client.html
Maybe this could also be set higher as a work-around?
I'm not sure what caused it to not complete in that time but it happened.
Possible work-around, but really should have error handling.
Laybuy\Gateway\Http|\RestClient.php set a timeout.
Log lines.
The text was updated successfully, but these errors were encountered: