Skip to content
Snippets Groups Projects
Commit 60957c49 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

Give these options slightly more sensible names

They have weird names in the Stripe API but there's no reason to preserve
that.
parent 7e81985e
Branches
No related tags found
1 merge request!42Configurable stripe endpoint
...@@ -197,12 +197,12 @@ sample = ServerConfig ...@@ -197,12 +197,12 @@ sample = ServerConfig
( long "stripe-key-path" ( long "stripe-key-path"
<> help "Path to Stripe Secret key" ) <> help "Path to Stripe Secret key" )
<*> option str <*> option str
( long "stripe-endpoint-url" ( long "stripe-endpoint-domain"
<> help "The root endpoint of the Stripe HTTP API" <> help "The domain name for the Stripe API HTTP endpoint."
<> value "api.stripe.com" <> value "api.stripe.com"
<> showDefault ) <> showDefault )
<*> option auto <*> option auto
( long "stripe-endpoint-protocol" ( long "stripe-endpoint-scheme"
<> help "The Stripe HTTP API protocol (HTTP or HTTPS)." <> help "The Stripe HTTP API protocol (HTTP or HTTPS)."
<> value HTTPS <> value HTTPS
<> showDefault ) <> showDefault )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment