Skip to content

Instantly share code, notes, and snippets.

@jgoyon
Created October 25, 2012 13:54
Show Gist options
  • Save jgoyon/3952668 to your computer and use it in GitHub Desktop.
Save jgoyon/3952668 to your computer and use it in GitHub Desktop.
Add custom gateway in Spree ecommerce
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