# Does anyone know how to install/use Active Merchant?

**URL:** <https://www.ruby-forum.com/t/does-anyone-know-how-to-install-use-active-merchant/66022>\
**Category:** Rails\
**Created:** [August 22, 2006, 10:33pm UTC](https://www.ruby-forum.com/t/does-anyone-know-how-to-install-use-active-merchant/66022 "2006-08-22T22:33:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rekab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/977dab/32.png) [@rekab](https://www.ruby-forum.com/u/rekab)\
**Post date:** [August 22, 2006, 10:33pm UTC](https://www.ruby-forum.com/t/does-anyone-know-how-to-install-use-active-merchant/66022/1 "2006-08-22T22:33:47Z")

</div>

Does anyone know how to install/use Active Merchant? I can’t find any  
documentation online. Any help would be most appreciated.

Thanks!

---

<div class="post-metadata">

**Author:** ![rekab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/977dab/32.png) [@rekab](https://www.ruby-forum.com/u/rekab)\
**Post date:** [August 23, 2006, 12:12am UTC](https://www.ruby-forum.com/t/does-anyone-know-how-to-install-use-active-merchant/66022/2 "2006-08-23T00:12:02Z")

</div>

you could pull the source down and generate the documentation via rake

On 8/22/06, rekab [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Does anyone know how to install/use Active Merchant? I can’t find any  
> documentation online. Any help would be most appreciated.
> 
> Thanks!

---

<div class="post-metadata">

**Author:** ![rekab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/977dab/32.png) [@rekab](https://www.ruby-forum.com/u/rekab)\
**Post date:** [October 13, 2006, 8:46am UTC](https://www.ruby-forum.com/t/does-anyone-know-how-to-install-use-active-merchant/66022/3 "2006-10-13T08:46:28Z")

</div>

unknown wrote:

> you could pull the source down and generate the documentation via rake
> 
> On 8/22/06, rekab [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > Does anyone know how to install/use Active Merchant? I can’t find any  
> > documentation online. Any help would be most appreciated.
> > 
> > Thanks!

With the active\_merchant plugin installed under vendor/plugins, i got as  
far as cd-ing into active\_merchant and running the command ‘rake’ which  
started to do something but then failed with a few missing  
dependencies…

without any documentation its a bit hard to know what to do from here…  
any suggestions welcome

---

<div class="post-metadata">

**Author:** ![rekab](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/977dab/32.png) [@rekab](https://www.ruby-forum.com/u/rekab)\
**Post date:** [October 18, 2006, 10:41am UTC](https://www.ruby-forum.com/t/does-anyone-know-how-to-install-use-active-merchant/66022/4 "2006-10-18T10:41:06Z")

</div>

Once Active Merchant is in your Rails plugins folder like  
vendor/plugins/active\_merchant it is already installed because an  
init.rb file is included, which Rails uses to load the plugin.

If you are only interested in the rdoc documentation then you can cd  
into the active\_merchant folder and do: rake rdoc

You will then be able to open doc/index.html to view the generated  
documentation.

If you are wanting to run the unit tests for Active Merchant then you  
will need a couple of gems installed: money, activesupport, actionpack

There are also remote tests that you can run with:  
rake test\_remote

Some of the remote tests will fail if you haven’t configured that  
particular gateway with your own test account in the remote test  
files. Not all of the gateway providers provide a publicly accessible  
test account that we can include.

The best way to see the usage for the gateway you’re interested in is  
to just take a look at the unit tests and remote tests for the  
particular gateway under the test/unit and test/remote\_tests folders  
respectively.

I hope this helps. Let me know if you need any help with a particular  
gateway or other problem.

Cody

On 10/13/06, xia [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> >

–  
Cody F.  
[http://www.codyfauser.com](http://www.codyfauser.com)  
[RJS Templates for Rails [Book]](http://www.oreilly.com/catalog/rjsrails) (RJS Templates for Rails)
