r78643 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78642‎ | r78643 | r78644 >
Date:23:11, 20 December 2010
Author:kaldari
Status:deferred
Tags:
Comment:
new indexes for premiums
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
@@ -1008,6 +1008,15 @@
10091009 'state' => 'CA',
10101010 'zip' => '94104',
10111011 'country' => 840,
 1012+ 'fname2' => 'Testy',
 1013+ 'lname2' => 'Testerson',
 1014+ 'street2' => '123 Telegraph Ave.',
 1015+ 'city2' => 'Berkeley',
 1016+ 'state2' => 'CA',
 1017+ 'zip2' => '94703',
 1018+ 'country2' => 840,
 1019+ 'size' => 'small',
 1020+ 'premium-language' => 'es',
10121021 'card_num' => $card_nums[ $cards[ $card_index ]][ $card_num_index ],
10131022 'card' => $cards[ $card_index ],
10141023 'expiration' => date( 'my', strtotime( '+1 year 1 month' ) ),
@@ -1046,6 +1055,15 @@
10471056 'state' => $wgRequest->getText( 'state' ),
10481057 'zip' => $wgRequest->getText( 'zip' ),
10491058 'country' => $wgRequest->getText( 'country', "840" ),
 1059+ 'fname2' => $wgRequest->getText( 'fname' ),
 1060+ 'lname2' => $wgRequest->getText( 'lname' ),
 1061+ 'street2' => $wgRequest->getText( 'street' ),
 1062+ 'city2' => $wgRequest->getText( 'city' ),
 1063+ 'state2' => $wgRequest->getText( 'state' ),
 1064+ 'zip2' => $wgRequest->getText( 'zip' ),
 1065+ 'country2' => $wgRequest->getText( 'country', "840" ),
 1066+ 'size' => $wgRequest->getText( 'size' ),
 1067+ 'premium-language' => $wgRequest->getText( 'premium-language', "en" ),
10501068 'card_num' => str_replace( ' ', '', $wgRequest->getText( 'card_num' ) ),
10511069 'card' => $wgRequest->getText( 'card' ),
10521070 'expiration' => $wgRequest->getText( 'mos' ) . substr( $wgRequest->getText( 'year' ), 2, 2 ),
@@ -1058,7 +1076,7 @@
10591077 'utm_source' => self::getUtmSource(),
10601078 'utm_medium' => $wgRequest->getText( 'utm_medium' ),
10611079 'utm_campaign' => $wgRequest->getText( 'utm_campaign' ),
1062 - // try to honr the user-set language (uselang), otherwise the language set in the URL (language)
 1080+ // try to honor the user-set language (uselang), otherwise the language set in the URL (language)
10631081 'language' => $wgRequest->getText( 'uselang', $wgRequest->getText( 'language' ) ),
10641082 'comment-option' => $wgRequest->getText( 'comment-option' ),
10651083 'comment' => $wgRequest->getText( 'comment' ),

Status & tagging log