File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ public function send()
5151 $ parameters = $ this ->getParameters ();
5252
5353 if (!$ response ->isSuccessful () && $ this ->voidIfRefundFails &&
54- intval ( $ response ->getResponseReasonCode () ) === CIMResponse::ERROR_RESPONSE_CODE_CANNOT_ISSUE_CREDIT ) {
54+ $ response ->getResponseReasonCode () === CIMResponse::ERROR_RESPONSE_CODE_CANNOT_ISSUE_CREDIT ) {
5555 // An attempt to a refund a transaction that was not settled. We can just void the entire transaction
5656 $ voidRequest = new CIMVoidRequest ($ this ->httpClient , $ this ->httpRequest );
5757 $ voidRequest ->initialize ($ parameters );
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class CIMResponse extends CIMAbstractResponse
1010 /**
1111 * For Error codes: @see https://developer.authorize.net/api/reference/responseCodes.html
1212 */
13- const ERROR_RESPONSE_CODE_CANNOT_ISSUE_CREDIT = 54 ;
13+ const ERROR_RESPONSE_CODE_CANNOT_ISSUE_CREDIT = ' 54 ' ;
1414
1515 protected $ xmlRootElement = 'createCustomerProfileTransactionResponse ' ;
1616
You can’t perform that action at this time.
0 commit comments