Created
August 2, 2010 06:20
-
-
Save matthodan/504197 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Setup ActiveMerchant for development mode with Paypal Sandbox | |
config.after_initialize do | |
ActiveMerchant::Billing::Base.mode = :test | |
::GATEWAY = ActiveMerchant::Billing::PaypalGateway.new( | |
:login => '[Add PayPal API login here]', | |
:password => '[Add PayPal API password here]', | |
:signature => '[Add PayPal API signature here]' | |
) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment