Forums / Addon Payment Modules / HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

Views: 2,253

Results 1 to 20 of 22
11 Oct 2012, 6:38 PM
#1
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

I am using FEC 1.11.00 and zen 1.5.1 the other payment options seem to be working ok but the go emerchant isn't no matter if i enter a card number or not this is the error i get

HTTP 406 NOT ACCEPTABLE

http://ad-discountperformance.com/

Please help the website is live

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

11 Oct 2012, 7:03 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

Scroll down and view similar threads

Zen-Venom Get Bitten

13 Oct 2012, 7:45 AM
#3
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

Dashizna:

HTTP 406 NOT ACCEPTABLE

This is almost always caused by something triggering the Apache mod_security rules.

This is never something that you can fix yourself, you'll need to work with your host to rectify the problem (actually it probably isn't the mod_security on your server, but more likely to be the mod_security on the go emerchant servers, so they will be the ones you'll need to liaise with).

Dashizna:

http://ad-discountperformance.com/

Please help the website is live

As much as I hate to say this, but it is probably your domain name itself that is triggering the error... Both "ad" and "discount" are probably listed as 'bad words'.

I had a very similar problem not that long ago with a store/domain called 'Discountbrassware.com.au' that was producing the same error when connecting to one of the ozpost.net servers... It took several rounds of email with our host before I was able to convince them that it was a 'server related issue' rather than a client issue. In fact I ended up creating a test script to show them that "Discountbrassware.com.au" caused the error whilst "Biscountbrassware.com.au" had no problem (with the exact same query). It was only then that they took the time to check things more carefully and discovered that it was indeed the 'discount' portion of the domain name in the referrer URL that was causing the issue and was then able to fix it.

Sorry about the rant, but I'd hate for anyone else to have to go down the same path that I needed to in order to identify the cause, and I fear that due to your domain name this is exactly the position you are now in. Hopefully if you pass my experience over to your host and/or the go emerchant host you won't need to go through the same hoops to prove the case that I needed too. Thier own log files should easily confirm/refute whether it is the same issue or not.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

13 Oct 2012, 7:37 PM
#4
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

The host said they don't have mod_securtiy

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

13 Oct 2012, 7:51 PM
#5
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

Somewhere I was reading a bit ago was saying that a 406 is browser-specific, and only some browsers rarely will get that. Have you tried a different browser? It'll probably still throw a blank, but still. And in any case, it's still not in our scope of support to determine exactly why zencart isn't working and you might need to contact a developer for help with it.

that is what they told me.

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

13 Oct 2012, 7:54 PM
#6
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0
13 Oct 2012, 9:12 PM
#7
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

sorry wrong section

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

14 Oct 2012, 5:24 AM
#8
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

Dashizna:

The host said they don't have mod_securtiy

Which host? Yours, or the server actually generating the 406 response (goemerchant) ?

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

14 Oct 2012, 5:31 AM
#9
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

Dashizna:

Somewhere I was reading a bit ago was saying that a 406 is browser-specific

406 errors are server generated. (actually, all http/https errors are generated serverside).

How any given browser responds to any given error code** is** browser specific, but nonetherless and error is an error regardless of how any given browser responds.

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

14 Oct 2012, 5:38 AM
#10
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

i don't know thats what they told me and said they can't help me its not on there end its something in zen or goemerchant and goemerchant said its not on there end so im hoping i can get some help to figure out this one cause im at a loss

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

14 Oct 2012, 5:42 AM
#11
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

Dashizna:

I tried google chrome and this is what the link says

https://ad-discountperformance.com/index.php?main_page=checkout_payment&payment_error=goemerchant&error=The+credit+card+number+starting+with++was+not+entered+correctly%2C+or+we+do+not+accept+that+kind+of+card.+Please+try+again+or+use+another+credit+card.&goemerchant_cc_owner=&goemerchant_cc_expires_month=&goemerchant_cc_expires_year=

I'm not sure what to make of this. Something seems seriously messed up in that the query appears to be derived from a failed request response.

I seriously can't think of any condition or scenario that could possibly cause this.

Perhaps it is me that is missing something?

Perhaps DrByte has an idea? He's very good at picking up on some things that tend to elude me. :)

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

14 Oct 2012, 5:53 AM
#12
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

14 Oct 2012, 5:55 AM
#13
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

The only place i get the http 406 error is in internet explorer

i will uninstall it and try it again

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

14 Oct 2012, 6:01 AM
#14
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

ok i completly uninstalled it and removed all files and put all the files back in and reinstalled it same issues.

Do you think it could be becuase i have the FEC installed?

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

14 Oct 2012, 6:11 AM
#15
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

Dashizna:

ok i completly uninstalled it and removed all files and put all the files back in and reinstalled it same issues.

Do you think it could be becuase i have the FEC installed?

Hhmmmm, yes, I think this could be a possibilty, but only on the basis that the checkout processing sequence appears to be 'missing' something, and FEC is a part of this processing.

Is it difficult to uninstall FEC? As a process of elimination it could be worth trying.

Please keep in mind that I'm using little more than (un)educated guesses here, which is something I really hate doing. I'm still hoping that someone with a little more experience will recognise the problem and can offer something a little more substantial. Meanwhile, I'm just suggesting the things that I'd be doing if this were my problem and needed to solve it without help (which is essentially a process of elimination).

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

14 Oct 2012, 6:50 AM
#16
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

15 Oct 2012, 4:21 AM
#17
drbyte avatar

drbyte

Sensei

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

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

The problem is that whatever payment module you're using is designed for v1.3.8 or older.
It needs rewriting to bring it up-to-date, at least to stop passing obscenely long error messages via the URL instead of via the messageStack.

Zen Cart will throw a 406 when unnecessarily long URL parameters are passed, because it's rare that there's ever any legitimate need for passing really long parameter data via the URL, leaving the only regular "use-case" to be hackers attempting rogue activity and of course that should be stopped. Hence the 406 in such cases.

.
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.

15 Oct 2012, 4:49 AM
#18
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

So is goemerchant useless for the time being?

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com

15 Oct 2012, 6:58 AM
#19
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

DrByte:

The problem is that whatever payment module you're using is designed for v1.3.8 or older.

Doh! Why didn't I think to check that? :(

DrByte:

It needs rewriting to bring it up-to-date, at least to stop passing obscenely long error messages via the URL instead of via the messageStack.

Zen Cart will throw a 406 when unnecessarily long URL parameters are passed, because it's rare that there's ever any legitimate need for passing really long parameter data via the URL, leaving the only regular "use-case" to be hackers attempting rogue activity and of course that should be stopped. Hence the 406 in such cases.

Once again I offer many thanks for your input, you never cease to impress :)

Cheers
Rod

NOTE: We are sorry that Rod is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

Ozpost - The Ultimate Shipping module for Australian Merchants. Click these links for its Homepage, or Download from Zen-Cart.com.

15 Oct 2012, 2:29 PM
#20
dashizna avatar

dashizna

Zen Follower

Join Date:
Mar 2006
Posts:
424
Plugin Contributions:
0

Re: HELP QUICK MY GOEMERCHANT IS GIVING A HTTP 406 not acceptable

ok im a little confuzed now i used this goemerchant

http://www.zen-cart.com/downloads.php?do=file&id=210

and it states Zen Cart® Versions: v1.3.7, v1.3.8, v1.3.9, v1.5.0

So i take it that they are wrong ????

We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out https://www.AD-DiscountPerformance.com