ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Authorize.NET Response
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Authorize.NET Response

 Post Reply Post Reply
Author
Message
1st-line View Drop Down
Newbie
Newbie
Avatar

Joined: 15-October-2012
Location: Freehold, NJ
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote 1st-line Quote  Post ReplyReply Direct Link To This Post Topic: Authorize.NET Response
    Posted: 15-October-2012 at 3:51pm
Is it possible to customize the response from decline charges using authorize.NET? If yes, please notify which files need to be modified.
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 15-October-2012 at 4:17pm
Should be in the /includes/languages.asp file. Just search for the text in the message.
Back to Top
1st-line View Drop Down
Newbie
Newbie
Avatar

Joined: 15-October-2012
Location: Freehold, NJ
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote 1st-line Quote  Post ReplyReply Direct Link To This Post Posted: 15-October-2012 at 5:31pm
Thanks. We already checked the language file and searched the forums/knowledge base before we posted. From the code, it looks like the response is coming from Authorize.NET. Unfortunately, it can confuse customers with a message that AVS is not matched. It also gives a back button, but does nto tell customers to try again or try a different card number.
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 15-October-2012 at 6:01pm
I see. I always recommend against passing on the raw response from the gateway -- for reasons much as you suggest.

Best thing to do here would be to modify /pc/msgb.asp (as it is highly unlikely to be affected by PC updates).

find:
<%=msg%>

replace that with:
<%
select case TRUE
case Instr(msg,"<b>Error&nbsp;[x_response_code I don't like]</b>:") > 0
msg = Replace(message,"[x_response_reason_text I don't like]","[The message I'd rather use.]")
case else
msg = msg
end select
%>

Back to Top
1st-line View Drop Down
Newbie
Newbie
Avatar

Joined: 15-October-2012
Location: Freehold, NJ
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote 1st-line Quote  Post ReplyReply Direct Link To This Post Posted: 15-October-2012 at 6:19pm
Thanks!
Back to Top
Guests View Drop Down
Guest
Guest
Post Options Post Options   Thanks (0) Thanks(0)   Quote Guests Quote  Post ReplyReply Direct Link To This Post Posted: 15-October-2012 at 7:49pm
Oops! Correction:

<%
select case TRUE
case Instr(msg,"<b>Error&nbsp;[x_response_code I don't like]</b>:") > 0
msg = Replace(msg,"[x_response_reason_text I don't like]","[The message I'd rather use.]")
case else
msg = msg
end select
%>
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.094 seconds.