15 if ( $this->gateway_adapter->getValidationAction() == ValidationAction::REJECT ) {
17 $this->gateway_adapter->getData_Unstaged_Escaped(
'contribution_tracking_id' ),
'Rejected'
22 $response = $this->gateway_adapter->getTransactionResponse();
28 $responseData = $response->getData();
29 if ( isset( $responseData[
'cardNumber'] ) ) {
30 unset( $responseData[
'cardNumber'] );
32 if ( isset( $responseData[
'expiryDate'] ) ) {
33 unset( $responseData[
'expiryDate'] );
36 $this->gateway_adapter->getData_Unstaged_Escaped(
37 'contribution_tracking_id'
39 "Gateway response: " . addslashes(
40 $response->getTxnMessage()
41 ),
'"' . addslashes( json_encode( $responseData ) ) .
'"'