Index: trunk/extensions/DonationInterface/gateway_forms/Form.php |
— | — | @@ -364,6 +364,7 @@ |
365 | 365 | // payment_method is no longer set to: processed |
366 | 366 | 'payment_method' => isset( $this->form_data['payment_method'] ) ? $this->form_data['payment_method'] : '', |
367 | 367 | 'payment_submethod' => isset( $this->form_data['payment_submethod'] ) ? $this->form_data['payment_submethod'] : '', |
| 368 | + 'issuer_id' => isset( $this->form_data['issuer_id'] ) ? $this->form_data['issuer_id'] : '', |
368 | 369 | 'token' => $this->form_data['token'], |
369 | 370 | 'order_id' => $this->form_data['order_id'], |
370 | 371 | 'i_order_id' => $this->form_data['i_order_id'], |
Index: trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php |
— | — | @@ -105,6 +105,7 @@ |
106 | 106 | ), |
107 | 107 | 'PAYMENT' => array( |
108 | 108 | 'PAYMENTPRODUCTID', |
| 109 | + 'ISSUERID', |
109 | 110 | 'AMOUNT', |
110 | 111 | 'CURRENCYCODE', |
111 | 112 | 'LANGUAGECODE', |
— | — | @@ -564,6 +565,8 @@ |
565 | 566 | //'card_num', |
566 | 567 | 'returnto', |
567 | 568 | 'payment_method', |
| 569 | + 'payment_submethod', |
| 570 | + 'issuer_id', |
568 | 571 | 'order_id', //This may or may not oughta-be-here... |
569 | 572 | ); |
570 | 573 | } |
Index: trunk/extensions/DonationInterface/gateway_common/DonationData.php |
— | — | @@ -59,6 +59,7 @@ |
60 | 60 | 'currency' => $wgRequest->getText( 'currency_code' ), |
61 | 61 | 'payment_method' => $wgRequest->getText( 'payment_method' ), |
62 | 62 | 'payment_submethod' => $wgRequest->getText( 'payment_submethod', null ), // Used by GlobalCollect for payment types |
| 63 | + 'issuer_id' => $wgRequest->getText( 'issuer_id' ), |
63 | 64 | 'order_id' => $wgRequest->getText( 'order_id', null ), //as far as I know, this won't actually ever pull anything back. |
64 | 65 | 'i_order_id' => $wgRequest->getText( 'i_order_id', null ), //internal id for each contribution attempt |
65 | 66 | 'numAttempt' => $wgRequest->getVal( 'numAttempt', '0' ), |
— | — | @@ -152,6 +153,7 @@ |
153 | 154 | 'currency' => 'USD', |
154 | 155 | 'payment_method' => $wgRequest->getText( 'payment_method' ), |
155 | 156 | 'payment_submethod' => $wgRequest->getText( 'payment_submethod' ), |
| 157 | + 'issuer_id' => $wgRequest->getText( 'issuer_id' ), |
156 | 158 | 'order_id' => '1234567890', |
157 | 159 | 'i_order_id' => '1234567890', |
158 | 160 | 'numAttempt' => 0, |