Forums / Addon Payment Modules / zend url lenth -------allowing only url with 129 char

zend url lenth -------allowing only url with 129 char

Views: 722

Results 1 to 3 of 3
10 Sep 2012, 6:01 AM
#1
aniketanyee avatar

aniketanyee

New Zenner

Join Date:
Sep 2012
Location:
Nagpur, India
Posts:
6
Plugin Contributions:
0

zend url lenth -------allowing only url with 129 char

hi.....friends

i stuck with zend url lenth .........im using zen 1.5......and its allowing only url with 129 char length

what is the problem......plz help

http://localhost/muproject/index.php?main_page=checkout_payment&error_message=Transaction+not+successful%3B+ResultCode%3A+900003%3B+Description%3A+Insufficient+Funds

10 Sep 2012, 6:50 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: zend url lenth -------allowing only url with 129 char

Right. In fact, no individual parameter is allowed to pass a value longer than about 40 characters.

What you're encountering is error messages being passed by payment modules using an old method of using the URL instead of the smarter safer contemporary way of passing them via the $messageStack.

Your payment module needs updating to stop sending messages via a zen_href_link() call, and instead use a $messageStack call. You'll see examples of this in all the payment modules that are included with the Zen Cart core files.

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

10 Sep 2012, 6:57 AM
#3
aniketanyee avatar

aniketanyee

New Zenner

Join Date:
Sep 2012
Location:
Nagpur, India
Posts:
6
Plugin Contributions:
0

Re: zend url lenth -------allowing only url with 129 char

thanks for reply

will work accordingly