Skip to content

This is a extension for the Payone Magento1 module which allows to disable payment methods when certain products are in the cart.

License

Notifications You must be signed in to change notification settings

Pragmatic-Apps/magento1-payone-restrictproducts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Magento (v1): Payone Disable Methods for certain Products

This extension extends the Payone Payment extension with the possibility to automatically disable certain payment methods if particular products are in the shopping cart. This feature is necessary to comply with the requirements of some payment provides (e.g. when you are not allowed to sell certain products, like coupons, via specific payment methods, like installment) The extension listens to the payment_method_is_active event and checks if the method is restricted and if there is a certain SKU in the cart.

Installation

Modman

You can easily clone this repo with modman. Learn more in the modman wiki at https://github.com/colinmollenhour/modman/wiki/Tutorial

$ modman clone https://github.com/trendmarke-gmbh/magento1-payone-restrictproducts

Manual installation

Alternatively you can download the repo and transfer the content of the src directory into your Magento root directory. After the installation clear the cache and that's it.

Configuration

You find the configuration as a new section in the Payone tab. You can set:

  • ** Enable product restriction:** Activate the restriction check at all
  • ** Payment methods to check:** Multiselect of the payment methods that should be restricted
  • ** Disallowed SKUs:** A comma-seperated list of SKUs that should be restricted

Customization

Feel free to edit and change the extensions as you wish.

Notes and Credits

  • This extension was tested with Magento 1.9.x but it should also work with older versions (probably till 1.4.x).

About

This is a extension for the Payone Magento1 module which allows to disable payment methods when certain products are in the cart.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages