I am making an app for e-conomic, and I have a question about the flow, I could not find answers to in the documentation (I might have missed something).
Short description of app:
A user can create an account at our website, and insert some money. Then, the user can use these money to send physical letters to every destination in Europe.
We have made an integration to e-conomic, where we with an accessID, can show all invoices from a selected time period. Then the user can select the invoices they want to send, and voila, the letters are sent.
How I understand the flow (the red color means I have no idea how that happens):
We will be an app in this section: http://www.e-conomic.com/apps
The user says "Get app"
The user are redirected to a subpage, such as www.mydomain.com/economic-authorization
The user creates an account at our website
After user has an account, the user is redirected to the "Request URL", such as "https://secure.e-conomic.com/secure/api1/requestaccess.aspx?appId=myappid"
The app is added in the top, next to "Accounting" and "Reports"
The app somehow, using magic, has an accessID included, which iFrames my subpage such as www.mydomain.com/economic-invoices
- What is the overall flow, to obtain the accessID from the user?
- Should the sending of the letters happen inside e-conomic or on our website?
- If we get an app beside "Accounting" and "Reports", how do we set the iFrame URL so it contains the accessID?
Basically... Can someone walk me through this? The documentation doesn't help.