Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-32922

paypal plugin send notice doesn't work

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.2
    • None
    • Enrolments
    • None
    • MOODLE_22_STABLE

    Description

      Under paypal plugin, file ipn.php has function message_paypal_error_to_admin($subject, $data) which calls function message_send($eventdata). It will throw error because $eventdata->component=enrol_paypol $eventdata->name=paypol_enrolment combination doesn't
      exist in the message_provider table.
      To fix the problem, under db directory, you should provide messages.php to define this component,something like $messageproviders = array (

      /// paypal notice
      'paypal_enrolment' => array ()

      ); and in language file to define the name paypal_enrolment, then upgrade this plugin with new version.

      Attachments

        Issue Links

          Activity

            People

              andyjdavis Andrew Davis
              yc5x Ye Chen
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: