Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php |
— | — | @@ -157,9 +157,9 @@ |
158 | 158 | $this->fnPayflowDisplayForm( $data, $this->errors ); |
159 | 159 | } else { // The submitted form data is valid, so process it |
160 | 160 | // allow any external validators to have their way with the data |
161 | | - wfDebugLog( 'payflowpro_gateway', 'Preparing to query MaxMind' ); |
| 161 | + wfDebugLog( 'payflowpro_gateway', $data[ 'order_id' ] . " Preparing to query MaxMind" ); |
162 | 162 | wfRunHooks( 'PayflowGatewayValidate', array( &$this, &$data ) ); |
163 | | - wfDebugLog( 'payflowpro_gateway', 'Finished querying Maxmind' ); |
| 163 | + wfDebugLog( 'payflowpro_gateway', $data[ 'order_id' ] . ' Finished querying Maxmind' ); |
164 | 164 | |
165 | 165 | // if the transaction was flagged for review |
166 | 166 | if ( $this->action == 'review' ) { |
— | — | @@ -221,7 +221,7 @@ |
222 | 222 | $tracked = $this->fnPayflowSaveContributionTracking( $data ); |
223 | 223 | if ( !$tracked ) { |
224 | 224 | $when = time(); |
225 | | - wfDebugLog( 'payflowpro_gateway', 'Unable to save data to the contribution_tracking table ' . $when ); |
| 225 | + wfDebugLog( 'payflowpro_gateway', $data[ 'order_id' ] . ' Unable to save data to the contribution_tracking table ' . $when ); |
226 | 226 | } |
227 | 227 | } |
228 | 228 | |
— | — | @@ -450,15 +450,15 @@ |
451 | 451 | $i = 1; |
452 | 452 | |
453 | 453 | while ( $i++ <= 3 ) { |
454 | | - wfDebugLog( 'payflowpro_gateway', 'Preparing to send transaction to PayflowPro' ); |
| 454 | + wfDebugLog( 'payflowpro_gateway', $data[ 'order_id' ] . ' Preparing to send transaction to PayflowPro' ); |
455 | 455 | $result = curl_exec( $ch ); |
456 | 456 | $headers = curl_getinfo( $ch ); |
457 | 457 | |
458 | 458 | if ( $headers['http_code'] != 200 && $headers['http_code'] != 403 ) { |
459 | | - wfDebugLog( 'payflowpro_gateway', 'Failed sending transaction to PayflowPro, retrying' ); |
| 459 | + wfDebugLog( 'payflowpro_gateway', $data[ 'order_id' ] . ' Failed sending transaction to PayflowPro, retrying' ); |
460 | 460 | sleep( 1 ); |
461 | 461 | } elseif ( $headers['http_code'] == 200 || $headers['http_code'] == 403 ) { |
462 | | - wfDebugLog( 'payflowpro_gateway', 'Finished sending transaction to PayflowPro' ); |
| 462 | + wfDebugLog( 'payflowpro_gateway', $data[ 'order_id' ] . ' Finished sending transaction to PayflowPro' ); |
463 | 463 | break; |
464 | 464 | } |
465 | 465 | } |
— | — | @@ -466,7 +466,7 @@ |
467 | 467 | if ( $headers['http_code'] != 200 ) { |
468 | 468 | $wgOut->addHTML( '<h3>No response from credit card processor. Please try again later!</h3><p>' ); |
469 | 469 | $when = time(); |
470 | | - wfDebugLog( 'payflowpro_gateway', 'No response from credit card processor ' . $when ); |
| 470 | + wfDebugLog( 'payflowpro_gateway', $data[ 'order_id' ] . ' No response from credit card processor ' . $when ); |
471 | 471 | curl_close( $ch ); |
472 | 472 | exit; |
473 | 473 | } |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/extras/recaptcha/recaptcha-php/recaptchalib.php |
— | — | @@ -124,12 +124,10 @@ |
125 | 125 | $http_request .= $req; |
126 | 126 | |
127 | 127 | $response = ''; |
128 | | - wfDebugLog( 'payflowpro_gateway', 'Preparing to communicate with reCaptcha via fsock.' ); |
129 | 128 | if ( false == ( $fs = @fsockopen( $host, $port, $errno, $errstr, 10 ) ) ) { |
130 | 129 | wfDebugLog( 'payflowpro_gateway', 'Failed communicating with reCaptcha.' ); |
131 | 130 | die ( 'Could not open socket' ); |
132 | 131 | } |
133 | | - wfDebugLog( 'payflowpro_gateway', 'Finished communicating with reCaptcha.' ); |
134 | 132 | |
135 | 133 | fwrite( $fs, $http_request ); |
136 | 134 | |