Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php |
— | — | @@ -79,6 +79,7 @@ |
80 | 80 | 'anonymous' => '', |
81 | 81 | 'optout' => '', |
82 | 82 | 'token' => $token, |
| 83 | + 'contribution_tracking_id' => '', |
83 | 84 | ); |
84 | 85 | |
85 | 86 | $error[] = ''; |
— | — | @@ -127,6 +128,7 @@ |
128 | 129 | 'anonymous' => $wgRequest->getText( 'comment-option' ), |
129 | 130 | 'optout' => $wgRequest->getText( 'email' ), |
130 | 131 | 'test_string' => $wgRequest->getText( 'process' ), //for showing payflow string during testing |
| 132 | + 'contribution_tracking_id' => $wgRequest->getText( 'contribution_tracking_id' ), |
131 | 133 | ); |
132 | 134 | |
133 | 135 | // Get array of default account values necessary for Payflow |
— | — | @@ -380,7 +382,8 @@ |
381 | 383 | Xml::hidden( 'payment_method', 'processed' ) . |
382 | 384 | Xml::hidden( 'token', $data['token'] ) . |
383 | 385 | 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'] ); |
385 | 388 | |
386 | 389 | // submit button and close form |
387 | 390 | $form .= Xml::openElement( 'div', array( 'class' => 'mw-donate-submessage' ) ) . |