stripe-mock is a mock HTTP server that responds like the real Stripe API. It can be used instead of Stripe's testmode to make test suites integrating with Stripe faster and less brittle.
MIT License
Bot releases are visible (Hide)
Published by daz-stripe about 6 years ago
0010ea8 Merge pull request #113 from stripe/update-openapi
f203d97 Update the OpenAPI specification and bundled data
Published by tomer-stripe about 6 years ago
17b7132 Merge pull request #112 from stripe/ignore-stripe-resource
6a9e41d Simplify usage instructions
6a0cb39 Add x-stripeResource to supportedSchemaFields
95b1c5a Fix deploy condition (branch
and tags
are not compatible)
Published by brandur-stripe about 6 years ago
f92b44d Merge pull request #109 from stripe/brandur-openapi-aug-30
1851e18 Merge pull request #108 from stripe/brandur-query-parameters
f102a30 Update OpenAPI
c114efa Use customer delete instead of charge (charges cannot be deleted)
09826da Add support for query parameters on GET
endpoints
f0e7f0f Merge pull request #106 from stripe/brandur-no-https-on-port
4a31f81 Don't start HTTPS
with -port
option specified
Published by brandur-stripe about 6 years ago
d7f1962 Merge pull request #105 from stripe/brandur-openapi-aug-27
f94868c Update bundled OpenAPI
50cc85c Merge pull request #104 from stripe/brandur-improve-test-setup
6f4fe70 Improve test setup
Published by brandur-stripe about 6 years ago
3515306 Merge pull request #102 from stripe/brandur-https-default
eb4ca0d Add some testing for startup behavior
e7ef87b Listen for both HTTP and HTTPS if no args given
Published by brandur-stripe about 6 years ago
5a52099 Merge pull request #100 from stripe/brandur-query
92b2ebf Merge pull request #101 from stripe/brandur-update-openapi-789
8421261 Update OpenAPI
0c6a61c Parse form values from the query string even for non-GET
requests
Published by brandur-stripe about 6 years ago
e67c9a5 Merge pull request #99 from stripe/brandur-update-openapi-08-20
fa6a937 Update OpenAPI
b89e9aa It might be a bit much to say "very slow"
5490387 "Object" should be "bank account" for better clarity
Published by brandur-stripe about 6 years ago
bc95f11 Merge pull request #98 from stripe/brandur-fix-primitive-type-coercion
0f00079 Fix test to match naming + less aggressive parameter coercion
Published by brandur-stripe about 6 years ago
4960268 Merge pull request #97 from stripe/brandur-coerce-object-in-any-of
d2f6142 Coerce values within an object within an anyOf
36574a9 Merge pull request #96 from Tenzer/patch-1
61d5ca1 Fix port number specification for Docker command in README
Published by brandur-stripe about 6 years ago
ec68070 Merge pull request #94 from stripe/update-openapi
9e5be07 Update the OpenAPI specification and bundled data
Published by brandur-stripe about 6 years ago
a38b9da Merge pull request #93 from stripe/brandur-no-data-replacement-on-non-post
04a8fff Don't replace data on non-POST
endpoints
Published by brandur-stripe about 6 years ago
443c3b6 Merge pull request #92 from stripe/brandur-scheduled-query-runs
2f625ca Update OpenAPI (to get scheduled query runs)
Published by brandur-stripe about 6 years ago
cc86b1b Merge pull request #91 from stripe/brandur-openapi-issuing
49610d5 Update OpenAPI to include issuing
1e6a5c0 Merge pull request #90 from stripe/brandur-lint
573dd86 Activate golint for stripe-mock
86a87af Switch to net/http
constants rather than referencing raw strings
Published by brandur-stripe about 6 years ago
78f379e Merge pull request #89 from stripe/brandur-deleted-branch-off-method
93da78d Decided between returning a deleted versus non-deleted from HTTP method
47ec9de Merge pull request #88 from stripe/brandur-whitelist-approve-decline
59d4fc0 Whitelist RPC-style actions /approve
and /decline
1c29d2a Merge pull request #87 from stripe/brandur-more-readme
70214dd Add README sections for current state and future plans
44fedb9 Merge pull request #86 from stripe/brandur-remove-yaml
16d5511 Error if a non-JSON file is specified
e0f8406 Remove support for YAML files
Published by brandur-stripe over 6 years ago
29dbdac Merge pull request #85 from stripe/brandur-new-plist
a791c78 Listen for HTTP and HTTPS simultaneously in .plist
Published by brandur-stripe over 6 years ago
858c61c Merge pull request #84 from stripe/brandur-https-options
f71d810 Support simultaneous HTTP and HTTPS
Published by brandur-stripe over 6 years ago
3615845 Merge pull request #83 from stripe/brandur-update-openapi-5
b7951ed Update OpenAPI
Published by brandur-stripe over 6 years ago
60751ba Merge pull request #82 from stripe/brandur-http2
bf95191 Add option to activate HTTPS and HTTP/2 if client supports it
Published by rattrayalex-stripe over 6 years ago
a58f08c Merge pull request #80 from stripe/update-openapi
b098338 Update the OpenAPI specification and bundled data
Published by brandur-stripe over 6 years ago
f847c74 Merge pull request #79 from stripe/brandur-update-fixtures
be5d76f Add support for format + maxLength + x-stripeBypassValidation
7cebb9a Update bundled OpenAPI and fixtures