tink-ab / tink-link-web-payment-example

An example web app demonstrating how to execute payments using Tink Link.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Platform Languages

Tink Link web payment example

This is an example app implementing payments initialisation using Tink Link. This project was bootstrapped with create-react-app.

Installation

Running this example application requires CLIENT_ID and CLIENT_SECRET, retrievable in the Tink Console after signing up for a developer account.

Running the app locally

  1. Install dependencies
yarn
  1. Set your client identifier and client secret as environment variables
export REACT_APP_TINK_LINK_PAYMENT_CLIENT_ID='<YOUR_CLIENT_ID>'
export TINK_LINK_PAYMENT_CLIENT_SECRET='<YOUR_CLIENT_SECRET>'
  1. Run client and server in terminal separately
yarn start:client
yarn start:server

The client app is available at http://localhost:3000. The server is running at http://localhost:8080.

Resources

For more information about initiate payments with Tink Link please visit our documentation page.

About

An example web app demonstrating how to execute payments using Tink Link.

License:MIT License


Languages

Language:TypeScript 54.6%Language:CSS 21.7%Language:JavaScript 16.6%Language:HTML 7.1%