dajeroab85 | 2024-08-06 23:53:16 UTC | #1
I am creating a data action to make payments on the PayNearMe platform using a secure IVR. If all the data is correct the Action returns me the data I need, but, if for some reason an error is generated I can't see it in Genesys. I tested using Postman creating a new payment and everything was fine and when I run it again it generates the following JSON
{ "status": null, "payment": null, "errors": null, "success": false, "msg": "The order has already been paid", "statusCode": 409 }
This result is what I need to see in Genesys but it returns the following.
Any suggestions would help me a lot.
Regards
Jason_Mathison | 2024-08-07 12:56:19 UTC | #2
Unfortunately detailed data action errors are not returned to call flows. You can vote for that idea here: https://genesyscloud.ideas.aha.io/ideas/INB-I-1498
If you need to solve this in the short term you could create a AWS Lambda / Google Function / Genesys Functions beta to make the call to PayNearMe in your own code, then always return a 200 response and indicate in the response body if the payment actually worked, or what error it returned.
--Jason
dajeroab85 | 2024-08-13 15:12:40 UTC | #3
Hello
Thank you very much for your reply. I will evaluate the feasibility and costs of doing this development externally with the suggestions you gave me.
Thanks for the advice
system | 2024-09-13 15:12:58 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 27721