Hi,
I am developing an app that uses in-app purchase feature.
I have read the page
http://msdn.microsoft.com/en-us/library/windows/apps/hh924350.aspx and see the process payment is handled by Microsoft, I simply just create a thread and use the method CurrentAppSimulator::RequestProductPurchaseAsync.
Now I want the maximum time for payment process is 20s (I don't want my app wait too long). Out of that time, the result "Fail" will return.
Is there a way to do this? The method itself can do or I have to mark the starting time and count the period = current time - starting time, then cancel the thread?
Thanks.