Forums / Installing on a Linux/Unix Server / authorize.net "Card Declined" response is unformatted

authorize.net "Card Declined" response is unformatted

Views: 2,089

Results 1 to 10 of 10
11 Feb 2015, 8:27 PM
#1
Join Date:
Jan 2015
Location:
Searcy, AR USA
Posts:
11
Plugin Contributions:
0

authorize.net "Card Declined" response is unformatted

When authorize.net rejects a credit card, the "Card Declined" response is an unformatted jumble of information. How do I handle the "Card Declined" response in an organized manner?

The Manor House Library

11 Feb 2015, 9:00 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: authorize.net "Card Declined" response is unformatted

I'm not sure I understand.
Can you post an example?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Feb 2015, 4:11 PM
#3
Join Date:
Jan 2015
Location:
Searcy, AR USA
Posts:
11
Plugin Contributions:
0

Re: authorize.net "Card Declined" response is unformatted

Attachment 14973

This is the screenshot.

The Manor House Library

12 Feb 2015, 4:14 PM
#4
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: authorize.net "Card Declined" response is unformatted

themanorhouselibrary:

This is the screenshot.

And this doesn't really help us understand the problem you are trying to solve.. Screenshot seems a bit unrelated to the original post.. can you tie this all together here..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

12 Feb 2015, 5:18 PM
#5
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: authorize.net "Card Declined" response is unformatted

Would also recommend answering all the questions asked in the "Posting Tips". You can find the posting tips by scrolling up when typing a response (if on a phone click "Full Site" before replying). Answers to those questions will help people better understand your store configuration (needed for people to be able to help).

What are the settings for the Payment Module? Did you read (and follow): How to set up the authorizenet sim payment module?

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

12 Feb 2015, 7:49 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: authorize.net "Card Declined" response is unformatted

I'm guessing the "complaint" about "jumbled mess" stems from the CSS styling being unavailable ... and that suggests that hard-coded http: paths exist to those assets, making them not load properly on https: pages. And nothing to do with Authorize.net

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Feb 2015, 8:14 PM
#7
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,818
Plugin Contributions:
4

Re: authorize.net "Card Declined" response is unformatted

DrByte:

I'm guessing the "complaint" about "jumbled mess" stems from the CSS styling being unavailable ... and that suggests that hard-coded http: paths exist to those assets, making them not load properly on https: pages. And nothing to do with Authorize.net
That was my guess too... But was kinda strange seeing ```
"https://secure.authorize.net/gateway/transact.dll"


I'll leave this one to the experts :-)

The glass is not half full. The glass is not half empty. The glass is simply too big!
Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

12 Feb 2015, 8:22 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: authorize.net "Card Declined" response is unformatted

lhungil:

That was my guess too... But was kinda strange seeing ```
"https://secure.authorize.net/gateway/transact.dll"

Ya, Authnet SIM does that on returning the customer to the store.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

6 Dec 2015, 4:44 AM
#9
theone711 avatar

theone711

New Zenner

Join Date:
Aug 2015
Location:
Austin, TX
Posts:
3
Plugin Contributions:
0

Re: authorize.net "Card Declined" response is unformatted

themanorhouselibrary:

When authorize.net rejects a credit card, the "Card Declined" response is an unformatted jumble of information. How do I handle the "Card Declined" response in an organized manner?

I'm having the EXACT same problem! How did you resolve this?????

... I'm using Authorize.net (SIM) When my customer's card is approved it redirects them to the checkout_success.php and everything is smooth. However, if the card is declined it redirects to: https://secure.authorize.net/gateway/transact.dllwhich is a garbled page with the "declined message" buried in the madness. I get dozens of calls asking if the transaction went thru. How can I fix this to have a professional response like the checkout success page when the card has been declined???

Thanks for your help!!!

30 Dec 2015, 10:20 PM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: authorize.net "Card Declined" response is unformatted

Despite being able to trigger a Decline, I can't trigger the broken stylesheet problem ... on v154 and v155 anyway.

You mentioned "checkout_success.php" instead of the normal "index.php?main_page=checkout_success". Are you using URL-rewriting of some sort?
Which Zen Cart version are you using?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.