Mollie paymend provider

Hi,

I use payment provider mollie and worked fine until now. Now i get an error:

I hope someone could help.

An uncaught Exception was encountered

Type: Guzzle\Http\Exception\CurlException

Message: [curl] 60: Peer’s Certificate issuer is not recognized. [url] https://api.mollie.nl/v1/payments

Filename: /home/bb/domains/domeinl/private_html/facturatie/vendor/guzzle/guzzle/src/Guzzle/Http/Curl/CurlMulti.php

Line Number: 359

This is related to “Curl”

Have a read here:
https://ep.gnt.md/index.php/curl-60-peers-certificate-issuer-is-not-recognized/

When/where does this error occur?

the error occur when you press the pay button

Kind regards,
Bass

I cant test this here as I dont use Mollie as a Payment Provider.
Where do you get this Payment provider from? Is someone maintaining it?

Also pls some more infos about your System and Applikation:

  • OS?
  • PHP version?
  • IP version?

Thanks for your quick reply Martin.

The Payment provider is included in invoiceplane for a long time and I use CenOs7, php72, ip4

Sorry which “IP version” means “InvoicePlane version
Also when was this error coming up for the first time?

Since a application update or after switching servers or after changing to another PHP version?

Hi, I think I found the real root of the issue and I also think I already solved it.

Pls do as described here:

  1. Navigate in your Server to the Folder
    /vendor/guzzle/guzzle/src/Guzzle/Http/Curl/
  2. Edit the File
    Client.php
  3. Navigate to line 140
  4. comment it out! (adding // at the beginning)

Explanation:
Mollie is based on guzzle but unfortunely on a very old version.
This version does include a own cacert file (which is outdated) and uses it by default!
If you comment out the line it will fallback to the Systems cacert (which is up to date) and should work again.

Pls test and report back asap

Hi, there is no file called client.php maybe because i use latest version of IP 1.5.10

Hi, i found the file (one level higher) and indeed it solved the problem :slight_smile:

unfortunately i get error after the last step same as (Mollie payment help! 1.5.9)

If you give me your email i can send you a test api key so you can see it your self if you want

Let me have a closer look into it the next days.
But if your issue now it the same as the one from the others, they have solved it, it seems so I asked them what they did so we can use the Patch/Fix for everyone

thanks, if you need any info or a test apiKey please let me now.

Hi Martin,

Is there any news yet?

Comment out wil not the solution of your problem, Change that back to original state and change line 141 from true to false. Then it will work with Mollie again.

141 $opts[CURLOPT_SSL_VERIFYPEER] = false;

thanks a lot