Index: trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect_gateway.body.php |
— | — | @@ -122,18 +122,6 @@ |
123 | 123 | } |
124 | 124 | |
125 | 125 | } |
126 | | - elseif ( $payment_method == 'rtbt' ) { |
127 | | - |
128 | | - $this->adapter->do_transaction( 'INSERT_ORDERWITHPAYMENT' ); |
129 | | - |
130 | | - $formAction = $this->adapter->getTransactionDataFormAction(); |
131 | | - |
132 | | - // Redirect to the bank |
133 | | - if ( !empty( $formAction ) ) { |
134 | | - return $wgOut->redirect( $formAction ); |
135 | | - } |
136 | | - |
137 | | - } |
138 | 126 | elseif ( $payment_method == 'dd' ) { |
139 | 127 | |
140 | 128 | $this->adapter->do_transaction( 'DO_BANKVALIDATION' ); |
— | — | @@ -148,7 +136,18 @@ |
149 | 137 | // Attach the error messages to the form |
150 | 138 | $this->adapter->setBankValidationErrors(); |
151 | 139 | } |
| 140 | + } |
| 141 | + elseif ( $payment_method == 'ew' ) { |
| 142 | + |
| 143 | + $this->adapter->do_transaction( 'INSERT_ORDERWITHPAYMENT' ); |
| 144 | + |
| 145 | + $formAction = $this->adapter->getTransactionDataFormAction(); |
152 | 146 | |
| 147 | + // Redirect to the bank |
| 148 | + if ( !empty( $formAction ) ) { |
| 149 | + return $wgOut->redirect( $formAction ); |
| 150 | + } |
| 151 | + |
153 | 152 | } |
154 | 153 | elseif ( $payment_method == 'obt' ) { |
155 | 154 | |
— | — | @@ -160,6 +159,18 @@ |
161 | 160 | } |
162 | 161 | |
163 | 162 | } |
| 163 | + elseif ( $payment_method == 'rtbt' ) { |
| 164 | + |
| 165 | + $this->adapter->do_transaction( 'INSERT_ORDERWITHPAYMENT' ); |
| 166 | + |
| 167 | + $formAction = $this->adapter->getTransactionDataFormAction(); |
| 168 | + |
| 169 | + // Redirect to the bank |
| 170 | + if ( !empty( $formAction ) ) { |
| 171 | + return $wgOut->redirect( $formAction ); |
| 172 | + } |
| 173 | + |
| 174 | + } |
164 | 175 | else { |
165 | 176 | $this->adapter->do_transaction( 'INSERT_ORDERWITHPAYMENT' ); |
166 | 177 | } |