Integration Id invalid for express checkout (Flutter)


#1

Hi, I am attempting to utilize the Express Checkout api on a Flutter mobile application. I successfully sent an http post with the key and hash details. I received an error message from the server “status=Error&error=Invalid+Id”. The id that I am using seems to be correct to me. I received it from 3rd Party Shopping Cart or Link page and it is outputting into the http post query correctly. This is part of my calling function for the post. Any idea on where the issue might be?

Thanks in advance.

http.Response response = await http.post( uri + "?" + "id=$id" + "&" "reference=$reference" + "&" + "amount=$amount" + "&" + "returnurl=$returnURL" + "&" + "resulturl=$resultURL" + "&" + "authemail=dkinnaird@carenetafrica.com" + "&" + "merchanttrace=$merchantTrace" + "&" + "status=$status" + "&" + "method=$method" + "&" + "phone=$recPhoneNum" + "&" + "hash=$hash", );


#2

hie were you successful with your code


#3

Hi, yes I was. I believe it was the order in which I was sending the arguments that had to be adjusted. If I remember correctly


#4

Hey bro , I am facing the same problem , can you please help on how you resolved the issue , if possible can you share me your WhatsApp number