This demo shows how you could build a bill pay solution with Codat. It demonstrates how we can manage bill payments of apps like Quickbooks Sandbox.
See it in action - https://demo-bill-pay.vercel.app
- Set up the integrations you want to use
You should have a Codat account connected to the source that you want. For example to connect your Codat account to a Quickbooks Sandbox, follow our docs. - Set up redirects
On the redirects settings page, addhttps://{your-domain}/connection-successful
, replacingyour-domain
with your domain. Users are redirected to Hosted Link to authorize access to their data, and this is the URL the user will return to when that's completed.
To ensure that you can run the development server, make sure that the following are installed:
npm -v 16.9.0
To install all the dependencies:
npm install
Create a .env
file (you can copy the .env.example
file and rename it).
CODAT_AUTH_HEADER="Basic MarxMnVNSEdXREVwQTI2Qk1seE5lQzAzcnhGZHNBZzFiYUxKeFRXQQ=="
Replace the CODAT_AUTH_HEADER
value with your auth header. You can find this in the Portal.
To run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.