In the redirect flow the user is redirected to Everifin Paygate page where the payment is done. In this flow the client system initializes the payment, redirects and then gets the result - success or failure. This makes the redirect flow much simpler for implementation comparing to the embedded flow.
Drawio | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Your application should then use the link from the response to redirect the customer to that particular URL. Once the entire payment process is complete, the customer will be redirected back to your application at the URL registered in the first step. The query parameter id
is added to redirect URL containing the same value as in the field id
in response of payment link endpoint.
Next step is payment status check.one of:
Order status check: Get Order
Order Payment status check: Get Order Payment