Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |