Forums / Built-in Shipping and Payment Modules / Limiting max-purchase amount for Credit Card Payments?

Limiting max-purchase amount for Credit Card Payments?

Locked

Views: 945

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
17 Jun 2009, 3:44 PM
#1
mkonchalski avatar

mkonchalski

New Zenner

Join Date:
Dec 2008
Posts:
18
Plugin Contributions:
0

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, https://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!

17 Jun 2009, 8:56 PM
#2
flipside avatar

flipside

Zen Follower

Join Date:
Oct 2004
Location:
Ontario
Posts:
114
Plugin Contributions:
0

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

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

18 Jun 2009, 5:31 PM
#3
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

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?main_page=product_contrib_info&cPath=40_60&products_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...

19 Jun 2009, 3:54 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!