2 Configuration - Reference Documentation
Authors: Bobby Warner
2 ConfigurationYou will need to set two configuration items in Config.groovy before using the plugin. Before you can add these though, you need to register for an account. So, head on over to the Stripe registration form and create your account. Once you're logged in, click on the top-right link for Your Account and then Account Settings. This will pop open a box where you can find your API Keys. Stripe provides each account with separate publishable and secret keys for testing and live.
|grails.plugins.stripe.secretKey||Your secret key from Stripe|
|grails.plugins.stripe.publishableKey||Your publishable key from Stripe|
|grails.plugins.stripe.api.url||Your custom api URL. Useful for mocking out the api for a functional test environment, or providing custom responses from stripe for testing purposes. Your url will be appended with '/v1/<endpoint>' when calls are made.|