Hi,
I have succesfully tested my application on simulated mode having following lines in TEST_MODE.TXT:
[simulation]
default=simulated_ok
Purchase can be done without any errors. But so far I haven't been able to do any purchases using testserver mode, I cannot even get the product data. Here are the responses:
iap_client->getProductData("id");
->
[Qt Message] "SERVER => CLIENT MESSAGE: Message id: PRODATA, Request id: 4, Status: ConnectionError"
[Qt Message] Error in the productInformationresponse
iap_client->purchaseProduct(id, IAPClient::ForcedAutomaticRestoration);
->
[Qt Message] "SERVER => CLIENT MESSAGE: Message id: PURDONE, Request id: 5, Status: ServerCommunicationError"
[Qt Message] IAPClientImpl::socketReady(): Request 5 , status= "ServerCommunicationError" , purchaseTicket= ""
I have tried all the test mode settings without any luck. For example:
[testserver]
testMode=normal
Any ideas what I have done wrong? Do I need to somehow modify the purchase items at publisher page to be able to use the testserver mode?
Thanks in advance : )

Reply With Quote

