Skip to content

Commit

Permalink
Fakepal doc
Browse files Browse the repository at this point in the history
  • Loading branch information
rap1ds committed Nov 14, 2016
1 parent 7bdcd5e commit e7cc983
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/README.md
Expand Up @@ -76,6 +76,10 @@ This guide shows how upgrade the Facebook SDK version

This document explains what is SessionContextStore, how and when to use it.

#### [Using Fakepal](./using-fakepal.md)

This guide shows how to use "Fakepal", which is a fake PayPal implementation that can be used for development purposes

## Process documentation

Documentation of the development process.
Expand Down
15 changes: 15 additions & 0 deletions docs/using-fakepal.md
@@ -0,0 +1,15 @@
# Using Fakepal

Fakepal is a fake PayPal implementation that can be used for development purposes. It's also used by the unit and feature tests.

## Turn on Fakepal

To use Fakepal, change the value of `paypal_implementation` environment variable from `real` to `fake`. You can either edit the `config.yml` file or pass the environment variable while starting the Rails server:

```
> paypal_implementation=fake rails s
```

## File storage

Fakepal uses file based storage to store account information. Change the value of `fakepal_store` environment variable to control the file location.

0 comments on commit e7cc983

Please sign in to comment.