1. webwerk
  2. RO Payments
  3. Sunday, 26 June 2022
  4.  Subscribe via email
Hi Roland,

I'm using RoPayments and the plugin for RSForm Pro on my site. When I send in a payment I get this error message:

Warning: require_once(/home/public/sites/http://www.mydomain.nl/libraries/Jdideal/Psp/Mollie/vendor/autoload.php): failed to open stream: No such file or directory in /home/public/sites/http://www.mydomain.nl/libraries/Jdideal/Recurring/Mollie.php on line 68

Fatal error: require_once(): Failed opening required '/home/public/sites/http://www.mydomain.nl/libraries/Jdideal/Psp/Mollie/vendor/autoload.php' (include_path='.:/usr/share/php') in /home/public/sites/http://www.mydomain.nl/libraries/Jdideal/Recurring/Mollie.php on line 68

The folder Mollie does not exisit in de Psp folder. (checked)

I've tried to reinstall both pakkage and plugin, but no luck.
Server is on php 7.4
Joomla is version 3.10.10

How can I resolve this issue.

By the way, in the backend I get a message that the notify.php file is not accessible (403). I can not find where it is beening blocked (standard joomla htacces). I don't know if this has something to do with it.

Regards,
Rachel
Accepted Answer
Accepted Answer Pending Moderation
Hello Rachel,

There are two different issues here.

First is the autoload error you get, this is a leftover from a cleanup that can be removed. You can open the file libraries/Jdideal/Recurring/Mollie.php and remove line 66, 67, 68. That is this code:

// Load Mollie
require_once JPATH_LIBRARIES
. '/Jdideal/Psp/Mollie/vendor/autoload.php';
This will fix the redirect to Mollie. A new release is coming out today or otherwise tomorrow where this is fixed as well. So you could also wait.

The second issue is something different. The backend tries to open the URL https://YOURSITE/cli/notify.php to check if the notify.php script is available. This check is done to make sure this script is reachable because Mollie will try to reach that URL as well. You can enter that URL in your browser as well and see if you can load it. The ouput you see is not important, just that it loads.

What could happen here is that it is not your htaccess blocking it but your server is blocking the call it makes to itself. What also could be the case is that the script is really not reachable. In that case you need to check why it is not reachable. Perhaps it is behind a login?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO Payments
  3. # Permalink
Accepted Answer Pending Moderation
Thanks for the quick reply.

I've removed the lines. Now I get this error:

[2022-06-27T10:33:11+0200] Error executing API call (410: Gone): The customer is no longer available. Field: customerId. Documentation: https://docs.mollie.com/reference/v2/payments-api/create-payment

I think I need to add something somewhere, but what? :D

With kind regards,
Rachel Walraven
  1. more than a month ago
  2. RO Payments
  3. # 1
Accepted Answer Pending Moderation
Hello Rachel,

The new error shows that it works :D

What this error is saying is that you tried to create a payment for a customer that no longer exists in Mollie. Check if the customer exists in Mollie first, second would be to check in RO Payments -> Customers what the customer number cst_ is there and if it matches the customer in Mollie.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO Payments
  3. # 2
Accepted Answer Pending Moderation
Hi Roland,

Is the customer the one who has the mollie account? Because all customers of the site should be new ones ;-)
  1. more than a month ago
  2. RO Payments
  3. # 3
Accepted Answer Pending Moderation
Hey Rachel,

In this case it is the customers in Mollie, so the ones who need to pay for something. If the message is that the customer is gone, it appears that it used to exists in Mollie.

Because all customers of the site should be new ones ;-)
That may be a little odd then :) This customer does not show up in the list of Customers in RO Payments? If that is the case, can you tell me how your flow is, so I can recreate it here and see what happens?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO Payments
  3. # 4
Accepted Answer Pending Moderation
Problem solved. E-mail address was used before. Test with a fresh address resolved the issue.

Thanks!!
  1. more than a month ago
  2. RO Payments
  3. # 5
Accepted Answer Pending Moderation
Hey Rachel,

Great to hear you found the issue. In the meantime RO Payments 8.0.1 has been released which fixes the autoloader error.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO Payments
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!