Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2005
    Posts
    21
    Plugin Contributions
    0

    Different Payment modules for different categories?

    Hi All

    Does anyone know if it's possible to restrict payment types to different products/categories?

    We are trying to evaluate if we can limit specific products or categories to use specific payment options ... we have 2 different payment processing accounts, one for "big ticket" items, and one for smaller purchases and I'm trying to figure out if this is possible as they have vastly different rates (and both have advantages for each type of items).

    I've tried searching the forums but haven't had any luck as of yet, can anyone offer advice on this?

    Mark

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,875
    Plugin Contributions
    6

    Default Re: Different Payment modules for different categories?

    And when you have an order with a mixture of small and large ticket items?

    What is the criteria of Big Ticket items? How are they identified?

    If you have something in the products or products_description table that easily identifies them there are many things that can be done to customize this ...

    If not, there are still many ways to manage this ... just need more info ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Nov 2005
    Posts
    21
    Plugin Contributions
    0

    Default Re: Different Payment modules for different categories?

    Quote Originally Posted by Ajeh View Post
    And when you have an order with a mixture of small and large ticket items?

    What is the criteria of Big Ticket items? How are they identified?

    If you have something in the products or products_description table that easily identifies them there are many things that can be done to customize this ...

    If not, there are still many ways to manage this ... just need more info ...
    I think an upset value for the total amount is the simplest way of handling this sort of thing for my needs, like say <=$15 one payment method else other method.

    Guessing I'm going to need to do this manually? I haven't figured out a way through the standard setup yet, and I'm still waiting for information from the CC company as to whether this new method uses the same API as the current one we're using (grrr).

    Thanks for the reply!

    Mark

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,875
    Plugin Contributions
    6

    Default Re: Different Payment modules for different categories?

    Edit /includes/modules/cc.php ...

    In the function update_status global $cart and after the zone testing you can add:
    PHP Code:
    // control by order total
          
    $chk_order_total $_SESSION['cart']->show_total() - $_SESSION['cart']->free_shipping_prices() ;
          if (
    $this->enabled == true && $chk_order_total <= 15) {
            
    $this->enabled true;
          } else {
            
    $this->enabled 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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #5
    Join Date
    Nov 2005
    Posts
    21
    Plugin Contributions
    0

    Default Re: Different Payment modules for different categories?

    Thanks. I'll be hacking on a different module (Internet Secure) but that gives me the syntax that I need. If I run into troubles when it comes time I'll post here again.

    Thanks for the pointer in the right direction :)

    Mark

 

 

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
  •