Verify transaction on Mobile Device - Page Cannot be Found
Tuesday, September 7, 2021 at 09:50amHi,
We have started the Proof Of Concept that we have received by email from [email protected] and we have succeeded to call the https://gs.onespan.cloud/rpoc-saa/api/transaction/ which returned the following JSON response, from which we have extracted the token and the transaction id to proceed with next setp : Verify transaction on Mobile Device , and we have replaced the {{TRANSACTION_ID}} with the captured Transaction ID, and replaced the {{TOKEN}} with the captured Token as suggested in the sales email.
the verification url is like :
https://salesdemo-dealflo.uat.eu1.tid.onespan.cloud/sales/#/esign/0f42d17d-d215-468c-a047-662b85816807?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiIsImtpZCI6IjI4NTliZDQwLTAyOTAtNGE3ZC1hOWZhLWQ5YjMxYmRiMGZiYyJ9.eyJyb2xlIjoiQ3VzdG9tZXIiLCJzY29wZSI6WyJzZXNzaW9uX2NyZWF0aW9uX2F1dGhvcml6YXRpb25fY29kZSJdLCJ0cmFuc2FjdGlvbl91dWlkIjoiMGY0MmQxN2QtZDIxNS00NjhjLWEwNDctNjYyYjg1ODE2ODA3IiwiY2xpZW50X2lkIjoiUGF0aF9Tb2x1dGlvbnMiLCJqdGkiOiIzNDllZWNlNy1mNzlkLTRmMTktOGU5My01OTM2ZDQ4NjFhNTIiLCJpYXQiOjE2MzEwMjE1MDgsImV4cCI6MTYzMjMxNzUwOH0.JOhd23N_mtP695rdeqAeUs76TbjV7k0ZmZLDFvN5neJiuPd2t9vqixt6XJyKxkIU2A00X8etGIl552ocwmqDsw
but if we open the URL in the browser we got page not found like following screen capture, we are getting a page not found noting that we tried the above complete url on mobile device browser.
To note also that the transaction id is valid and we are getting 200 OK response of we try to verify the transaction status ;
please could you feedback what's wrong, and how we should construct the URL to be opened from mobile device and how to complete the step Verify transaction on Mobile Device ?
thank you
Create a transaction REST webservice response :
{
"id": "87f893ac-f63b-44e0-84cf-bd005251fd28",
"status": "new",
"finalized": false,
"request_ids": [],
"tenant_id": "salesdemo",
"brand_id": "sales",
"workflow_id": "00000000-0000-0000-0000-300000000007",
"language": "english",
"opaque_id": "WorkflowExternalMitAt",
"created": "2021-09-07T14:34:00.645Z",
"completed": "",
"status_changed": "2021-09-07T14:34:00.356Z",
"last_api_request": "2021-09-07T14:34:00.645Z",
"users": [ {
"groups": [],
"first_name": "Nabil",
"middle_name": "",
"last_name": "Feghali",
"title": "",
"role": "Customer",
"gender": "unspecified",
"phone_number": "+XXXX4567890",
"fields": [],
}],
"tokens": [ {
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiIsImtpZCI6IjI4NTliZDQwLTAyOTAtNGE3ZC1hOWZhLWQ5YjMxYmRiMGZiYyJ9.eyJyb2xlIjoiQ3VzdG9tZXIiLCJzY29wZSI6WyJzZXNzaW9uX2NyZWF0aW9uX2F1dGhvcml6YXRpb25fY29kZSJdLCJ0cmFuc2FjdGlvbl91dWlkIjoiODdmODkzYWMtZjYzYi00NGUwLTg0Y2YtYmQwMDUyNTFmZDI4IiwiY2xpZW50X2lkIjoiUGF0aF9Tb2x1dGlvbnMiLCJqdGkiOiIzYzZmMzczNi0wODQ3LTQwM2ItODc2ZS0wZjIyODliZDM1NjUiLCJpYXQiOjE2MzEwMjUyNDEsImV4cCI6MTYzMjMyMTI0MX0.do3xDUKb4xYA46yIMaW5vYCw3_JLxkynK7B9uD3naTmkwwbj2ugk53xw94i-13n-P199HeOicPL9dRpmoBzFvw",
"role": "Customer"
}],
"documents": [ {
"id": "Consent",
"version": 1,
"version_uuid": "d77918ca-d7cb-416f-91cd-766342b0c0f8",
"title": "Pre-contract Consent",
"description": "This document needs to be reviewed and approved",
"document_template_id": "babdf419-6144-4e01-b8fb-98c863c9a2b1",
"content": "sfs://dealflo_db/default/salesdemo/transactions/87f893ac-f63b-44e0-84cf-bd005251fd28/docs/Consent/1_d77918ca-d7cb-416f-91cd-766342b0c0f8",
"groups": [
"agreements",
"print_copy",
"default"
],
"pre_processing": [],
"sections": [],
"annotations": [],
"signatures": [ {
"id": "e488419d-62ce-4ffc-bcd4-62065867a7ed",
"status": "unsigned",
"role": "Customer",
"anchor_offset_x": 0,
"anchor_offset_y": 0,
"signature_block_text": "CLICK TO CONFIRM YOUR CONSENT",
"type": "acceptance",
"signer_location": "",
"signature_reason": ""
}],"watermark": {
"text": "Review Copy",
"font_name": "Helvetica",
"font_size": 12
},
"number_of_pages": 2,
"format": "unspecified"
}, {
"id": "DocumenTforsignature",
"version": 1,
"version_uuid": "d86113bf-b59d-4ea6-b347-888faac52b98",
"title": "Contract",
"description": "This document needs to be reviewed and signed",
"document_template_id": "babdf419-6144-4e01-b8fb-98c863c9a2b2",
"content": "sfs://dealflo_db/default/salesdemo/transactions/87f893ac-f63b-44e0-84cf-bd005251fd28/docs/DocumenTforsignature/1_d86113bf-b59d-4ea6-b347-888faac52b98",
"groups": [
"agreements",
"print_copy",
"default"
],
"pre_processing": [],
"sections": [],
"annotations": [],
"signatures": [ {
"id": "e488419d-62ce-4ffc-bcd4-62065867a7ef",
"status": "unsigned",
"role": "Customer",
"anchor_offset_x": 0,
"anchor_offset_y": 0,
"page_number": 2,
"x": 80,
"y": 425,
"x_percent": 13,
"y_percent": 52,
"width": 163,
"height": 58,
"percent_width": 0.251,
"percent_height": 0.082,
"signature_block_text": "Signed",
"type": "signature",
"signer_location": "",
"signature_reason": ""
}],"watermark": {
"text": "Review Copy",
"font_name": "Helvetica",
"font_size": 12
},
"number_of_pages": 2,
"format": "unspecified"
}, {
"id": "default_merged",
"version": 1,
"version_uuid": "a3f5f63a-7c11-46fe-a08c-50b6458ff502",
"title": "All documents for printing",
"description": "",
"document_template_id": "",
"content": "sfs://dealflo_db/default/salesdemo/transactions/87f893ac-f63b-44e0-84cf-bd005251fd28/docs/default_merged/1_a3f5f63a-7c11-46fe-a08c-50b6458ff502",
"groups": [
"generated_documents"
],
"pre_processing": [],
"sections": [],
"annotations": [],
"signatures": [],
"format": "pdf"
}],
"expiry_period": 90,
"expiry_timestamp": "2021-12-06T14:34:00.356Z",
"version": 1,
"configuration": {
"redirects": [],
}
}
Reply to: Verify transaction on Mobile Device - Page Cannot be Found
Tuesday, September 7, 2021 at 10:03amwe have uploaded OneSpanIdVerificationREST.txt containg json requests and responses
Reply to: Verify transaction on Mobile Device - Page Cannot be Found
Tuesday, September 7, 2021 at 10:12amHi Nabil,
This happens when you refresh on a transaction that has already been processed, or if you refresh on a page after landing on the page the first time. Can you try in a new browser on your mobile device, or better in a private browsing session?
-Will
Reply to: Verify transaction on Mobile Device - Page Cannot be Found
Tuesday, September 7, 2021 at 10:25amNabil,
Looking at your request, I think I see an issue in where you are sending the request. A change was just pushed out this morning to the environment, all of your requests should be sent to the https://gs.onespan.cloud/rpoc-saa/ domain, instead of the https://salesdemo-dealflo.uat.eu1.tid.onespan.cloud/. For your request send it to:
https://gs.onespan.cloud/rpoc-saa/sales/#/esign/0f42d17d-d215-468c-a047-662b85816807?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiIsImtpZCI6IjI4NTliZDQwLTAyOTAtNGE3ZC1hOWZhLWQ5YjMxYmRiMGZiYyJ9.eyJyb2xlIjoiQ3VzdG9tZXIiLCJzY29wZSI6WyJzZXNzaW9uX2NyZWF0aW9uX2F1dGhvcml6YXRpb25fY29kZSJdLCJ0cmFuc2FjdGlvbl91dWlkIjoiMGY0MmQxN2QtZDIxNS00NjhjLWEwNDctNjYyYjg1ODE2ODA3IiwiY2xpZW50X2lkIjoiUGF0aF9Tb2x1dGlvbnMiLCJqdGkiOiIzNDllZWNlNy1mNzlkLTRmMTktOGU5My01OTM2ZDQ4NjFhNTIiLCJpYXQiOjE2MzEwMjE1MDgsImV4cCI6MTYzMjMxNzUwOH0.JOhd23N_mtP695rdeqAeUs76TbjV7k0ZmZLDFvN5neJiuPd2t9vqixt6XJyKxkIU2A00X8etGIl552ocwmqDsw
-Will
Reply to: Hi Nabil, This happens when…
Tuesday, September 7, 2021 at 10:35amHi Will,
We still have the same error even if we clear all browser data (delete all cookies and all stored data) once we copy the URL in a browser tab we get the page not found
https://salesdemo-dealflo.uat.eu1.tid.onespan.cloud/sales/#/esign/0f42d17d-d215-468c-a047-662b85816807?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiIsImtpZCI6IjI4NTliZDQwLTAyOTAtNGE3ZC1hOWZhLWQ5YjMxYmRiMGZiYyJ9.eyJyb2xlIjoiQ3VzdG9tZXIiLCJzY29wZSI6WyJzZXNzaW9uX2NyZWF0aW9uX2F1dGhvcml6YXRpb25fY29kZSJdLCJ0cmFuc2FjdGlvbl91dWlkIjoiMGY0MmQxN2QtZDIxNS00NjhjLWEwNDctNjYyYjg1ODE2ODA3IiwiY2xpZW50X2lkIjoiUGF0aF9Tb2x1dGlvbnMiLCJqdGkiOiIzNDllZWNlNy1mNzlkLTRmMTktOGU5My01OTM2ZDQ4NjFhNTIiLCJpYXQiOjE2MzEwMjE1MDgsImV4cCI6MTYzMjMxNzUwOH0.JOhd23N_mtP695rdeqAeUs76TbjV7k0ZmZLDFvN5neJiuPd2t9vqixt6XJyKxkIU2A00X8etGIl552ocwmqDsw
then if we debug the network tab we notice that there is a 401 at the level of https://salesdemo-dealflo.uat.eu1.tid.onespan.cloud/api/transaction/0f42d17d-d215-468c-a047-662b85816807/session/ with following response {"error":"invalid_token","error_description":"Client with id Path_Solutions not supported"} returned .
we are wondering why the token is invalid noting that we have passed the same token value returned from the create transaction response.
thank you
Reply to: Verify transaction on Mobile Device - Page Cannot be Found
Tuesday, September 7, 2021 at 10:38amHi Nabil,
Sorry for the confusion, but we recently made a change (this morning during our recent release), please remove https://salesdemo-dealflo.uat.eu1.tid.onespan.cloud/ and replace it with https://gs.onespan.cloud/rpoc-saa/.
We are updating our documentation and emails to reflect this change. All of your requests should now go to the endpoint gs.onespan.cloud/rpoc-saa
-Will
Reply to: Verify transaction on Mobile Device - Page Cannot be Found
Wednesday, September 8, 2021 at 02:08amThank you Will, It's working now