locked
How to check payment process out of time?

    Question

  • 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.

    Tuesday, June 12, 2012 2:57 AM

All replies

  • Hi nauhtnn,

    Can you let us know what programming language your using to build?  I believe this question may be best answered within another forum.

    Thanks-

    Tuesday, June 12, 2012 5:53 PM
  • Hi nauhtnn,

    Can you let us know what programming language your using to build?  I believe this question may be best answered within another forum.

    Thanks-

    I am using C++/CX and I can't find a thread (C++ or C#) about this subject. Please give me links if you find them.

    Thanks.

    Wednesday, June 13, 2012 2:37 AM