Index: trunk/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php |
— | — | @@ -1268,13 +1268,6 @@ |
1269 | 1269 | } |
1270 | 1270 | |
1271 | 1271 | $errors[ $code ] = ( $this->getGlobal( 'DisplayDebug' ) ) ? '*** ' . $message : $this->getErrorMapByCodeAndTranslate( $code ); |
1272 | | - |
1273 | | - $codeAction = $this->findCodeAction( 'GET_ORDERSTATUS', 'STATUSID', $code ); |
1274 | | - |
1275 | | - if ( !empty( $codeAction ) ) { |
1276 | | - |
1277 | | - $this->setTransactionWMFStatus( $codeAction ); |
1278 | | - } |
1279 | 1272 | } |
1280 | 1273 | return $errors; |
1281 | 1274 | } |
— | — | @@ -1294,13 +1287,13 @@ |
1295 | 1288 | $transaction = $this->getCurrentTransaction(); |
1296 | 1289 | |
1297 | 1290 | $this->getTransactionStatus(); |
1298 | | - |
| 1291 | + |
1299 | 1292 | switch ( $transaction ) { |
1300 | 1293 | case 'INSERT_ORDERWITHPAYMENT': |
1301 | 1294 | $data = $this->xmlChildrenToArray( $response, 'ROW' ); |
1302 | 1295 | $data['ORDER'] = $this->xmlChildrenToArray( $response, 'ORDER' ); |
1303 | 1296 | $data['PAYMENT'] = $this->xmlChildrenToArray( $response, 'PAYMENT' ); |
1304 | | - |
| 1297 | + |
1305 | 1298 | // WMFStatus will already be set if the transaction was unable to communicate properly. |
1306 | 1299 | if ( $this->getTransactionStatus() ) { |
1307 | 1300 | $this->setTransactionWMFStatus( $this->findCodeAction( 'GET_ORDERSTATUS', 'STATUSID', $data['STATUSID'] ) ); |