Comments (2)
The easiest way would be to probably set an environment variable (this is recommended practice since you usually do not want to put secret application keys into an application.conf
file).
You can do so by doing
export STRIPE_APIKEY = mykeyhere
in the shell before launching the play app. Alternately you can also specify the argument as a java system setting (i.e. java -Dstripe-scala.apiKey=mykeyhere
)
Alternately if you really want to use the play's application.conf
, put something like the following in your application.conf
stripe-scala {
apiKey = mykeyhere
}
If the above doesn't work then you may need to the the process here http://stackoverflow.com/a/24156494/1519631, and with that you need to provide your own implicit instance of org.mdedetrich.stripe.ApiKey
Let me know if you still have issues
from stripe-scala.
I am going to close this for now, reopen it if its still an issue
from stripe-scala.
Related Issues (19)
- Serialize double nested object into post form data? HOT 1
- Deploy to Maven Central HOT 7
- Migrate to akka-http client
- Investigate DI (use case classes instead of objects?) HOT 1
- Change from play-json to a better JSON client HOT 3
- Remove scala-uri dependency
- Set Stripe-Version header
- Use default named parameters
- sbt-release being weird?
- sbt-release being weird? HOT 4
- ChargeInput only accepts CreditCard and not token HOT 3
- Plan listing tries to fetch customer HOT 3
- Plans.create has incorrect parameters HOT 6
- cats-core version conflicts - upgrading circe-core to 0.9.2 HOT 2
- Support brand in charge source HOT 1
- Fatal Warnings HOT 2
- Update dependencies HOT 2
- Delete Subscription HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stripe-scala.