r77001 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77000‎ | r77001 | r77002 >
Date:01:45, 19 November 2010
Author:awjrichards
Status:deferred
Tags:
Comment:
Moving around log starting for transaction initiation
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php
@@ -54,11 +54,6 @@
5555 $wgPayFlowProGatewayCSSVersion,
5656 $wgPayflowGatewaySalt;
5757
58 - // make a log entry if the user has submitted the cc form
59 - if ( $wgRequest->wasPosted() && $wgRequest->getText( 'order_id', 0 )) {
60 - wfDebugLog( 'payflowpro_gateway', $wgRequest->getText( 'order_id' ) . " Transaction initiated." );
61 - }
62 -
6358 $wgOut->addExtensionStyle(
6459 "{$wgScriptPath}/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.css?284" .
6560 $wgPayFlowProGatewayCSSVersion );
@@ -112,7 +107,12 @@
113108 require_once( 'includes/payflowUser.inc' );
114109
115110 $payflow_data = payflowUser();
116 -
 111+
 112+ // make a log entry if the user has submitted the cc form
 113+ if ( $wgRequest->wasPosted() && $wgRequest->getText( 'process', 0 )) {
 114+ wfDebugLog( 'payflowpro_gateway', $payflow_data[ 'order_id' ] . " Transaction initiated." );
 115+ }
 116+
117117 // if _cache_ is requested by the user, do not set a session/token; dynamic data will be loaded via ajax
118118 if ( $wgRequest->getText( '_cache_', false ) ) {
119119 $cache = true;

Follow-up revisions

RevisionCommit summaryAuthorDate
r77002Merging from r76992 thru r77001 of trunkawjrichards01:47, 19 November 2010
r77023Merging from r77001 thru r77022 of trunkawjrichards18:58, 19 November 2010

Status & tagging log