r60048 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60047‎ | r60048 | r60049 >
Date:22:05, 14 December 2009
Author:tomasz
Status:ok
Tags:
Comment:
Adding passing on of tracking id
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
@@ -79,6 +79,7 @@
8080 'anonymous' => '',
8181 'optout' => '',
8282 'token' => $token,
 83+ 'contribution_tracking_id' => '',
8384 );
8485
8586 $error[] = '';
@@ -127,6 +128,7 @@
128129 'anonymous' => $wgRequest->getText( 'comment-option' ),
129130 'optout' => $wgRequest->getText( 'email' ),
130131 'test_string' => $wgRequest->getText( 'process' ), //for showing payflow string during testing
 132+ 'contribution_tracking_id' => $wgRequest->getText( 'contribution_tracking_id' ),
131133 );
132134
133135 // Get array of default account values necessary for Payflow
@@ -380,7 +382,8 @@
381383 Xml::hidden( 'payment_method', 'processed' ) .
382384 Xml::hidden( 'token', $data['token'] ) .
383385 Xml::hidden( 'orderid', $data['order_id'] ) .
384 - Xml::hidden( 'numAttempt', $data['numAttempt'] );
 386+ Xml::hidden( 'numAttempt', $data['numAttempt'] ) .
 387+ Xml::hidden( 'contribution_tracking_id', $data['contribution_tracking_id'] );
385388
386389 // submit button and close form
387390 $form .= Xml::openElement( 'div', array( 'class' => 'mw-donate-submessage' ) ) .

Follow-up revisions

RevisionCommit summaryAuthorDate
r60059Picking up r60048 - r60050tomasz02:13, 15 December 2009

Status & tagging log