cancel
Showing results for 
Search instead for 
Did you mean: 

How could I create a checked payment method for Admin orders only?

How could I create a checked payment method for Admin orders only?

Hi all and how are you all,

 

I would like to create a check option similar to Check / Money Orders for Admin Orders only.
The check option would be for card payments and paypal just that when invoiced to the cutomer at the shop front when ever they swipe there card or a telephone order via paypal and a invoice is sent to the customer.

 

I have edited the Check / Money Orders to only show in Admin by adding this;

 

if ($instance->getCode() == "checkmo") {
if (Mage::app()->getStore()->isAdmin() && Mage::getStoreConfig('payment/checkmo/admin_active') == "1") {
$result->isAvailable = true;
} else if (!Mage::app()->getStore()->isAdmin() && Mage::getStoreConfig('payment/checkmo/admin_active') == "1") {
$result->isAvailable = false;
}

 

So this gets recorded by the shop's sales assistant.

 

Is there any tutorials out there for this? I have seen alot of tutorials for creating a payment method for the frontend and admin which includes some sort of gateway connected to it. Also tutorials on reactivating some payment methods for example Check / Money Order.

 

I have done a quick photoshop just to show what I need.

 

 

Thanks in advance for any help.

 

Kind Regards

bow103