Check response – if no electronic ID validation is required then response message contains everything to complete the order.
IF ELECTRONIC ID VALIDATION IS REQUIRED:
Check response – if electronic ID validation is required then response contains only purchaseid and IsElectronicValidationNeeded = true. Merchant now needs to redirect the user to a predefined URL where Avarda offer ElectronicID validation. URL:
After electronicID validation is performed then Avarda redirect back to defined returnURL. Example: https://yourreturnurl.com/?externalId=d736dd5fea853b18a30fd2413ebfcab5&status=OK
Merchant checks status on the purchase via GetPaymentStatus. If ok then fulfill the order.