Results 1 to 7 of 7
  1. #1

    Default Trouble with payments

    Hi guys I’m back in need of your advice again, great improvements to the forum.
    I am running a site on 1.2.7 and using Secpay 1.2.5 and after some teething problems it has been running great. When I tried the upgrade to 1.3.0 it would not complete and returned the error ‘amount missing, invalid or to small’ before I could get it sorted 1.3.1 came along and although I have sorted all the layout and template the way I want (more or less) I haven’t got around the same problem with Secpay.
    The test site is running on a copy of the same database with all the same details and settings. I gave Secpay the URL of the test site and they ran a test sale but some how they ended up making a purchase on the running site.
    I also got this email saying what they found,

    I have just placed a live transaction using a test card number - it was rejected (which is what I would have expected).
    I also placed a transaction and forced it to operate as a positive test (i.e. secpay simulates a positive response) and it seemed to be handled correctly, so I could not see where the problem was. It appears to be behaving as I would have expected.

    The only thing they mentioned on the phone that cause this error are “,” or “£” in the amount. The test I ram was only a couple of hundred pounds so it’s not the comma.
    Any idea or just where to look would be a great help
    Thanks in advance

  2. #2

    Default Re: Trouble with payments

    Just a bit of an update in case someone notices something I’ve mist.
    I have checked through the settings again and uninstalled and reinstalled the Secpay mod with no change of result, same error.
    I noticed that the database is running on a higher version SQL (5.0.19 from 4.1.18) than the site I have running fine so I moved it to the same one and that didn’t change anything either.
    All the settings in Admin are set the same and I’m still stuck.

  3. #3
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Trouble with payments

    Information for anyone who is experiencing the same problems Bill was with the Secpay module...
    I took a look at the module code for him (apparently the module was obtained from Secpay), and found this section of code in the function process_button() at about line 85:
    Code:
          switch (MODULE_PAYMENT_SECPAY_CURRENCY) {
            case 'Default Currency':
              $sec_currency = DEFAULT_CURRENCY;
              break;
            case 'Any Currency':
            default:
              $sec_currency = $currency;
              break;
          }
    As far as I could tell, the variable $currency isn't being set anywhere - when running some debug code to display the variable's value, it turned up blank. This is a problem, as the variable $sec_currency is used later in the module file to format the currency value, which ends up as zero because of the empty variable.
    Changing that section of code shown above to:
    Code:
          switch (MODULE_PAYMENT_SECPAY_CURRENCY) {
            case 'Default Currency':
              $sec_currency = DEFAULT_CURRENCY;
              break;
            case 'Any Currency':
            default:
              $sec_currency = $_SESSION['currency'];
              break;
          }
    made the module work flawlessly again.
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  4. #4
    Join Date
    Apr 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: Trouble with payments

    do you have the secpay module for download - zip format

  5. #5
    Join Date
    Jul 2006
    Posts
    1
    Plugin Contributions
    0

    Default Re: Trouble with payments

    Did this issue ever get resolved? is there a module for Secpay? I have just installed zen cart thinking secpay was supported (from secpays website) but there is no payment module for it. Does anyone know of, or have a module I can use? Thanks.

    Jan

  6. #6
    Join Date
    Mar 2006
    Location
    Wolverhampton, UK
    Posts
    31
    Plugin Contributions
    0

    Default Re: Trouble with payments

    The fix above solved one of my problems with the SECpay module. Unfortunately the download on the Zen downloads page doesn't work at the moment, but if you contact SECpay support they can e-mail you a copy of the module.

    I currently have a problem where despite setting the payment module in test mode to always approve the transaction when it is returned to Zen Cart the system always reports "There has been an error processing your credit card. Please try again." The transaction is approved by SECpay, but for some reason that doesn't get passed back to Zen.

    I'm talking to Tech Support again tomorrow - hopefully they have a solution.

    Mat

  7. #7
    Join Date
    Feb 2006
    Location
    Chicago
    Posts
    1,162
    Plugin Contributions
    0

    Default Re: Trouble with payments

    Mat, if you want I can help you with this!
    Tutorials on Zen Cart
    http://tutorials.zen-cart.com/index.php
    ---------------
    advanced.programmer at gmail dot com
    In love with Zen Cart!!

 

 

Similar Threads

  1. Trouble with files uploaded with customers' orders
    By Paradave in forum General Questions
    Replies: 3
    Last Post: 14 Jul 2011, 03:12 PM
  2. Trouble with Email
    By AirsoftOutfitter in forum General Questions
    Replies: 0
    Last Post: 25 Apr 2011, 09:30 PM
  3. Need help with Processing CC with Sage Payments
    By Essential Graphics in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 5 Apr 2009, 04:40 PM
  4. Customers having trouble making payments
    By codyd in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 16 Dec 2008, 05:27 AM
  5. trouble with freight calculations with UPS
    By batteriesareus.com in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 23 Apr 2007, 03:28 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