r98477 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98476‎ | r98477 | r98478 >
Date:22:22, 29 September 2011
Author:jpostlethwaite
Status:ok
Tags:fundraising 
Comment:
Added transaction_type to forms.
Modified paths:
  • /branches/fundraising/extensions/DonationInterface/gateway_common/DonationData.php (modified) (history)

Diff [purge]

Index: branches/fundraising/extensions/DonationInterface/gateway_common/DonationData.php
@@ -111,6 +111,7 @@
112112 'gateway' => 'payflowpro',
113113 'owa_session' => $wgRequest->getText( 'owa_session', null ),
114114 'owa_ref' => 'http://localhost/defaultTestData',
 115+ 'transaction_type' => '', // Used by GlobalCollect for payment types
115116 );
116117 }
117118 }
@@ -172,6 +173,7 @@
173174 'gateway' => $wgRequest->getText( 'gateway' ), //likely to be reset shortly by setGateway();
174175 'owa_session' => $wgRequest->getText( 'owa_session', null ),
175176 'owa_ref' => $wgRequest->getText( 'owa_ref', null ),
 177+ 'transaction_type' => $wgRequest->getText( 'transaction_type', null ), // Used by GlobalCollect for payment types
176178 );
177179 if ( !$wgRequest->wasPosted() ) {
178180 $this->setVal( 'posted', false );
@@ -235,6 +237,7 @@
236238 'gateway' => $data['gateway'], //likely to be reset shortly by setGateway();
237239 'owa_session' => $data['owa_session'],
238240 'owa_ref' => $data['owa_ref'],
 241+ 'transaction_type' => $data['transaction_type'], // Used by GlobalCollect for payment types
239242 );
240243 }
241244

Status & tagging log