Limit Payment Method To Ip

Hi,

There was previously an addon I think that allowed you to restrict a payment method to an IP,

We have a warehouse with a collection facility,

But we'd like the option for "Cash" payment method but only for the office IP?

Normal customers would never see the cash option,

Anyone remember this addon, or can advise on implementing this?

{if $smarty.server.REMOTE_ADDR == '141.105.193.53'}

Payment method hook ID?
{/if}

Something like that perhaps?

Stephen

You can create a special user group and enable required payment method for this user group only. In this case additional modules are not required

You can create a special user group and enable required payment method for this user group only. In this case additional modules are not required

Yes, but we'd manually have to assign each user to the group? Or can that be done based on IP?

We have a "public" computer in the warehouse on a fixed IP, so our plan is any user on that IP can see cash option, the order problem is with "groups" is that the user would still see cash as an option when the return home.

Yes, but we'd manually have to assign each user to the group? Or can that be done based on IP?

We have a "public" computer in the warehouse on a fixed IP, so our plan is any user on that IP can see cash option, the order problem is with "groups" is that the user would still see cash as an option when the return home.

Unfortunately payment methods or usergroups cannot be enabled/ disabled by IP address