Reputation: 12101
I have several payment methods on my magento 1.6 shop and a number of registered customers. I'd like some customers to be able to access all payment methods and some customers just one or two of payment methods. How to allow certain payment methods to some customers but not others?
Upvotes: 2
Views: 8012
Reputation: 1528
Yes, this is possible. What you need to do is to create different customer groups and assign your customers (manually or programatically) to these groups.
Just go to "Customers -> Custumer groups -> Add new group" and create a new group. In that same window, you can select the allowed payment methods for that group.
To assign a customer to a particular group, go to "customers -> manage customers" and select that particular customer. In the second tab there is for the group of that customer. Just select the one that you think is appropriate and he or she will see only the payment methods, that you assigned to that group earlier.
Upvotes: 1
Reputation: 550
Your best bet is to create a custom payment method.
Then use the isAvailable($quote = null)
method to return true or false depending on if the customer has access to that payment method.
Or, if you want a quick solution. Edit the existing payment method's isAvailable
method to serve your needs. But this isn't as future proof as rolling your own payment method.
Upvotes: 1
Reputation: 23205
This will require customization. Your best bet may be to use a module. See
and
http://amasty.com/shipping-payment-by-group.html
for example.
Upvotes: 3