Results 1 to 2 of 2
  1. #1

    Default SagePay Form addon not Displaying payment error messages

    Hi all,
    I am using a SagePay form payment module but am not getting an error message displayed when there's a problem with the transaction.
    Is there some setting somewhere that I need to change to show error messages when the user is returned to the checkout_payment screen?
    All I see is a 'crypt' string in the URL.
    I've tried a bit of debugging with FirePHP and put some logging points in the get_error() subroutine, which if I understand it correctly should fire automatically, but it doesn't.
    I tried the same thing using the built in PayPal module but when I hit cancel rather than completing the transaction, I returned to the checkout_shipping (not checkout_payment) screen with no error message, just more variables in the URL.

    Am I missing something or should Zen Cart be showing errors in a red box at the top of the screen like it does in other sections?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: SagePay Form addon not Displaying payment error messages

    Errors need to be set to the $messageStack if you want them to display "in a red box at the top of the screen like it does in other sections". If your addon hasn't been written to do that, then of course the messages won't display. Also, if your template has had the messageStack output section removed from it, then of course no messages can be displayed at all.
    .

    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.

 

 

Similar Threads

  1. v150 PsiGate XMl Payment Module - not handling error messages properly
    By mike_m29 in forum Addon Payment Modules
    Replies: 1
    Last Post: 9 Feb 2013, 05:24 PM
  2. sagepay Order Not Showing In zen - Payment IS in payment gateway
    By Maccon in forum Addon Payment Modules
    Replies: 7
    Last Post: 15 Feb 2011, 08:22 PM
  3. Sagepay Addon error: BillingState field is required.
    By hairx in forum Addon Payment Modules
    Replies: 2
    Last Post: 22 Sep 2010, 05:09 PM
  4. looking for the protx - sagepay - FORM payment module
    By abs007 in forum Addon Payment Modules
    Replies: 3
    Last Post: 20 Jul 2009, 06:06 PM
  5. Help with Sagepay form payment module please
    By Nixak in forum Addon Payment Modules
    Replies: 1
    Last Post: 20 Jul 2009, 11:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR