Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php |
— | — | @@ -405,7 +405,7 @@ |
406 | 406 | 'ZIP' => $data['zip'], |
407 | 407 | 'INVNUM' => $data['order_id'], |
408 | 408 | 'CVV2' => $data['cvv'], |
409 | | - 'CURRENCY' => $data['currency_code'], |
| 409 | + 'CURRENCY' => $data['currency'], |
410 | 410 | 'VERBOSITY' => $payflow_data['verbosity'], |
411 | 411 | 'CUSTIP' => $payflow_data['user_ip'], |
412 | 412 | ); |
— | — | @@ -1001,7 +1001,7 @@ |
1002 | 1002 | 'card_num' => $card_nums[ $cards[ $card_index ]][ $card_num_index ], |
1003 | 1003 | 'expiration' => date( 'my', strtotime( '+1 year 1 month' ) ), |
1004 | 1004 | 'cvv' => '001', |
1005 | | - 'currency_code' => 'USD', |
| 1005 | + 'currency' => 'USD', |
1006 | 1006 | 'payment_method' => $wgRequest->getText( 'payment_method' ), |
1007 | 1007 | 'order_id' => $order_id, |
1008 | 1008 | 'numAttempt' => $numAttempt, |
— | — | @@ -1039,7 +1039,7 @@ |
1040 | 1040 | 'card_num' => str_replace( ' ', '', $wgRequest->getText( 'card_num' ) ), |
1041 | 1041 | 'expiration' => $wgRequest->getText( 'mos' ) . substr( $wgRequest->getText( 'year' ), 2, 2 ), |
1042 | 1042 | 'cvv' => $wgRequest->getText( 'cvv' ), |
1043 | | - 'currency_code' => $wgRequest->getText( 'currency_code' ), |
| 1043 | + 'currency' => $wgRequest->getText( 'currency_code' ), |
1044 | 1044 | 'payment_method' => $wgRequest->getText( 'payment_method' ), |
1045 | 1045 | 'order_id' => $order_id, |
1046 | 1046 | 'numAttempt' => $numAttempt, |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/Form.php |
— | — | @@ -319,7 +319,7 @@ |
320 | 320 | |
321 | 321 | // generate dropdown of currency opts |
322 | 322 | foreach ( $available_currencies as $value => $currency_name ) { |
323 | | - $selected = ( $this->form_data[ 'currency_code' ] == $value ) ? true : false; |
| 323 | + $selected = ( $this->form_data[ 'currency' ] == $value ) ? true : false; |
324 | 324 | $currency_opts .= Xml::option( wfMsg( 'donate_interface-' . $value ), $value, $selected ); |
325 | 325 | } |
326 | 326 | |