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
Using the Commerce Mollie plugin, most payments get completed without any problems. However, some payments throw the error ('payment error:'), with no further explanation.
After some searching, this is what causes the problem. The response of $gateway->completePurchase($transaction) (line 357 of commerce/src/services/Payments.php) contains the following bit of information:
["multiErrors":protected]=> array(4) { [1]=> array(2) { [0]=> string(16) "CURLM_BAD_HANDLE" [1]=> string(49) "The passed-in handle is not a valid CURLM handle." } [2]=> array(2) { [0]=> string(21) "CURLM_BAD_EASY_HANDLE" [1]=> string(165) "An easy handle was not good/valid. It could mean that it isn't an easy handle at all, or possibly that the handle already is in used by this or another multi handle." } [3]=> array(2) { [0]=> string(19) "CURLM_OUT_OF_MEMORY" [1]=> string(15) "You are doomed." } [4]=> array(2) { [0]=> string(20) "CURLM_INTERNAL_ERROR" [1]=> string(66) "This can only be returned if libcurl bugs. Please report it to us!" } }
I don't know if I should file this issue here, or under Craft Commerce. Could you look into this?
The text was updated successfully, but these errors were encountered:
Using the Commerce Mollie plugin, most payments get completed without any problems. However, some payments throw the error ('payment error:'), with no further explanation.
After some searching, this is what causes the problem. The response of
$gateway->completePurchase($transaction)
(line 357 of commerce/src/services/Payments.php) contains the following bit of information:["multiErrors":protected]=> array(4) { [1]=> array(2) { [0]=> string(16) "CURLM_BAD_HANDLE" [1]=> string(49) "The passed-in handle is not a valid CURLM handle." } [2]=> array(2) { [0]=> string(21) "CURLM_BAD_EASY_HANDLE" [1]=> string(165) "An easy handle was not good/valid. It could mean that it isn't an easy handle at all, or possibly that the handle already is in used by this or another multi handle." } [3]=> array(2) { [0]=> string(19) "CURLM_OUT_OF_MEMORY" [1]=> string(15) "You are doomed." } [4]=> array(2) { [0]=> string(20) "CURLM_INTERNAL_ERROR" [1]=> string(66) "This can only be returned if libcurl bugs. Please report it to us!" } }
I don't know if I should file this issue here, or under Craft Commerce. Could you look into this?
The text was updated successfully, but these errors were encountered: