...
The Flexiti widget is used for the Online channel only, and is for high orchestration scenarios, such as customer verification and multiple account selection. It is a UI component that’s an entry point to the Flexiti credit application and purchase flows.
Widget Sequence Diagram
Example Application Flow
Important: We strongly recommend using POS API requests at server side.
...
Example Purchase Flow
...
Create an account in the Developer Portal if you haven’t already.
Training Environment: https://developer.flexiti.fi/
Merchant Integration Environment: https://developer-mi.flexiti.fi/
Set the Trust URL in the Developer Portal for the environment you are implementing in.
This ensures we will recognize where the website traffic is coming from
Make sure there is no trailing slash (/) at the end of the URL. For example, use https://example.com instead of http://example.com/
Implement the Flexiti Widget as follows:
Request Access Token (see Oauth 2 Authorization Method and Refresh Token)
client_credential
refresh_token
Implement the SDK Object (see SDK Object)
Implement the Flexiti SDK Init Method (see POST /client-id/{clientId}/widget/init)
For additional information on event communication and general rules for the widget see Widget Communication Events.
Implement the Test version of the code on your Staging website (using your Training or Merchant Integration credentials) and test thoroughly.
Once you are ready to launch we will perform UAT testing in your staging environment and issue your Flexiti production credentials.
Implement the PRODUCTION / Live version of the code on your Production website using your Flexiti production credentials and review
...