Brief Description

QBShippingAndPaymentFilters is a module of Magento. This Module allows you set up rules to enable or disable payment and shipping methods, based on the content’s of the checkout cart (e.g. you can disallow “Personal Delivery” for orders to be shipped outside your city or enable Paypal payment only to people who bought from you products from the “Ebook” category).

Specifications

Plugin Version: 8.8 (release candidate)
Tested Magento Versions:
  • 1.6 (works on 1.5.1+)
Authors:
Contributors:
  • Javier Perez (Testing and Debugging)
Project Hosting: https://bitbucket.org/alexsiri7/qbshippingandpaymentfilters
Documentation: For the time being, check for blog posts in the “QBShippingAndPaymentFilters” category
Magento Connect: http://www.magentocommerce.com/magento-connect/shipping-and-payment-filters-1454.html
Download

Want to contribute?

Contributions are vital for Open Source projects and can take many shapes. Here are some more-than-welcome ways of contributing:

  • Reporting bugs is one of the best ways for us to improve. In the future we will open an issue tracker, but for the time being you can just email me (asiri@quanbit.com).
  • Testing in other platforms and notifying us about the results, so that we can expand the plugin specifications (magento versions, etc).
  • Proposing and Implementing enhancements so that we can all benefit from collective development.

And of course, if this plugin was useful to you please consider making a donation to keep it growing.

FAQ

What can I do with this extension?

With this extension you can create rules that enable or disable payment or shipping methods.

For example: “When the user buys less than $300, allow them to pay using PayPal”.

How do I create a rule to disable a payment/shipping method?

You have first to set up completely that method in the magento admin. It can also be a new method you installed with an extension.
First of all, try it out to see if it works fine without the rule created. Afterward, you can go, create a rule, define the condition, define the action (which should be “disable payment method” or “disable shipping method”), mark the method in the list of methods, and finally save the rule.

In the example above, the condition would be “the total in the shopping cart is less than $300″, and the action “enable payment method”, and the method “Paypal”.

What kinds of conditions can I create?

The conditions are the same that can be created for the Shopping Cart Rules. You can find a (very simple) tutorial here: http://go.magento.com/support/kb/entry/name/set-shopping-cart-price-rule-conditions/.

How do I create a rule to enable a payment/shipping method?

This processs is almost exactly the same as creating a rule for disabling a method. What you should keep in mind, is that after testing that the method works without the rule, you should disable it in the admin. Then it will be disabled for everyone, and the rule will be able to enable it.

Can I create a rule to enable/disable a shipping/payment method when X?

Well, you should check if the shopping cart rules enable you to create such condition. If so, then yes.

 

Troubleshooting

 

Incompatible modules

Sparcksoft_Friendgate: Activating this module breaks the “New rule” page.

Payson Payment: It does not show up in the actions page