Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

docker-stripe-server

A mock of Stripe API

  • Run docker docker run -p 4999:4999 -it mdouchement/stripe-server
  • Edit config/environments/development.rb:
    ```ruby

    ...

unless ENV['MOCKER']
require 'stripe_mock'
StripeMock.start_client
end
```

  • bundle exec rails s

Issues:

  • In memory data storage (can be persisted by modifying this class in the original gem)
  • Some default resource params are missing (e.g. metadata hash on customer)
  • Some API requests are not supported (api.stripe.com)
  • Connect url is not mocked (connect.stripe.com)
Docker Pull Command
Owner
mdouchement

Comments (0)