01-02-2013 06:25 AM
I'm looping through my skus and I am then requesting each ones price. The problem is, only the last one in the loop comes back with a price.
Is there something wrong with my code? I've checked that the loop is running through correctly, below is the code the loop calls each time:
PriceReply *reply = paymentManager->requestPrice(id, sku); bool res = QObject::connect(reply, SIGNAL(finished()),SLOT(priceResponse())); Q_ASSERT(res); Q_UNUSED(res);
Solved! Go to Solution.
01-02-2013 09:47 AM
Are you making the calls asynchronously? The Payment Service only supports synchronous calls currently, so you would need to wait for the response from one request before making the next.
01-03-2013 06:56 AM