The payment flow has 2 possible scenarios (these are also 2 possible ways how to integrate the Everifin Paygate API):
...
can be described by the picture below.
Drawio | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
embedded (full API) flow - your web page is used to process the payment (no Everifin GUI is used, purely the API calls). This flow is supported only in API version 2
...
Both scenarios have similar steps in the payment process (API v1 supports only redirect flow, API v2 supports both flow types).
Steps
The payment flow has these steps:
...
Order initialization - redirect URL and payment ID are present in the response
Order processing
Redirect flow - Redirecting to URL obtained in step 1. Details of the redirect flow can be found here: Redirect Flow
Embedded flow - Calling Process Order endpoint until the payment is processed (and react on specific responses like inputs requests etc.). Details of the embedded flow can be found here: Embedded Flow /wiki/spaces/~5dd3fb319def2a0ee974c384/pages/2467561560
Checking status
Either by getting the order detail (Get Order endpoint) - it provides detail of the order together of details of all its payments
Or by getting the detail of the specific payment in the order (Get Order Payment endpoint)
...