Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2008
    Posts
    18
    Plugin Contributions
    0

    Default Limiting max-purchase amount for Credit Card Payments?

    Hello Everybody. I am hoping that I can find some help, as I have not been able to find the answers just yet.

    I have a website, www.finalsupport.org. I am using ZenCart 1.3.8a.

    I am curious if there is a way to limit the amount that a credit card can purchase. Some of the items on the site are expensive, a few thousand dollars.

    I want to set a limit of $5000 to credit card payments. While I am processing offline, I would like any order total over $5000 to only be able to use the Bank Draft module instead (Which is actually the accept echecks module).

    Is there a way to do this? Does anyone know of a Mod to do this? If so, I'd appreciate any insight.

    Thank!

  2. #2
    Join Date
    Oct 2004
    Location
    Ontario
    Posts
    116
    Plugin Contributions
    1

    Default Re: Limiting max-purchase amount for Credit Card Payments?

    That will require a modification for your payment module for your credit card processor.

  3. #3
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Limiting max-purchase amount for Credit Card Payments?

    I "tweaked" Andrew Berezin's "Minimum Value in Cart" module, to make it a "Maximum Value in Cart" module:

    http://www.zen-cart.com/index.php?ma...oducts_id=1259

    There may be a way of inserting a CONDITIONAL STATEMENT that will make this module work only for certain payment modules.

    PM Andrew and see if he's able to advise...

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Limiting max-purchase amount for Credit Card Payments?

    The modules are controlled based on the:
    $this->enabled

    you could add an IF to that and set it to false when the order is >= 5000 and it would not show by setting the $this->enabled to false ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. Max length for credit card.
    By arunkarthik in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 13 Jul 2010, 11:18 PM
  2. Limiting Credit Card Number In Database
    By pjbonarrigo in forum General Questions
    Replies: 3
    Last Post: 7 Jul 2010, 04:47 AM
  3. Credit Card Payments
    By Punkristo in forum General Questions
    Replies: 3
    Last Post: 8 Jun 2010, 10:10 PM
  4. Limiting total number of items for purchase.
    By ramshacklejones in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 17 Oct 2006, 04:01 PM

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