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", );