Java library for Recurly, originally developed for Killbilling, an open-source subscription management and billing system.
- Make sure you can build the project by running the smoke tests:
mvn clean test
- Go to recurly.com and create an account. This account will be used as a sandbox environment for testing.
- In your Recurly account, click on API Credentials (bottom of the left menu), click the Enable API Access button and write down your API Key.
- Verify the setup by running the recurly-java-library integration tests (make sure to update your API Key):
mvn clean test -Pintegration -Dkillbill.payment.recurly.apiKey=1234567689abcdef
- Go to your Recurly account, you should see some data (e.g. account created).
- Congrats! You're all set!
- Set
-Drecurly.debug=true
to output debug information in the info log file - Set
-Drecurly.page.size=20
to configure the page size for Recurly API calls - To run the tests, one can use
-Dkillbill.payment.recurly.currency=EUR
to override the default USD currency used
To build the project, use maven:
mvn clean install
Official builds are available in Maven Central.