We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

View | Details | Raw Unified | Return to bug 6598 | Differences between
and this patch

Collapse All | Expand All

(-)plugins/paymethod/paypal/PayPalPlugin.orig.inc.php (-3 / +10 lines)
 Lines 210-215    Link Here 
210
								// Send the registrant a notification that their payment was received
210
								// Send the registrant a notification that their payment was received
211
								$schedConfSettingsDao =& DAORegistry::getDAO('SchedConfSettingsDAO');
211
								$schedConfSettingsDao =& DAORegistry::getDAO('SchedConfSettingsDAO');
212
212
213
								// Get registrant name and email
214
								$userDao =& DAORegistry::getDAO('UserDAO');
215
								$user =& $userDao->getUser($queuedPayment->getuserId());
216
								$registrantName = $user->getFullName();
217
								$registrantEmail = $user->getEmail();
218
219
								// Get conference contact details
213
								$schedConfId = $schedConf->getId();
220
								$schedConfId = $schedConf->getId();
214
								$registrationName = $schedConfSettingsDao->getSetting($schedConfId, 'registrationName');
221
								$registrationName = $schedConfSettingsDao->getSetting($schedConfId, 'registrationName');
215
								$registrationEmail = $schedConfSettingsDao->getSetting($schedConfId, 'registrationEmail');
222
								$registrationEmail = $schedConfSettingsDao->getSetting($schedConfId, 'registrationEmail');
 Lines 225-232    Link Here 
225
								$registrationContactSignature .= "\n" . Locale::Translate('user.email') . ': ' . $registrationEmail;
232
								$registrationContactSignature .= "\n" . Locale::Translate('user.email') . ': ' . $registrationEmail;
226
233
227
								$paramArray = array(
234
								$paramArray = array(
228
									'registrantName' => $contactName,
235
									'registrantName' => $registrantName,
229
									'schedConfName' => $schedConfName,
236
									'conferenceName' => $schedConf->getFullTitle(),
230
									'registrationContactSignature' => $registrationContactSignature
237
									'registrationContactSignature' => $registrationContactSignature
231
								);
238
								);
232
239
 Lines 234-240    Link Here 
234
								$mail = new MailTemplate('MANUAL_PAYMENT_RECEIVED');
241
								$mail = new MailTemplate('MANUAL_PAYMENT_RECEIVED');
235
								$mail->setFrom($registrationEmail, $registrationName);
242
								$mail->setFrom($registrationEmail, $registrationName);
236
								$mail->assignParams($paramArray);
243
								$mail->assignParams($paramArray);
237
								$mail->addRecipient($contactEmail, $contactName);
244
								$mail->addRecipient($registrantEmail, $registrantName);
238
								$mail->send();
245
								$mail->send();
239
246
240
								exit();
247
								exit();

Return to bug 6598