Skip to content

Instantly share code, notes, and snippets.

@klaser
Last active January 23, 2019 02:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klaser/d3505a9f4c7aa78d0328f874e1ab885d to your computer and use it in GitHub Desktop.
Save klaser/d3505a9f4c7aa78d0328f874e1ab885d to your computer and use it in GitHub Desktop.
M1 Authorize.net patch
From 5072c3336dbdc31b87a524277a992b0b2066fe75 Mon Sep 17 00:00:00 2001
From: Alex Block <alex.block@irishtitan.com>
Date: Tue, 22 Jan 2019 20:18:25 -0600
Subject: [PATCH] Replace response delimiter
---
app/code/core/Mage/Paygate/Model/Authorizenet.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/code/core/Mage/Paygate/Model/Authorizenet.php b/app/code/core/Mage/Paygate/Model/Authorizenet.php
index cccc07cd..32222677 100644
--- a/app/code/core/Mage/Paygate/Model/Authorizenet.php
+++ b/app/code/core/Mage/Paygate/Model/Authorizenet.php
@@ -56,7 +56,7 @@ class Mage_Paygate_Model_Authorizenet extends Mage_Payment_Model_Method_Cc
const ECHECK_TRANS_TYPE_TEL = 'TEL';
const ECHECK_TRANS_TYPE_WEB = 'WEB';
- const RESPONSE_DELIM_CHAR = '(~)';
+ const RESPONSE_DELIM_CHAR = '*';
const RESPONSE_CODE_APPROVED = 1;
const RESPONSE_CODE_DECLINED = 2;
--
2.17.2 (Apple Git-113)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment