-
Bug
-
Resolution: Fixed
-
Minor
-
2.1.3, 2.2.6, 2.3.3, 2.4
-
MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
w49_
MDL-31424_m25_paypalcase -
-
This code in enrol/paypal/ipn.php:
if ($data->business != $plugin->get_config('paypalbusiness')) { // Check that the email is the one we want it to be
|
message_paypal_error_to_admin("Business email is {$data->business} (not ".
|
$plugin->get_config('paypalbusiness').")", $data);
|
die;
|
}
|
causes the IPN to fail and Paypal reports a 404 when the email addresses are the same except for capitalization. For example, one in camelcase and one in lowercase. Since a difference merely of capitalization does not cause a problem with the IPN, both strings should be forced to the same case before comparing them. This will prevent IPNs from failing unnecessarily.
- is blocked by
-
MDL-35456 PayPal discarding use of HTTP 1.0 protocol and requires HOST, Sandbox already set to refuse IPN without
-
- Closed
-