Index: branches/fundraising/extensions/DonationInterface/globalcollect_gateway/globalcollect.adapter.php |
— | — | @@ -293,7 +293,7 @@ |
294 | 294 | |
295 | 295 | function processResponse( $response ) { |
296 | 296 | //set the transaction result message |
297 | | - $responseStatus = isset( $response['STATUSID'] ) ? $response['STATUSID'] : ''; |
| 297 | + $responseStatus = array_key_exists( 'STATUSID', $response ) ? $response['STATUSID'] : 'Internal Error'; |
298 | 298 | $this->setTransactionResult( "Response Status: " . $responseStatus, 'txn_message' ); //TODO: Translate for GC. |
299 | 299 | $this->setTransactionResult( $this->getData( 'order_id' ), 'gateway_txn_id' ); |
300 | 300 | } |