alexmorrisnz / moodle-paygw_stripe

https://moodle.org/plugins/paygw_stripe
10 stars 12 forks source link

Compatibility Issue with Moodle 4.5 #36

Open vsalgadinho opened 5 days ago

vsalgadinho commented 5 days ago

Hi Alex,

I'm currently in the process of upgrading Moodle to version 4.5, but I've encountered an issue related to the Stripe payment gateway plugin. During the upgrade, I received the following error:

`Exception - Undefined constant "MESSAGE_DEFAULT_LOGGEDIN"

Stack trace: line 30 of /payment/gateway/stripe/db/messages.php: Error thrown line 692 of /lib/messagelib.php: call to require() line 487 of /lib/messagelib.php: call to message_get_providers_from_file() line 629 of /lib/upgradelib.php: call to message_update_processors() line 771 of /lib/upgradelib.php: call to upgrade_component_updated() line 1937 of /lib/upgradelib.php: call to upgrade_plugins() line 719 of /admin/index.php: call to upgrade_noncore()`

Could you let me know if there's an update planned for the Stripe payment gateway plugin to ensure compatibility with Moodle 4.5?

Thanks in advance for your help!

vsalgadinho commented 5 days ago

Just an update on the issue I previously reported. This occurred while using Stripe version 1.24. I attempted to upgrade to Stripe version 1.26, and the upgrade process for Moodle 4.5 was then successful without any errors.