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 7188
Collapse All | Expand All

(-)a/plugins/paymethod/paypal/PayPalPlugin.inc.php (-1 / +2 lines)
 Lines 136-141   class PayPalPlugin extends PaymethodPlugin { Link Here 
136
				curl_setopt($ch, CURLOPT_HTTPHEADER, Array('Content-Type: application/x-www-form-urlencoded', 'Content-Length: ' . strlen($req)));
136
				curl_setopt($ch, CURLOPT_HTTPHEADER, Array('Content-Type: application/x-www-form-urlencoded', 'Content-Length: ' . strlen($req)));
137
				curl_setopt($ch, CURLOPT_POSTFIELDS, $req);
137
				curl_setopt($ch, CURLOPT_POSTFIELDS, $req);
138
				$ret = curl_exec ($ch);
138
				$ret = curl_exec ($ch);
139
				$curlError = curl_error($ch);
139
				curl_close ($ch);
140
				curl_close ($ch);
140
141
141
				// Check the confirmation response and handle as necessary.
142
				// Check the confirmation response and handle as necessary.
 Lines 276-282   class PayPalPlugin extends PaymethodPlugin { Link Here 
276
					$mail->assignParams(array(
277
					$mail->assignParams(array(
277
						'schedConfName' => $schedConf->getFullTitle(),
278
						'schedConfName' => $schedConf->getFullTitle(),
278
						'postInfo' => print_r($_POST, true),
279
						'postInfo' => print_r($_POST, true),
279
						'additionalInfo' => "Confirmation return: $ret",
280
						'additionalInfo' => "Confirmation return: $ret\nCURL error: $curlError",
280
						'serverVars' => print_r($_SERVER, true)
281
						'serverVars' => print_r($_SERVER, true)
281
					));
282
					));
282
					$mail->send();
283
					$mail->send();

Return to bug 7188