Hi
I use Acccept hosted form Payment profile in our site and have integrated into our iframe. I use the communicator that send resize window response. We are using it to just get the Payment information and not doing any transaction. When ever there is a error message like "Page expired or duplicate payment exists" we need the communicator to respond so that we can customize the error message to more user understandable texts or to redirect to the page we needed it to go. Is there a way to get the rsponse using the communicator? We cannot use "transactresponse" as we are not using that profile.
Thanks
Schitti
โ03-26-2020 11:54 AM
Hello @schitti_123,
One way would be to parse the message code from the API response.
"messages": {
"resultCode": "Ok",
"message": [
{
"code": "I00001",
"text": "Successful."
}
Depending on the message code, you could display your own appropriate message or redirect to the appropriate page for correcting the error.
โ04-06-2021 03:39 AM - edited โ04-06-2021 03:41 AM