Forums / Built-in Shipping and Payment Modules / Different Payment modules for different categories?

Different Payment modules for different categories?

Locked

Started by gerk on 16 Oct 2006, 6:56 PM · Views: 1,458

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
16 Oct 2006, 6:56 PM
#1
gerk avatar

gerk

New Zenner

Join Date:
Nov 2005
Posts:
14
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

21 Oct 2006, 5:01 AM
#2
ajeh avatar

ajeh

Oba-san

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

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!]
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!

21 Oct 2006, 3:58 PM
#3
gerk avatar

gerk

New Zenner

Join Date:
Nov 2005
Posts:
14
Plugin Contributions:
0

Re: Different Payment modules for different categories?

Ajeh:

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

21 Oct 2006, 6:22 PM
#4
ajeh avatar

ajeh

Oba-san

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

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:

// 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!]
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!

21 Oct 2006, 6:39 PM
#5
gerk avatar

gerk

New Zenner

Join Date:
Nov 2005
Posts:
14
Plugin Contributions:
0

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