Created
February 4, 2015 13:27
-
-
Save divineforest/d151ae58c2ff49f618d0 to your computer and use it in GitHub Desktop.
Spree example gateway
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
module Spree | |
class Gateway::NewGateway < Gateway | |
preference :login, :string | |
preference :password, :string | |
preference :signature, :string | |
preference :currency_code, :string | |
def provider_class | |
ActiveMerchant::Billing::New | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment