Created
October 25, 2012 13:54
-
-
Save jgoyon/3952668 to your computer and use it in GitHub Desktop.
Add custom gateway in Spree ecommerce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.after_initialize do | |
# Register Shipping Tax Calculator | |
Rails.configuration.spree.payment_methods << Spree::Gateway::CustomGateway | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment