Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php |
— | — | @@ -1008,6 +1008,15 @@ |
1009 | 1009 | 'state' => 'CA', |
1010 | 1010 | 'zip' => '94104', |
1011 | 1011 | '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', |
1012 | 1021 | 'card_num' => $card_nums[ $cards[ $card_index ]][ $card_num_index ], |
1013 | 1022 | 'card' => $cards[ $card_index ], |
1014 | 1023 | 'expiration' => date( 'my', strtotime( '+1 year 1 month' ) ), |
— | — | @@ -1046,6 +1055,15 @@ |
1047 | 1056 | 'state' => $wgRequest->getText( 'state' ), |
1048 | 1057 | 'zip' => $wgRequest->getText( 'zip' ), |
1049 | 1058 | '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" ), |
1050 | 1068 | 'card_num' => str_replace( ' ', '', $wgRequest->getText( 'card_num' ) ), |
1051 | 1069 | 'card' => $wgRequest->getText( 'card' ), |
1052 | 1070 | 'expiration' => $wgRequest->getText( 'mos' ) . substr( $wgRequest->getText( 'year' ), 2, 2 ), |
— | — | @@ -1058,7 +1076,7 @@ |
1059 | 1077 | 'utm_source' => self::getUtmSource(), |
1060 | 1078 | 'utm_medium' => $wgRequest->getText( 'utm_medium' ), |
1061 | 1079 | '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) |
1063 | 1081 | 'language' => $wgRequest->getText( 'uselang', $wgRequest->getText( 'language' ) ), |
1064 | 1082 | 'comment-option' => $wgRequest->getText( 'comment-option' ), |
1065 | 1083 | 'comment' => $wgRequest->getText( 'comment' ), |