Forums / Addon Payment Modules / Cardsave payment module error message error!

Cardsave payment module error message error!

Locked

Started by thetraindriver on 30 Sep 2010, 4:38 PM · Views: 3,255

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
30 Sep 2010, 4:38 PM
#1
thetraindriver avatar

thetraindriver

New Zenner

Join Date:
Sep 2010
Posts:
2
Plugin Contributions:
0

Cardsave payment module error message error!

Hi,

I have installed a payment module from Cardsave which works fine apart from a little problem when a payment is declined. The user gets passed back to the checkout_payment page (Step 2 of 3) and there is an error message in the URL, for example

index.php?main_page=checkout_payment&payment_error=cardsave&error=Your+card+could+not+be+authorised.+Please+try+again.&zenid=qhv86ldovv36buhehj78eqpqm2

The problem is that this brings up a blank page and I've figured out that if you cut the error message down to 43 characters (or less) it displays fine in the red error box at the top of the page.

I've simulated errors in other payment modules and they have long error messages that get displayed perfectly.

Can anyone suggest some setting that may have gone wrong here?

Thanks,

Nathan

30 Sep 2010, 6:32 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Cardsave payment module error message error!

You need to rework the payment module code so that it doesn't send error messages in the URL. It needs to use $messageStack instead.

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

1 Oct 2010, 12:08 PM
#3
cardsave avatar

cardsave

New Zenner

Join Date:
Oct 2010
Posts:
1
Plugin Contributions:
0

Re: Cardsave payment module error message error!

Hi,

There may be some documentation @ cardsave.net/Workwithus/DeveloperSupport.aspx , this is the new developer support section of Cardsave, please let us know if there is any info that should be there and isn't. :bigups:

Thomas

1 Oct 2010, 1:03 PM
#4
thetraindriver avatar

thetraindriver

New Zenner

Join Date:
Sep 2010
Posts:
2
Plugin Contributions:
0

Re: Cardsave payment module error message error!

There is nothing there about this error. Can you arrange for the developers to have a look at this or do you have an email address that I can reach them on?

Cheers