/gocardless-pro-java-example

Example of using the GoCardless Pro Java client library

Primary LanguageJavaMIT LicenseMIT

GoCardless Pro Java Example

Deploy

This is a simple Java application that uses the GoCardless Pro API to collect recurring payments for subscriptions. It uses the GoCardless redirect flow, and is built using the Dropwizard framework.

The app can be seen running at https://gocardless-pro-java-example.herokuapp.com.

Running the app locally

First, register a sandbox account here, and grab an access token from the dashboard. Then:

export GC_ACCESS_TOKEN=...
gradle shadowJar
java -jar build/libs/enterprise-solutions-all.jar server config.yml

The app will be running at http://localhost:8080.