Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add quick example of test config for stripe-mock #637

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -215,6 +215,15 @@ To run the tests you'll need to install [`stripe-mock`](https://github.com/strip

Start `stripe-mock` before running the tests with `mix test`.

To configure your test environment to use the local stripe-mock server, you'll
need to set the `api_base_url` field in your config:

```
config :stripity_stripe,
api_key: "sk_test_thisisaboguskey",
api_base_url: "http://localhost:12111/v1/"
```

# Documentation for 1.x.x

<details><summary>Click to expand</summary>
Expand Down