dualcube / moodle-enrol_stripepayment

Moodle Stripe Payment Collector
16 stars 27 forks source link

Enabling a custom welcome message #128

Closed jimcrammond closed 10 months ago

jimcrammond commented 1 year ago

Please consider incorporating the attached patch for enabling a custom welcome message to be generated to email the user on enrolment. The patch is modeled on identical functionality in the self enrolment plugin.

The patch itself is built on version 3.3.5 but will apply correctly with version 3.4.1 and 3.4.2.

stripepayment-welcome-msg.patch

moumitahalder commented 1 year ago

@jimcrammond, our team will look into this. We will keep you posted.

sangeeyeah commented 1 year ago

Hi Team, When installed on Ubuntu + Apache + PHP 8.2 FPM FastCGI + Moodle 4.1.3, the following error is generated.

{"exception":"Error","message":"Attempt to assign property \"course\" on null"}

The enrolment is successful, but this error message is displayed in text format. Perhaps this is a PHP 8.2 compatibility issue?

jimcrammond commented 1 year ago

The last two comments are nothing to do with issue #128 and should either be associated with issue #127 or filed as a separate ticket