Support is offline. We are back Monday 16 November, 09:00.

Error Jdideal/Psp/Mollie/vendor/autoload.php not found #72002

Resolved webwerk opened this topic Sunday, 26 June 2022 · 7 replies
Author

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/www.mydomain.nl/libraries/Jdideal/Psp/Mollie/vendor/autoload.php): failed to open stream: No such file or directory in /home/public/sites/www.mydomain.nl/libraries/Jdideal/Recurring/Mollie.php on line 68

Fatal error: require_once(): Failed opening required '/home/public/sites/www.mydomain.nl/libraries/Jdideal/Psp/Mollie/vendor/autoload.php' (include_path='.:/usr/share/php') in /home/public/sites/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

Support

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

Author

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

Support

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

Author

Hi Roland,

Is the customer the one who has the mollie account? Because all customers of the site should be new ones ;-)

Support

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

Author

Problem solved. E-mail address was used before. Test with a fresh address resolved the issue.

Thanks!!

Support

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

Log in to reply to this topic.