An introduction to GoCardless
By GoCardlessMar 20122 min read
You've heard of GoCardless and now you want to start collecting money online. Here's a walk-through of the process you need to go through to integrate with our API.
- Sign up on our homepage. This creates a test account in our Sandbox. (NB. To log back in to the sandbox you need to visit http://sandbox.gocardless.com rather than using the login link on our homepage.)
- Check out our documentation.
- Use one of our API client libraries to generate a payment link. Make sure that you are using the library in 'sandbox' mode. There are three payment types: one-off bill, subscription and pre-authorization.
- Create a page that 'confirms' new payments (all of our libraries have an easy function to do this, see our documentation for "Completing the payment") and update the 'Redirect URI' in the Developer panel to point to that page.
- Click on the payment link you generated and make a test payment (make sure you log-out of your sandbox account first!). Don't worry, in the sandbox no payments are actually processed. You can also use test bank details - Account number: 55779911; Sort code: 20-00-00.
- After completing payment, you will get redirected to your confirmation page.
- Once you are happy with your integration then click 'Upgrade to a live account now' at the top of the sandbox dashboard (if that link has disappeared then email us).
- You will be asked to enter some basic details about what you're collecting money for. Then you will be taken to your live dashboard. Your production account comes with a new set of API keys so grab those from the Developer panel and copy/paste them into your code. Also, make sure that you're no longer making API calls in sandbox mode. NB. Your sandbox credentials will continue to work in the sandbox so you can continue to experiment if you wish.
- You're done! Though it might be a good idea to make a test payment in your production environment too.
- Click the orange 'Try it for free' or 'Get started now' button on our homepage:
- You'll be taken to the signup form below where you fill in your details. NB. If you're collecting payments for yourself (or you're a sole-trader) then simply enter your name or the name of your organisation as your business name. Then click 'Create your account'.
- This gets you into the developer sandbox and gives you various information to help you get started including links to our API documentation.
- If you scroll down on that page than you'll find you API keys which you'll need to copy and paste into your code. You'll also see where to update your 'Redirect URI':
- Once you have tested your integration and are happy with it, click ‘Upgrade to a live account now' at the top of your sandbox pages. You'll be taken to this page to enter more details about your business:
- Once you complete that form then you're taken to your dashboard in the production environment.
This post should have helped to give you an idea of the process to go through to accept your first payment online with GoCardless. If you still have any questions then please feel free to email us any time - we're here to help!